public class CreateLoadBalancerPolicyRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
loadBalancerName
The name of the load balancer.
|
private SdkInternalList<PolicyAttribute> |
policyAttributes
The attributes for the policy.
|
private java.lang.String |
policyName
The name of the load balancer policy to be created.
|
private java.lang.String |
policyTypeName
The name of the base policy type.
|
NOOP
Constructor and Description |
---|
CreateLoadBalancerPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
CreateLoadBalancerPolicyRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLoadBalancerName()
The name of the load balancer.
|
java.util.List<PolicyAttribute> |
getPolicyAttributes()
The attributes for the policy.
|
java.lang.String |
getPolicyName()
The name of the load balancer policy to be created.
|
java.lang.String |
getPolicyTypeName()
The name of the base policy type.
|
int |
hashCode() |
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
void |
setPolicyAttributes(java.util.Collection<PolicyAttribute> policyAttributes)
The attributes for the policy.
|
void |
setPolicyName(java.lang.String policyName)
The name of the load balancer policy to be created.
|
void |
setPolicyTypeName(java.lang.String policyTypeName)
The name of the base policy type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateLoadBalancerPolicyRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
CreateLoadBalancerPolicyRequest |
withPolicyAttributes(java.util.Collection<PolicyAttribute> policyAttributes)
The attributes for the policy.
|
CreateLoadBalancerPolicyRequest |
withPolicyAttributes(PolicyAttribute... policyAttributes)
The attributes for the policy.
|
CreateLoadBalancerPolicyRequest |
withPolicyName(java.lang.String policyName)
The name of the load balancer policy to be created.
|
CreateLoadBalancerPolicyRequest |
withPolicyTypeName(java.lang.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
private java.lang.String loadBalancerName
The name of the load balancer.
private java.lang.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.
private java.lang.String policyTypeName
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
private SdkInternalList<PolicyAttribute> policyAttributes
The attributes for the policy.
public void setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public java.lang.String getLoadBalancerName()
The name of the load balancer.
public CreateLoadBalancerPolicyRequest withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public void setPolicyName(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String getPolicyTypeName()
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
public CreateLoadBalancerPolicyRequest withPolicyTypeName(java.lang.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 java.util.List<PolicyAttribute> getPolicyAttributes()
The attributes for the policy.
public void setPolicyAttributes(java.util.Collection<PolicyAttribute> policyAttributes)
The attributes for the policy.
policyAttributes
- The attributes for the policy.public CreateLoadBalancerPolicyRequest withPolicyAttributes(PolicyAttribute... policyAttributes)
The attributes for the policy.
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 attributes for the policy.public CreateLoadBalancerPolicyRequest withPolicyAttributes(java.util.Collection<PolicyAttribute> policyAttributes)
The attributes for the policy.
policyAttributes
- The attributes for the policy.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateLoadBalancerPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()