public static interface CreateLoadBalancerPolicyRequest.Builder extends ElasticLoadBalancingRequest.Builder, CopyableBuilder<CreateLoadBalancerPolicyRequest.Builder,CreateLoadBalancerPolicyRequest>
build
overrideConfiguration
copy
applyMutation, build
CreateLoadBalancerPolicyRequest.Builder loadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.CreateLoadBalancerPolicyRequest.Builder policyName(String 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.
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.CreateLoadBalancerPolicyRequest.Builder policyTypeName(String policyTypeName)
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
policyTypeName
- The name of the base policy type. To get the list of policy types, use
DescribeLoadBalancerPolicyTypes.CreateLoadBalancerPolicyRequest.Builder policyAttributes(Collection<PolicyAttribute> policyAttributes)
The policy attributes.
policyAttributes
- The policy attributes.CreateLoadBalancerPolicyRequest.Builder policyAttributes(PolicyAttribute... policyAttributes)
The policy attributes.
policyAttributes
- The policy attributes.CreateLoadBalancerPolicyRequest.Builder policyAttributes(Consumer<PolicyAttribute.Builder>... policyAttributes)
The policy attributes.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #policyAttributes(List)
.policyAttributes
- a consumer that will call methods on List.Builder
#policyAttributes(List)
CreateLoadBalancerPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateLoadBalancerPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.