Interface ApplySecurityGroupsToLoadBalancerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ApplySecurityGroupsToLoadBalancerRequest.Builder,
,ApplySecurityGroupsToLoadBalancerRequest> ElasticLoadBalancingRequest.Builder
,SdkBuilder<ApplySecurityGroupsToLoadBalancerRequest.Builder,
,ApplySecurityGroupsToLoadBalancerRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ApplySecurityGroupsToLoadBalancerRequest
public static interface ApplySecurityGroupsToLoadBalancerRequest.Builder
extends ElasticLoadBalancingRequest.Builder, SdkPojo, CopyableBuilder<ApplySecurityGroupsToLoadBalancerRequest.Builder,ApplySecurityGroupsToLoadBalancerRequest>
-
Method Summary
Modifier and TypeMethodDescriptionloadBalancerName
(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.securityGroups
(String... securityGroups) The IDs of the security groups to associate with the load balancer.securityGroups
(Collection<String> securityGroups) The IDs of the security groups to associate with the load balancer.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.
-
securityGroups
The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.
- Parameters:
securityGroups
- The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.
- Parameters:
securityGroups
- The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ApplySecurityGroupsToLoadBalancerRequest.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
ApplySecurityGroupsToLoadBalancerRequest.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.
-