Class CreateLoadBalancerPolicyRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe name of the load balancer.The attributes for the policy.The name of the load balancer policy to be created.The name of the base policy type.inthashCode()voidsetLoadBalancerName(String loadBalancerName) The name of the load balancer.voidsetPolicyAttributes(Collection<PolicyAttribute> policyAttributes) The attributes for the policy.voidsetPolicyName(String policyName) The name of the load balancer policy to be created.voidsetPolicyTypeName(String policyTypeName) The name of the base policy type.toString()Returns a string representation of this object; useful for testing and debugging.withLoadBalancerName(String loadBalancerName) The name of the load balancer.withPolicyAttributes(PolicyAttribute... policyAttributes) The attributes for the policy.withPolicyAttributes(Collection<PolicyAttribute> policyAttributes) The attributes for the policy.withPolicyName(String policyName) The name of the load balancer policy to be created.withPolicyTypeName(String policyTypeName) The name of the base policy type.Methods inherited from class AmazonWebServiceRequest
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
-
Constructor Details
-
CreateLoadBalancerPolicyRequest
public CreateLoadBalancerPolicyRequest()
-
-
Method Details
-
setLoadBalancerName
The name of the load balancer.
- Parameters:
loadBalancerName- The name of the load balancer.
-
getLoadBalancerName
The name of the load balancer.
- Returns:
- The name of the load balancer.
-
withLoadBalancerName
The name of the load balancer.
- Parameters:
loadBalancerName- The name of the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPolicyName
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
- Parameters:
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.
-
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.
- Returns:
- The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
-
withPolicyName
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPolicyTypeName
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
- Parameters:
policyTypeName- The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
-
getPolicyTypeName
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
- Returns:
- The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
-
withPolicyTypeName
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
- Parameters:
policyTypeName- The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getPolicyAttributes
The attributes for the policy.
- Returns:
- The attributes for the policy.
-
setPolicyAttributes
The attributes for the policy.
- Parameters:
policyAttributes- The attributes for the policy.
-
withPolicyAttributes
The attributes for the policy.
NOTE: This method appends the values to the existing list (if any). Use
setPolicyAttributes(java.util.Collection)orwithPolicyAttributes(java.util.Collection)if you want to override the existing values.- Parameters:
policyAttributes- The attributes for the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPolicyAttributes
public CreateLoadBalancerPolicyRequest withPolicyAttributes(Collection<PolicyAttribute> policyAttributes) The attributes for the policy.
- Parameters:
policyAttributes- The attributes for the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-