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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticloadbalancing.model.ElasticLoadBalancingRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-