Interface VpcEndpointAssociation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VpcEndpointAssociation.Builder,
,VpcEndpointAssociation> SdkBuilder<VpcEndpointAssociation.Builder,
,VpcEndpointAssociation> SdkPojo
- Enclosing class:
VpcEndpointAssociation
-
Method Summary
Modifier and TypeMethodDescriptionassociatedResourceAccessibility
(String associatedResourceAccessibility) The connectivity status of the resources associated to a VPC endpoint.associatedResourceArn
(String associatedResourceArn) The Amazon Resource Name (ARN) of the associated resource.default VpcEndpointAssociation.Builder
dnsEntry
(Consumer<DnsEntry.Builder> dnsEntry) The DNS entry of the VPC endpoint association.The DNS entry of the VPC endpoint association.failureCode
(String failureCode) An error code related to why an VPC endpoint association failed.failureReason
(String failureReason) A message related to why an VPC endpoint association failed.The ID of the VPC endpoint association.default VpcEndpointAssociation.Builder
privateDnsEntry
(Consumer<DnsEntry.Builder> privateDnsEntry) The private DNS entry of the VPC endpoint association.privateDnsEntry
(DnsEntry privateDnsEntry) The private DNS entry of the VPC endpoint association.resourceConfigurationGroupArn
(String resourceConfigurationGroupArn) The Amazon Resource Name (ARN) of the resource configuration group.serviceNetworkArn
(String serviceNetworkArn) The Amazon Resource Name (ARN) of the service network.serviceNetworkName
(String serviceNetworkName) The name of the service network.tags
(Collection<Tag> tags) The tags to apply to the VPC endpoint association.tags
(Consumer<Tag.Builder>... tags) The tags to apply to the VPC endpoint association.The tags to apply to the VPC endpoint association.vpcEndpointId
(String vpcEndpointId) The ID of the VPC endpoint.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
-
id
The ID of the VPC endpoint association.
- Parameters:
id
- The ID of the VPC endpoint association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpointId
The ID of the VPC endpoint.
- Parameters:
vpcEndpointId
- The ID of the VPC endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceNetworkArn
The Amazon Resource Name (ARN) of the service network.
- Parameters:
serviceNetworkArn
- The Amazon Resource Name (ARN) of the service network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceNetworkName
The name of the service network.
- Parameters:
serviceNetworkName
- The name of the service network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedResourceAccessibility
VpcEndpointAssociation.Builder associatedResourceAccessibility(String associatedResourceAccessibility) The connectivity status of the resources associated to a VPC endpoint. The resource is accessible if the associated resource configuration is
AVAILABLE
, otherwise the resource is inaccessible.- Parameters:
associatedResourceAccessibility
- The connectivity status of the resources associated to a VPC endpoint. The resource is accessible if the associated resource configuration isAVAILABLE
, otherwise the resource is inaccessible.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
A message related to why an VPC endpoint association failed.
- Parameters:
failureReason
- A message related to why an VPC endpoint association failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureCode
An error code related to why an VPC endpoint association failed.
- Parameters:
failureCode
- An error code related to why an VPC endpoint association failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsEntry
The DNS entry of the VPC endpoint association.
- Parameters:
dnsEntry
- The DNS entry of the VPC endpoint association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsEntry
The DNS entry of the VPC endpoint association.
This is a convenience method that creates an instance of theDnsEntry.Builder
avoiding the need to create one manually viaDnsEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todnsEntry(DnsEntry)
.- Parameters:
dnsEntry
- a consumer that will call methods onDnsEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
privateDnsEntry
The private DNS entry of the VPC endpoint association.
- Parameters:
privateDnsEntry
- The private DNS entry of the VPC endpoint association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateDnsEntry
The private DNS entry of the VPC endpoint association.
This is a convenience method that creates an instance of theDnsEntry.Builder
avoiding the need to create one manually viaDnsEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprivateDnsEntry(DnsEntry)
.- Parameters:
privateDnsEntry
- a consumer that will call methods onDnsEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associatedResourceArn
The Amazon Resource Name (ARN) of the associated resource.
- Parameters:
associatedResourceArn
- The Amazon Resource Name (ARN) of the associated resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceConfigurationGroupArn
The Amazon Resource Name (ARN) of the resource configuration group.
- Parameters:
resourceConfigurationGroupArn
- The Amazon Resource Name (ARN) of the resource configuration group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to apply to the VPC endpoint association.
- Parameters:
tags
- The tags to apply to the VPC endpoint association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to apply to the VPC endpoint association.
- Parameters:
tags
- The tags to apply to the VPC endpoint association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to apply to the VPC endpoint association.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-