Interface SiteToSiteVpnAttachment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SiteToSiteVpnAttachment.Builder,SiteToSiteVpnAttachment>,SdkBuilder<SiteToSiteVpnAttachment.Builder,SiteToSiteVpnAttachment>,SdkPojo
- Enclosing class:
- SiteToSiteVpnAttachment
public static interface SiteToSiteVpnAttachment.Builder extends SdkPojo, CopyableBuilder<SiteToSiteVpnAttachment.Builder,SiteToSiteVpnAttachment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SiteToSiteVpnAttachment.Builderattachment(Consumer<Attachment.Builder> attachment)Provides details about a site-to-site VPN attachment.SiteToSiteVpnAttachment.Builderattachment(Attachment attachment)Provides details about a site-to-site VPN attachment.SiteToSiteVpnAttachment.BuildervpnConnectionArn(String vpnConnectionArn)The ARN of the site-to-site VPN attachment.-
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, sdkFields
-
-
-
-
Method Detail
-
attachment
SiteToSiteVpnAttachment.Builder attachment(Attachment 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
default SiteToSiteVpnAttachment.Builder attachment(Consumer<Attachment.Builder> 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:
attachment(Attachment)
-
vpnConnectionArn
SiteToSiteVpnAttachment.Builder vpnConnectionArn(String 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.
-
-