Interface GetSiteToSiteVpnAttachmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSiteToSiteVpnAttachmentResponse.Builder,,GetSiteToSiteVpnAttachmentResponse> NetworkManagerResponse.Builder,SdkBuilder<GetSiteToSiteVpnAttachmentResponse.Builder,,GetSiteToSiteVpnAttachmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSiteToSiteVpnAttachmentResponse
@Mutable
@NotThreadSafe
public static interface GetSiteToSiteVpnAttachmentResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<GetSiteToSiteVpnAttachmentResponse.Builder,GetSiteToSiteVpnAttachmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsiteToSiteVpnAttachment(Consumer<SiteToSiteVpnAttachment.Builder> siteToSiteVpnAttachment) Describes the site-to-site attachment.siteToSiteVpnAttachment(SiteToSiteVpnAttachment siteToSiteVpnAttachment) Describes the site-to-site attachment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
siteToSiteVpnAttachment
GetSiteToSiteVpnAttachmentResponse.Builder siteToSiteVpnAttachment(SiteToSiteVpnAttachment siteToSiteVpnAttachment) Describes the site-to-site attachment.
- Parameters:
siteToSiteVpnAttachment- Describes the site-to-site attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
siteToSiteVpnAttachment
default GetSiteToSiteVpnAttachmentResponse.Builder siteToSiteVpnAttachment(Consumer<SiteToSiteVpnAttachment.Builder> siteToSiteVpnAttachment) Describes the site-to-site attachment.
This is a convenience method that creates an instance of theSiteToSiteVpnAttachment.Builderavoiding the need to create one manually viaSiteToSiteVpnAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tositeToSiteVpnAttachment(SiteToSiteVpnAttachment).- Parameters:
siteToSiteVpnAttachment- a consumer that will call methods onSiteToSiteVpnAttachment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-