Interface ResourceConfigurationDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceConfigurationDefinition.Builder,,ResourceConfigurationDefinition> SdkBuilder<ResourceConfigurationDefinition.Builder,,ResourceConfigurationDefinition> SdkPojo
- Enclosing class:
ResourceConfigurationDefinition
-
Method Summary
Modifier and TypeMethodDescriptionarnResource(Consumer<ArnResource.Builder> arnResource) The Amazon Resource Name (ARN) of the resource.arnResource(ArnResource arnResource) The Amazon Resource Name (ARN) of the resource.cidrResource(Consumer<CidrResource.Builder> cidrResource) The network segment for a resource configuration of type CIDR, specified as one or more CIDR ranges (cidrRanges).cidrResource(CidrResource cidrResource) The network segment for a resource configuration of type CIDR, specified as one or more CIDR ranges (cidrRanges).dnsResource(Consumer<DnsResource.Builder> dnsResource) The DNS name of the resource.dnsResource(DnsResource dnsResource) The DNS name of the resource.ipResource(Consumer<IpResource.Builder> ipResource) The IP resource.ipResource(IpResource ipResource) The IP resource.Methods 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, sdkFields
-
Method Details
-
dnsResource
The DNS name of the resource.
- Parameters:
dnsResource- The DNS name of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsResource
default ResourceConfigurationDefinition.Builder dnsResource(Consumer<DnsResource.Builder> dnsResource) The DNS name of the resource.
This is a convenience method that creates an instance of theDnsResource.Builderavoiding the need to create one manually viaDnsResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todnsResource(DnsResource).- Parameters:
dnsResource- a consumer that will call methods onDnsResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ipResource
The IP resource.
- Parameters:
ipResource- The IP resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipResource
The IP resource.
This is a convenience method that creates an instance of theIpResource.Builderavoiding the need to create one manually viaIpResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toipResource(IpResource).- Parameters:
ipResource- a consumer that will call methods onIpResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
arnResource
The Amazon Resource Name (ARN) of the resource.
- Parameters:
arnResource- The Amazon Resource Name (ARN) of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arnResource
default ResourceConfigurationDefinition.Builder arnResource(Consumer<ArnResource.Builder> arnResource) The Amazon Resource Name (ARN) of the resource.
This is a convenience method that creates an instance of theArnResource.Builderavoiding the need to create one manually viaArnResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toarnResource(ArnResource).- Parameters:
arnResource- a consumer that will call methods onArnResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cidrResource
The network segment for a resource configuration of type CIDR, specified as one or more CIDR ranges (
cidrRanges). Resources whose IP addresses fall within these ranges are reachable through aTunnelVPC endpoint.- Parameters:
cidrResource- The network segment for a resource configuration of type CIDR, specified as one or more CIDR ranges (cidrRanges). Resources whose IP addresses fall within these ranges are reachable through aTunnelVPC endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrResource
default ResourceConfigurationDefinition.Builder cidrResource(Consumer<CidrResource.Builder> cidrResource) The network segment for a resource configuration of type CIDR, specified as one or more CIDR ranges (
This is a convenience method that creates an instance of thecidrRanges). Resources whose IP addresses fall within these ranges are reachable through aTunnelVPC endpoint.CidrResource.Builderavoiding the need to create one manually viaCidrResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocidrResource(CidrResource).- Parameters:
cidrResource- a consumer that will call methods onCidrResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-