Interface VpcEndpointAssociation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VpcEndpointAssociation.Builder,VpcEndpointAssociation>,SdkBuilder<VpcEndpointAssociation.Builder,VpcEndpointAssociation>,SdkPojo
- Enclosing class:
- VpcEndpointAssociation
@Mutable @NotThreadSafe public static interface VpcEndpointAssociation.Builder extends SdkPojo, CopyableBuilder<VpcEndpointAssociation.Builder,VpcEndpointAssociation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VpcEndpointAssociation.BuilderassociatedResourceAccessibility(String associatedResourceAccessibility)The connectivity status of the resources associated to a VPC endpoint.VpcEndpointAssociation.BuilderassociatedResourceArn(String associatedResourceArn)The Amazon Resource Name (ARN) of the associated resource.default VpcEndpointAssociation.BuilderdnsEntry(Consumer<DnsEntry.Builder> dnsEntry)The DNS entry of the VPC endpoint association.VpcEndpointAssociation.BuilderdnsEntry(DnsEntry dnsEntry)The DNS entry of the VPC endpoint association.VpcEndpointAssociation.BuilderfailureCode(String failureCode)An error code related to why an VPC endpoint association failed.VpcEndpointAssociation.BuilderfailureReason(String failureReason)A message related to why an VPC endpoint association failed.VpcEndpointAssociation.Builderid(String id)The ID of the VPC endpoint association.default VpcEndpointAssociation.BuilderprivateDnsEntry(Consumer<DnsEntry.Builder> privateDnsEntry)The private DNS entry of the VPC endpoint association.VpcEndpointAssociation.BuilderprivateDnsEntry(DnsEntry privateDnsEntry)The private DNS entry of the VPC endpoint association.VpcEndpointAssociation.BuilderresourceConfigurationGroupArn(String resourceConfigurationGroupArn)The Amazon Resource Name (ARN) of the resource configuration group.VpcEndpointAssociation.BuilderserviceNetworkArn(String serviceNetworkArn)The Amazon Resource Name (ARN) of the service network.VpcEndpointAssociation.BuilderserviceNetworkName(String serviceNetworkName)The name of the service network.VpcEndpointAssociation.Buildertags(Collection<Tag> tags)The tags to apply to the VPC endpoint association.VpcEndpointAssociation.Buildertags(Consumer<Tag.Builder>... tags)The tags to apply to the VPC endpoint association.VpcEndpointAssociation.Buildertags(Tag... tags)The tags to apply to the VPC endpoint association.VpcEndpointAssociation.BuildervpcEndpointId(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 Detail
-
id
VpcEndpointAssociation.Builder id(String 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
VpcEndpointAssociation.Builder vpcEndpointId(String 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
VpcEndpointAssociation.Builder serviceNetworkArn(String 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
VpcEndpointAssociation.Builder serviceNetworkName(String 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
VpcEndpointAssociation.Builder failureReason(String 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
VpcEndpointAssociation.Builder failureCode(String 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
VpcEndpointAssociation.Builder dnsEntry(DnsEntry 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
default VpcEndpointAssociation.Builder dnsEntry(Consumer<DnsEntry.Builder> dnsEntry)
The DNS entry of the VPC endpoint association.
This is a convenience method that creates an instance of theDnsEntry.Builderavoiding the need to create one manually viaDnsEntry.builder().When the
Consumercompletes,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:
dnsEntry(DnsEntry)
-
privateDnsEntry
VpcEndpointAssociation.Builder privateDnsEntry(DnsEntry 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
default VpcEndpointAssociation.Builder privateDnsEntry(Consumer<DnsEntry.Builder> privateDnsEntry)
The private DNS entry of the VPC endpoint association.
This is a convenience method that creates an instance of theDnsEntry.Builderavoiding the need to create one manually viaDnsEntry.builder().When the
Consumercompletes,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:
privateDnsEntry(DnsEntry)
-
associatedResourceArn
VpcEndpointAssociation.Builder associatedResourceArn(String 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
VpcEndpointAssociation.Builder resourceConfigurationGroupArn(String 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
VpcEndpointAssociation.Builder tags(Collection<Tag> 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
VpcEndpointAssociation.Builder tags(Tag... 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
VpcEndpointAssociation.Builder tags(Consumer<Tag.Builder>... tags)
The tags to apply to the VPC endpoint association.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
-