Interface CreateResourceConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateResourceConfigurationResponse.Builder,
,CreateResourceConfigurationResponse> SdkBuilder<CreateResourceConfigurationResponse.Builder,
,CreateResourceConfigurationResponse> SdkPojo
,SdkResponse.Builder
,VpcLatticeResponse.Builder
- Enclosing class:
CreateResourceConfigurationResponse
-
Method Summary
Modifier and TypeMethodDescriptionallowAssociationToShareableServiceNetwork
(Boolean allowAssociationToShareableServiceNetwork) Specifies whether the resource configuration can be associated with a sharable service network.The Amazon Resource Name (ARN) of the resource configuration.The date and time that the resource configuration was created, in ISO-8601 format.failureReason
(String failureReason) The reason that the request failed.The ID of the resource configuration.The name of the resource configuration.portRanges
(String... portRanges) The port range.portRanges
(Collection<String> portRanges) The port range.The protocol.protocol
(ProtocolType protocol) The protocol.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:resourceConfigurationGroupId
(String resourceConfigurationGroupId) The ID of the parent resource configuration of typeGROUP
.resourceGatewayId
(String resourceGatewayId) The ID of the resource gateway associated with the resource configuration.The current status of the resource configuration.status
(ResourceConfigurationStatus status) The current status of the resource configuration.The type of resource configuration.The type of resource configuration.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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
id
The ID of the resource configuration.
- Parameters:
id
- The ID of the resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the resource configuration.
- Parameters:
name
- The name of the resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the resource configuration.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceGatewayId
The ID of the resource gateway associated with the resource configuration.
- Parameters:
resourceGatewayId
- The ID of the resource gateway associated with the resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceConfigurationGroupId
CreateResourceConfigurationResponse.Builder resourceConfigurationGroupId(String resourceConfigurationGroupId) The ID of the parent resource configuration of type
GROUP
.- Parameters:
resourceConfigurationGroupId
- The ID of the parent resource configuration of typeGROUP
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of resource configuration. A resource configuration can be one of the following types:
-
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. A resource configuration can be one of the following types:-
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. A resource configuration can be one of the following types:
-
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. A resource configuration can be one of the following types:-
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:
-
-
portRanges
The port range.
- Parameters:
portRanges
- The port range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portRanges
The port range.
- Parameters:
portRanges
- The port range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The protocol.
- Parameters:
protocol
- The protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The protocol.
- Parameters:
protocol
- The protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the resource configuration.
- Parameters:
status
- The current status of the resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the resource configuration.
- Parameters:
status
- The current status of the resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceConfigurationDefinition
CreateResourceConfigurationResponse.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 CreateResourceConfigurationResponse.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:
-
-
createdAt
The date and time that the resource configuration was created, in ISO-8601 format.
- Parameters:
createdAt
- The date and time that the resource configuration was created, in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
The reason that the request failed.
- Parameters:
failureReason
- The reason that the request failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-