CopyableBuilder<SetLoadBalancerPoliciesForBackendServerRequest.Builder,SetLoadBalancerPoliciesForBackendServerRequest>
, SdkBuilder<SetLoadBalancerPoliciesForBackendServerRequest.Builder,SetLoadBalancerPoliciesForBackendServerRequest>
public static interface SetLoadBalancerPoliciesForBackendServerRequest.Builder extends CopyableBuilder<SetLoadBalancerPoliciesForBackendServerRequest.Builder,SetLoadBalancerPoliciesForBackendServerRequest>
Modifier and Type | Method | Description |
---|---|---|
SetLoadBalancerPoliciesForBackendServerRequest.Builder |
instancePort(Integer instancePort) |
The port number associated with the EC2 instance.
|
SetLoadBalancerPoliciesForBackendServerRequest.Builder |
loadBalancerName(String loadBalancerName) |
The name of the load balancer.
|
SetLoadBalancerPoliciesForBackendServerRequest.Builder |
policyNames(String... policyNames) |
The names of the policies.
|
SetLoadBalancerPoliciesForBackendServerRequest.Builder |
policyNames(Collection<String> policyNames) |
The names of the policies.
|
copy
apply, build
SetLoadBalancerPoliciesForBackendServerRequest.Builder loadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.SetLoadBalancerPoliciesForBackendServerRequest.Builder instancePort(Integer instancePort)
The port number associated with the EC2 instance.
instancePort
- The port number associated with the EC2 instance.SetLoadBalancerPoliciesForBackendServerRequest.Builder policyNames(Collection<String> policyNames)
The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance.
policyNames
- The names of the policies. If the list is empty, then all current polices are removed from the EC2
instance.SetLoadBalancerPoliciesForBackendServerRequest.Builder policyNames(String... policyNames)
The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance.
NOTE: This method appends the values to the existing list (if any). Use
#setPolicyNames(java.util.Collection)
or #withPolicyNames(java.util.Collection)
if you want
to override the existing values.
policyNames
- The names of the policies. If the list is empty, then all current polices are removed from the EC2
instance.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.