Interface GetSiteToSiteVpnAttachmentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSiteToSiteVpnAttachmentResponse.Builder,GetSiteToSiteVpnAttachmentResponse>,NetworkManagerResponse.Builder,SdkBuilder<GetSiteToSiteVpnAttachmentResponse.Builder,GetSiteToSiteVpnAttachmentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetSiteToSiteVpnAttachmentResponse
public static interface GetSiteToSiteVpnAttachmentResponse.Builder extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<GetSiteToSiteVpnAttachmentResponse.Builder,GetSiteToSiteVpnAttachmentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetSiteToSiteVpnAttachmentResponse.BuildersiteToSiteVpnAttachment(Consumer<SiteToSiteVpnAttachment.Builder> siteToSiteVpnAttachment)Describes the site-to-site attachment.GetSiteToSiteVpnAttachmentResponse.BuildersiteToSiteVpnAttachment(SiteToSiteVpnAttachment siteToSiteVpnAttachment)Describes the site-to-site attachment.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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:
siteToSiteVpnAttachment(SiteToSiteVpnAttachment)
-
-