Class CreateLoadBalancerPolicyRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The 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.int
hashCode()
void
setLoadBalancerName
(String loadBalancerName) The name of the load balancer.void
setPolicyAttributes
(Collection<PolicyAttribute> policyAttributes) The attributes for the policy.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.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 com.amazonaws.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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-