Interface CreateResourceConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateResourceConfigurationRequest.Builder,
,CreateResourceConfigurationRequest> SdkBuilder<CreateResourceConfigurationRequest.Builder,
,CreateResourceConfigurationRequest> SdkPojo
,SdkRequest.Builder
,VpcLatticeRequest.Builder
- Enclosing class:
CreateResourceConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionallowAssociationToShareableServiceNetwork
(Boolean allowAssociationToShareableServiceNetwork) (SINGLE, GROUP, ARN) Specifies whether the resource configuration can be associated with a sharable service network.clientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.The name of the resource configuration.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.portRanges
(String... portRanges) (SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to access a resource configuration (for example: 1-65535).portRanges
(Collection<String> portRanges) (SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to access a resource configuration (for example: 1-65535).(SINGLE, GROUP) The protocol accepted by the resource configuration.protocol
(ProtocolType protocol) (SINGLE, GROUP) The protocol accepted by the resource configuration.resourceConfigurationDefinition
(Consumer<ResourceConfigurationDefinition.Builder> resourceConfigurationDefinition) (SINGLE, CHILD, ARN) The resource configuration.resourceConfigurationDefinition
(ResourceConfigurationDefinition resourceConfigurationDefinition) (SINGLE, CHILD, ARN) The resource configuration.resourceConfigurationGroupIdentifier
(String resourceConfigurationGroupIdentifier) (CHILD) The ID or ARN of the parent resource configuration (type isGROUP
).resourceGatewayIdentifier
(String resourceGatewayIdentifier) (SINGLE, GROUP, ARN) The ID or ARN of the resource gateway used to connect to the resource configuration.The tags for the resource configuration.The type of resource configuration.The type of resource configuration.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeRequest.Builder
build
-
Method Details
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
- Parameters:
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the resource configuration. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
- Parameters:
name
- The name of the resource configuration. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portRanges
(SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to access a resource configuration (for example: 1-65535). You can separate port ranges using commas (for example: 1,2,22-30).
- Parameters:
portRanges
- (SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to access a resource configuration (for example: 1-65535). You can separate port ranges using commas (for example: 1,2,22-30).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portRanges
(SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to access a resource configuration (for example: 1-65535). You can separate port ranges using commas (for example: 1,2,22-30).
- Parameters:
portRanges
- (SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to access a resource configuration (for example: 1-65535). You can separate port ranges using commas (for example: 1,2,22-30).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
(SINGLE, GROUP) The protocol accepted by the resource configuration.
- Parameters:
protocol
- (SINGLE, GROUP) The protocol accepted by the resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
(SINGLE, GROUP) The protocol accepted by the resource configuration.
- Parameters:
protocol
- (SINGLE, GROUP) The protocol accepted by the resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceConfigurationDefinition
CreateResourceConfigurationRequest.Builder resourceConfigurationDefinition(ResourceConfigurationDefinition resourceConfigurationDefinition) (SINGLE, CHILD, ARN) The resource configuration.
- Parameters:
resourceConfigurationDefinition
- (SINGLE, CHILD, ARN) The resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceConfigurationDefinition
default CreateResourceConfigurationRequest.Builder resourceConfigurationDefinition(Consumer<ResourceConfigurationDefinition.Builder> resourceConfigurationDefinition) (SINGLE, CHILD, ARN) The resource configuration.
This is a convenience method that creates an instance of theResourceConfigurationDefinition.Builder
avoiding the need to create one manually viaResourceConfigurationDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceConfigurationDefinition(ResourceConfigurationDefinition)
.- Parameters:
resourceConfigurationDefinition
- a consumer that will call methods onResourceConfigurationDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceConfigurationGroupIdentifier
CreateResourceConfigurationRequest.Builder resourceConfigurationGroupIdentifier(String resourceConfigurationGroupIdentifier) (CHILD) The ID or ARN of the parent resource configuration (type is
GROUP
). This is used to associate a child resource configuration with a group resource configuration.- Parameters:
resourceConfigurationGroupIdentifier
- (CHILD) The ID or ARN of the parent resource configuration (type isGROUP
). This is used to associate a child resource configuration with a group resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceGatewayIdentifier
CreateResourceConfigurationRequest.Builder resourceGatewayIdentifier(String resourceGatewayIdentifier) (SINGLE, GROUP, ARN) The ID or ARN of the resource gateway used to connect to the resource configuration. For a child resource configuration, this value is inherited from the parent resource configuration.
- Parameters:
resourceGatewayIdentifier
- (SINGLE, GROUP, ARN) The ID or ARN of the resource gateway used to connect to the resource configuration. For a child resource configuration, this value is inherited from the parent resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the resource configuration.
- Parameters:
tags
- The tags for the resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of resource configuration.
-
SINGLE
- A single resource. -
GROUP
- A group of resources. You must create a group resource configuration before you create a child resource configuration. -
CHILD
- A single resource that is part of a group resource configuration. -
ARN
- An Amazon Web Services resource.
- Parameters:
type
- The type of resource configuration.-
SINGLE
- A single resource. -
GROUP
- A group of resources. You must create a group resource configuration before you create a child resource configuration. -
CHILD
- A single resource that is part of a group resource configuration. -
ARN
- An Amazon Web Services resource.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
The type of resource configuration.
-
SINGLE
- A single resource. -
GROUP
- A group of resources. You must create a group resource configuration before you create a child resource configuration. -
CHILD
- A single resource that is part of a group resource configuration. -
ARN
- An Amazon Web Services resource.
- Parameters:
type
- The type of resource configuration.-
SINGLE
- A single resource. -
GROUP
- A group of resources. You must create a group resource configuration before you create a child resource configuration. -
CHILD
- A single resource that is part of a group resource configuration. -
ARN
- An Amazon Web Services resource.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
CreateResourceConfigurationRequest.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
CreateResourceConfigurationRequest.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.