Interface UpdateResourceConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateResourceConfigurationRequest.Builder,
,UpdateResourceConfigurationRequest> SdkBuilder<UpdateResourceConfigurationRequest.Builder,
,UpdateResourceConfigurationRequest> SdkPojo
,SdkRequest.Builder
,VpcLatticeRequest.Builder
- Enclosing class:
UpdateResourceConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionallowAssociationToShareableServiceNetwork
(Boolean allowAssociationToShareableServiceNetwork) Indicates whether to add the resource configuration to service networks that are shared with other accounts.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.portRanges
(String... portRanges) The TCP port ranges that a consumer can use to access a resource configuration.portRanges
(Collection<String> portRanges) The TCP port ranges that a consumer can use to access a resource configuration.resourceConfigurationDefinition
(Consumer<ResourceConfigurationDefinition.Builder> resourceConfigurationDefinition) Identifies the resource configuration in one of the following ways:resourceConfigurationDefinition
(ResourceConfigurationDefinition resourceConfigurationDefinition) Identifies the resource configuration in one of the following ways:resourceConfigurationIdentifier
(String resourceConfigurationIdentifier) The ID of the 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
-
resourceConfigurationIdentifier
UpdateResourceConfigurationRequest.Builder resourceConfigurationIdentifier(String resourceConfigurationIdentifier) The ID of the resource configuration.
- Parameters:
resourceConfigurationIdentifier
- The ID of the resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceConfigurationDefinition
UpdateResourceConfigurationRequest.Builder resourceConfigurationDefinition(ResourceConfigurationDefinition resourceConfigurationDefinition) Identifies the resource configuration in one of the following ways:
-
Amazon Resource Name (ARN) - Supported resource-types that are provisioned by Amazon Web Services services, such as RDS databases, can be identified by their ARN.
-
Domain name - Any domain name that is publicly resolvable.
-
IP address - For IPv4 and IPv6, only IP addresses in the VPC are supported.
- Parameters:
resourceConfigurationDefinition
- Identifies the resource configuration in one of the following ways:-
Amazon Resource Name (ARN) - Supported resource-types that are provisioned by Amazon Web Services services, such as RDS databases, can be identified by their ARN.
-
Domain name - Any domain name that is publicly resolvable.
-
IP address - For IPv4 and IPv6, only IP addresses in the VPC are supported.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
resourceConfigurationDefinition
default UpdateResourceConfigurationRequest.Builder resourceConfigurationDefinition(Consumer<ResourceConfigurationDefinition.Builder> resourceConfigurationDefinition) Identifies the resource configuration in one of the following ways:
-
Amazon Resource Name (ARN) - Supported resource-types that are provisioned by Amazon Web Services services, such as RDS databases, can be identified by their ARN.
-
Domain name - Any domain name that is publicly resolvable.
-
IP address - For IPv4 and IPv6, only IP addresses in the VPC are supported.
ResourceConfigurationDefinition.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:
-
-
portRanges
The TCP port ranges that a consumer can use to access a resource configuration. You can separate port ranges with a comma. Example: 1-65535 or 1,2,22-30
- Parameters:
portRanges
- The TCP port ranges that a consumer can use to access a resource configuration. You can separate port ranges with a comma. Example: 1-65535 or 1,2,22-30- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portRanges
The TCP port ranges that a consumer can use to access a resource configuration. You can separate port ranges with a comma. Example: 1-65535 or 1,2,22-30
- Parameters:
portRanges
- The TCP port ranges that a consumer can use to access a resource configuration. You can separate port ranges with a comma. Example: 1-65535 or 1,2,22-30- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateResourceConfigurationRequest.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
UpdateResourceConfigurationRequest.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.
-