Interface ResourceConfigurationDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceConfigurationDefinition.Builder,
,ResourceConfigurationDefinition> SdkBuilder<ResourceConfigurationDefinition.Builder,
,ResourceConfigurationDefinition> SdkPojo
- Enclosing class:
ResourceConfigurationDefinition
@Mutable
@NotThreadSafe
public static interface ResourceConfigurationDefinition.Builder
extends SdkPojo, CopyableBuilder<ResourceConfigurationDefinition.Builder,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.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
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
-
Method Details
-
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.Builder
avoiding the need to create one manually viaArnResource.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaDnsResource.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaIpResource.builder()
.When the
Consumer
completes,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:
-