Interface CreateLoadBalancerPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLoadBalancerPolicyRequest.Builder,
,CreateLoadBalancerPolicyRequest> ElasticLoadBalancingRequest.Builder
,SdkBuilder<CreateLoadBalancerPolicyRequest.Builder,
,CreateLoadBalancerPolicyRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLoadBalancerPolicyRequest
public static interface CreateLoadBalancerPolicyRequest.Builder
extends ElasticLoadBalancingRequest.Builder, SdkPojo, CopyableBuilder<CreateLoadBalancerPolicyRequest.Builder,CreateLoadBalancerPolicyRequest>
-
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.policyAttributes
(Collection<PolicyAttribute> policyAttributes) The policy attributes.policyAttributes
(Consumer<PolicyAttribute.Builder>... policyAttributes) The policy attributes.policyAttributes
(PolicyAttribute... policyAttributes) The policy attributes.policyName
(String policyName) The name of the load balancer policy to be created.policyTypeName
(String policyTypeName) The name of the base policy type.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.
-
policyName
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
- Parameters:
policyName
- The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyTypeName
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
- Parameters:
policyTypeName
- The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyAttributes
CreateLoadBalancerPolicyRequest.Builder policyAttributes(Collection<PolicyAttribute> policyAttributes) The policy attributes.
- Parameters:
policyAttributes
- The policy attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyAttributes
The policy attributes.
- Parameters:
policyAttributes
- The policy attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyAttributes
CreateLoadBalancerPolicyRequest.Builder policyAttributes(Consumer<PolicyAttribute.Builder>... policyAttributes) The policy attributes.
This is a convenience method that creates an instance of thePolicyAttribute.Builder
avoiding the need to create one manually viaPolicyAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topolicyAttributes(List<PolicyAttribute>)
.- Parameters:
policyAttributes
- a consumer that will call methods onPolicyAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateLoadBalancerPolicyRequest.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
CreateLoadBalancerPolicyRequest.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.
-