public class CreateLoadBalancerPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for CreateLoadBalancerPolicy.
NOOP
Constructor and Description |
---|
CreateLoadBalancerPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
CreateLoadBalancerPolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getLoadBalancerName()
The name of the load balancer.
|
List<PolicyAttribute> |
getPolicyAttributes()
The policy attributes.
|
String |
getPolicyName()
The name of the load balancer policy to be created.
|
String |
getPolicyTypeName()
The name of the base policy type.
|
int |
hashCode() |
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
void |
setPolicyAttributes(Collection<PolicyAttribute> policyAttributes)
The policy attributes.
|
void |
setPolicyName(String policyName)
The name of the load balancer policy to be created.
|
void |
setPolicyTypeName(String policyTypeName)
The name of the base policy type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateLoadBalancerPolicyRequest |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
CreateLoadBalancerPolicyRequest |
withPolicyAttributes(Collection<PolicyAttribute> policyAttributes)
The policy attributes.
|
CreateLoadBalancerPolicyRequest |
withPolicyAttributes(PolicyAttribute... policyAttributes)
The policy attributes.
|
CreateLoadBalancerPolicyRequest |
withPolicyName(String policyName)
The name of the load balancer policy to be created.
|
CreateLoadBalancerPolicyRequest |
withPolicyTypeName(String policyTypeName)
The name of the base policy type.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public String getLoadBalancerName()
The name of the load balancer.
public CreateLoadBalancerPolicyRequest withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public void setPolicyName(String policyName)
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
policyName
- The name of the load balancer policy to be created. This name must
be unique within the set of policies for this load balancer.public String getPolicyName()
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
public CreateLoadBalancerPolicyRequest withPolicyName(String policyName)
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
policyName
- The name of the load balancer policy to be created. This name must
be unique within the set of policies for this load balancer.public void setPolicyTypeName(String policyTypeName)
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
policyTypeName
- The name of the base policy type. To get the list of policy types,
use DescribeLoadBalancerPolicyTypes.public String getPolicyTypeName()
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
public CreateLoadBalancerPolicyRequest withPolicyTypeName(String policyTypeName)
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
policyTypeName
- The name of the base policy type. To get the list of policy types,
use DescribeLoadBalancerPolicyTypes.public List<PolicyAttribute> getPolicyAttributes()
The policy attributes.
public void setPolicyAttributes(Collection<PolicyAttribute> policyAttributes)
The policy attributes.
policyAttributes
- The policy attributes.public CreateLoadBalancerPolicyRequest withPolicyAttributes(PolicyAttribute... policyAttributes)
The policy attributes.
NOTE: This method appends the values to the existing list (if
any). Use setPolicyAttributes(java.util.Collection)
or
withPolicyAttributes(java.util.Collection)
if you want to
override the existing values.
policyAttributes
- The policy attributes.public CreateLoadBalancerPolicyRequest withPolicyAttributes(Collection<PolicyAttribute> policyAttributes)
The policy attributes.
policyAttributes
- The policy attributes.public String toString()
toString
in class Object
Object.toString()
public CreateLoadBalancerPolicyRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.