Interface CreateConnectionGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudFrontRequest.Builder
,CopyableBuilder<CreateConnectionGroupRequest.Builder,
,CreateConnectionGroupRequest> SdkBuilder<CreateConnectionGroupRequest.Builder,
,CreateConnectionGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateConnectionGroupRequest
@Mutable
@NotThreadSafe
public static interface CreateConnectionGroupRequest.Builder
extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<CreateConnectionGroupRequest.Builder,CreateConnectionGroupRequest>
-
Method Summary
Modifier and TypeMethodDescriptionanycastIpListId
(String anycastIpListId) The ID of the Anycast static IP list.Enable the connection group.ipv6Enabled
(Boolean ipv6Enabled) Enable IPv6 for the connection group.The name of the connection group.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Consumer<Tags.Builder> tags) Sets the value of the Tags property for this object.Sets the value of the Tags property for this object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the connection group. Enter a friendly identifier that is unique within your Amazon Web Services account. This name can't be updated after you create the connection group.
- Parameters:
name
- The name of the connection group. Enter a friendly identifier that is unique within your Amazon Web Services account. This name can't be updated after you create the connection group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6Enabled
Enable IPv6 for the connection group. The default is
true
. For more information, see Enable IPv6 in the Amazon CloudFront Developer Guide.- Parameters:
ipv6Enabled
- Enable IPv6 for the connection group. The default istrue
. For more information, see Enable IPv6 in the Amazon CloudFront Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags
- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object. This is a convenience method that creates an instance of theTags.Builder
avoiding the need to create one manually viaTags.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(Tags)
.- Parameters:
tags
- a consumer that will call methods onTags.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
anycastIpListId
The ID of the Anycast static IP list.
- Parameters:
anycastIpListId
- The ID of the Anycast static IP list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
Enable the connection group.
- Parameters:
enabled
- Enable the connection group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateConnectionGroupRequest.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
CreateConnectionGroupRequest.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.
-