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.customDomainName(String customDomainName) A custom domain name for your resource configuration.domainVerificationIdentifier(String domainVerificationIdentifier) The domain verification ID of your verified custom domain name.groupDomain(String groupDomain) (GROUP) The group domain for a group resource configuration.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, CIDR) The port ranges that a consumer can use to access a resource configuration (for example: 1-65535).portRanges(Collection<String> portRanges) (SINGLE, GROUP, CHILD, CIDR) The port ranges that a consumer can use to access a resource configuration (for example: 1-65535).(SINGLE, GROUP, CIDR) The protocol accepted by the resource configuration.protocol(ProtocolType protocol) (SINGLE, GROUP, CIDR) The protocol accepted by the 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:resourceConfigurationGroupIdentifier(String resourceConfigurationGroupIdentifier) (CHILD) The ID or ARN of the parent resource configuration of typeGROUP.resourceGatewayIdentifier(String resourceGatewayIdentifier) (SINGLE, GROUP, ARN, CIDR) 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeRequest.Builder
build
-
Method Details
-
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.
-
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.
-
CIDR - A network segment, expressed as a range of IP addresses (a CIDR block). Use this type to share a portion of your network rather than an individual resource. A consumer accesses the resources within the CIDR range through a
TunnelVPC endpoint. You can't add a CIDR resource configuration to a service network. A CIDR resource configuration must be associated with a resource gateway whose DNS resolution is set toIN_VPC.
- 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.
-
CIDR - A network segment, expressed as a range of IP addresses (a CIDR block). Use this type to share a portion of your network rather than an individual resource. A consumer accesses the resources within the CIDR range through a
TunnelVPC endpoint. You can't add a CIDR resource configuration to a service network. A CIDR resource configuration must be associated with a resource gateway whose DNS resolution is set toIN_VPC.
-
- 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.
-
CIDR - A network segment, expressed as a range of IP addresses (a CIDR block). Use this type to share a portion of your network rather than an individual resource. A consumer accesses the resources within the CIDR range through a
TunnelVPC endpoint. You can't add a CIDR resource configuration to a service network. A CIDR resource configuration must be associated with a resource gateway whose DNS resolution is set toIN_VPC.
- 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.
-
CIDR - A network segment, expressed as a range of IP addresses (a CIDR block). Use this type to share a portion of your network rather than an individual resource. A consumer accesses the resources within the CIDR range through a
TunnelVPC endpoint. You can't add a CIDR resource configuration to a service network. A CIDR resource configuration must be associated with a resource gateway whose DNS resolution is set toIN_VPC.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
portRanges
(SINGLE, GROUP, CHILD, CIDR) The 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). To resolve DNS through a CIDR resource configuration, include port 53 in the port ranges.
- Parameters:
portRanges- (SINGLE, GROUP, CHILD, CIDR) The 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). To resolve DNS through a CIDR resource configuration, include port 53 in the port ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portRanges
(SINGLE, GROUP, CHILD, CIDR) The 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). To resolve DNS through a CIDR resource configuration, include port 53 in the port ranges.
- Parameters:
portRanges- (SINGLE, GROUP, CHILD, CIDR) The 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). To resolve DNS through a CIDR resource configuration, include port 53 in the port ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
(SINGLE, GROUP, CIDR) The protocol accepted by the resource configuration. The default is
TCP.TCP_UDPis supported only for CIDR resource configurations; specify it for a CIDR resource configuration to allow DNS resolution, which uses UDP.- Parameters:
protocol- (SINGLE, GROUP, CIDR) The protocol accepted by the resource configuration. The default isTCP.TCP_UDPis supported only for CIDR resource configurations; specify it for a CIDR resource configuration to allow DNS resolution, which uses UDP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
(SINGLE, GROUP, CIDR) The protocol accepted by the resource configuration. The default is
TCP.TCP_UDPis supported only for CIDR resource configurations; specify it for a CIDR resource configuration to allow DNS resolution, which uses UDP.- Parameters:
protocol- (SINGLE, GROUP, CIDR) The protocol accepted by the resource configuration. The default isTCP.TCP_UDPis supported only for CIDR resource configurations; specify it for a CIDR resource configuration to allow DNS resolution, which uses UDP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceGatewayIdentifier
CreateResourceConfigurationRequest.Builder resourceGatewayIdentifier(String resourceGatewayIdentifier) (SINGLE, GROUP, ARN, CIDR) 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. For a CIDR resource configuration, the associated resource gateway must have its DNS resolution set to
IN_VPCso that DNS queries resolve in the context of your VPC.- Parameters:
resourceGatewayIdentifier- (SINGLE, GROUP, ARN, CIDR) 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. For a CIDR resource configuration, the associated resource gateway must have its DNS resolution set toIN_VPCso that DNS queries resolve in the context of your VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceConfigurationGroupIdentifier
CreateResourceConfigurationRequest.Builder resourceConfigurationGroupIdentifier(String resourceConfigurationGroupIdentifier) (CHILD) The ID or ARN of the parent resource configuration of type
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 of typeGROUP. 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.
-
resourceConfigurationDefinition
CreateResourceConfigurationRequest.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.
-
CIDR range - For a resource configuration of type CIDR, specify a
cidrResourcewith one or morecidrRanges(for example,10.0.0.0/16) that cover the IP addresses of the resources you want to make accessible. You can specify up to 10 ranges, using IPv4, IPv6, or both, and each range must include a prefix length. To represent your entire network, specify0.0.0.0/0(IPv4) or::/0(IPv6) as the only range. You can't use reserved ranges such as169.254.0.0/16,100.64.0.0/10,224.0.0.0/4,fe80::/10, orff00::/8.
- 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.
-
CIDR range - For a resource configuration of type CIDR, specify a
cidrResourcewith one or morecidrRanges(for example,10.0.0.0/16) that cover the IP addresses of the resources you want to make accessible. You can specify up to 10 ranges, using IPv4, IPv6, or both, and each range must include a prefix length. To represent your entire network, specify0.0.0.0/0(IPv4) or::/0(IPv6) as the only range. You can't use reserved ranges such as169.254.0.0/16,100.64.0.0/10,224.0.0.0/4,fe80::/10, orff00::/8.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
resourceConfigurationDefinition
default CreateResourceConfigurationRequest.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.
-
CIDR range - For a resource configuration of type CIDR, specify a
cidrResourcewith one or morecidrRanges(for example,10.0.0.0/16) that cover the IP addresses of the resources you want to make accessible. You can specify up to 10 ranges, using IPv4, IPv6, or both, and each range must include a prefix length. To represent your entire network, specify0.0.0.0/0(IPv4) or::/0(IPv6) as the only range. You can't use reserved ranges such as169.254.0.0/16,100.64.0.0/10,224.0.0.0/4,fe80::/10, orff00::/8.
ResourceConfigurationDefinition.Builderavoiding the need to create one manually viaResourceConfigurationDefinition.builder().When the
Consumercompletes,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:
-
-
customDomainName
A custom domain name for your resource configuration. Additionally, provide a DomainVerificationID to prove your ownership of a domain.
- Parameters:
customDomainName- A custom domain name for your resource configuration. Additionally, provide a DomainVerificationID to prove your ownership of a domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupDomain
(GROUP) The group domain for a group resource configuration. Any domains that you create for the child resource are subdomains of the group domain. Child resources inherit the verification status of the domain.
- Parameters:
groupDomain- (GROUP) The group domain for a group resource configuration. Any domains that you create for the child resource are subdomains of the group domain. Child resources inherit the verification status of the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainVerificationIdentifier
CreateResourceConfigurationRequest.Builder domainVerificationIdentifier(String domainVerificationIdentifier) The domain verification ID of your verified custom domain name. If you don't provide an ID, you must configure the DNS settings yourself.
- Parameters:
domainVerificationIdentifier- The domain verification ID of your verified custom domain name. If you don't provide an ID, you must configure the DNS settings yourself.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-
overrideConfiguration
CreateResourceConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-