Interface SiteToSiteVpnAttachment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SiteToSiteVpnAttachment.Builder,,SiteToSiteVpnAttachment> SdkBuilder<SiteToSiteVpnAttachment.Builder,,SiteToSiteVpnAttachment> SdkPojo
- Enclosing class:
SiteToSiteVpnAttachment
@Mutable
@NotThreadSafe
public static interface SiteToSiteVpnAttachment.Builder
extends SdkPojo, CopyableBuilder<SiteToSiteVpnAttachment.Builder,SiteToSiteVpnAttachment>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SiteToSiteVpnAttachment.Builderattachment(Consumer<Attachment.Builder> attachment) Provides details about a site-to-site VPN attachment.attachment(Attachment attachment) Provides details about a site-to-site VPN attachment.vpnConnectionArn(String vpnConnectionArn) The ARN of the site-to-site VPN attachment.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
-
attachment
Provides details about a site-to-site VPN attachment.
- Parameters:
attachment- Provides details about a site-to-site VPN attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachment
Provides details about a site-to-site VPN attachment.
This is a convenience method that creates an instance of theAttachment.Builderavoiding the need to create one manually viaAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachment(Attachment).- Parameters:
attachment- a consumer that will call methods onAttachment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpnConnectionArn
The ARN of the site-to-site VPN attachment.
- Parameters:
vpnConnectionArn- The ARN of the site-to-site VPN attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-