public class CreateLoadBalancerPolicyRequest extends AmazonWebServiceRequest implements java.io.Serializable
CreateLoadBalancerPolicy operation.
Creates a new policy that contains the necessary attributes depending on the policy type. Policies are settings that are saved for your Elastic LoadBalancer and that can be applied to the front-end listener, or the back-end application server, depending on your policy type.
| コンストラクタと説明 |
|---|
CreateLoadBalancerPolicyRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLoadBalancerName()
The name associated with the LoadBalancer for which the policy is
being created.
|
java.util.List<PolicyAttribute> |
getPolicyAttributes()
A list of attributes associated with the policy being created.
|
java.lang.String |
getPolicyName()
The name of the LoadBalancer policy being created.
|
java.lang.String |
getPolicyTypeName()
The name of the base policy type being used to create this policy.
|
int |
hashCode() |
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name associated with the LoadBalancer for which the policy is
being created.
|
void |
setPolicyAttributes(java.util.Collection<PolicyAttribute> policyAttributes)
A list of attributes associated with the policy being created.
|
void |
setPolicyName(java.lang.String policyName)
The name of the LoadBalancer policy being created.
|
void |
setPolicyTypeName(java.lang.String policyTypeName)
The name of the base policy type being used to create this policy.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateLoadBalancerPolicyRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The name associated with the LoadBalancer for which the policy is
being created.
|
CreateLoadBalancerPolicyRequest |
withPolicyAttributes(java.util.Collection<PolicyAttribute> policyAttributes)
A list of attributes associated with the policy being created.
|
CreateLoadBalancerPolicyRequest |
withPolicyAttributes(PolicyAttribute... policyAttributes)
A list of attributes associated with the policy being created.
|
CreateLoadBalancerPolicyRequest |
withPolicyName(java.lang.String policyName)
The name of the LoadBalancer policy being created.
|
CreateLoadBalancerPolicyRequest |
withPolicyTypeName(java.lang.String policyTypeName)
The name of the base policy type being used to create this policy.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getLoadBalancerName()
public void setLoadBalancerName(java.lang.String loadBalancerName)
loadBalancerName - The name associated with the LoadBalancer for which the policy is
being created. This name must be unique within the client AWS account.public CreateLoadBalancerPolicyRequest withLoadBalancerName(java.lang.String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName - The name associated with the LoadBalancer for which the policy is
being created. This name must be unique within the client AWS account.public java.lang.String getPolicyName()
public void setPolicyName(java.lang.String policyName)
policyName - The name of the LoadBalancer policy being created. The name must be
unique within the set of policies for this LoadBalancer.public CreateLoadBalancerPolicyRequest withPolicyName(java.lang.String policyName)
Returns a reference to this object so that method calls can be chained together.
policyName - The name of the LoadBalancer policy being created. The name must be
unique within the set of policies for this LoadBalancer.public java.lang.String getPolicyTypeName()
public void setPolicyTypeName(java.lang.String policyTypeName)
policyTypeName - The name of the base policy type being used to create this policy. To
get the list of policy types, use the
DescribeLoadBalancerPolicyTypes action.public CreateLoadBalancerPolicyRequest withPolicyTypeName(java.lang.String policyTypeName)
Returns a reference to this object so that method calls can be chained together.
policyTypeName - The name of the base policy type being used to create this policy. To
get the list of policy types, use the
DescribeLoadBalancerPolicyTypes action.public java.util.List<PolicyAttribute> getPolicyAttributes()
public void setPolicyAttributes(java.util.Collection<PolicyAttribute> policyAttributes)
policyAttributes - A list of attributes associated with the policy being created.public CreateLoadBalancerPolicyRequest withPolicyAttributes(PolicyAttribute... policyAttributes)
Returns a reference to this object so that method calls can be chained together.
policyAttributes - A list of attributes associated with the policy being created.public CreateLoadBalancerPolicyRequest withPolicyAttributes(java.util.Collection<PolicyAttribute> policyAttributes)
Returns a reference to this object so that method calls can be chained together.
policyAttributes - A list of attributes associated with the policy being created.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object