Interface SetLoadBalancerPoliciesForBackendServerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SetLoadBalancerPoliciesForBackendServerRequest.Builder,,SetLoadBalancerPoliciesForBackendServerRequest> ElasticLoadBalancingRequest.Builder,SdkBuilder<SetLoadBalancerPoliciesForBackendServerRequest.Builder,,SetLoadBalancerPoliciesForBackendServerRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SetLoadBalancerPoliciesForBackendServerRequest
public static interface SetLoadBalancerPoliciesForBackendServerRequest.Builder
extends ElasticLoadBalancingRequest.Builder, SdkPojo, CopyableBuilder<SetLoadBalancerPoliciesForBackendServerRequest.Builder,SetLoadBalancerPoliciesForBackendServerRequest>
-
Method Summary
Modifier and TypeMethodDescriptioninstancePort(Integer instancePort) The port number associated with the EC2 instance.loadBalancerName(String loadBalancerName) The name of the load balancer.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyNames(String... policyNames) The names of the policies.policyNames(Collection<String> policyNames) The names of the policies.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticloadbalancing.model.ElasticLoadBalancingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
loadBalancerName
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.
-
instancePort
The port number associated with the EC2 instance.
- Parameters:
instancePort- The port number associated with the EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyNames
The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance.
- Parameters:
policyNames- The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyNames
The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance.
- Parameters:
policyNames- The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SetLoadBalancerPoliciesForBackendServerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SetLoadBalancerPoliciesForBackendServerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-