public static interface GetGatewayResponse.Builder extends BackupGatewayResponse.Builder, SdkPojo, CopyableBuilder<GetGatewayResponse.Builder,GetGatewayResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetGatewayResponse.Builder |
gateway(Consumer<GatewayDetails.Builder> gateway)
By providing the ARN (Amazon Resource Name), this API returns the gateway.
|
GetGatewayResponse.Builder |
gateway(GatewayDetails gateway)
By providing the ARN (Amazon Resource Name), this API returns the gateway.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetGatewayResponse.Builder gateway(GatewayDetails gateway)
By providing the ARN (Amazon Resource Name), this API returns the gateway.
gateway - By providing the ARN (Amazon Resource Name), this API returns the gateway.default GetGatewayResponse.Builder gateway(Consumer<GatewayDetails.Builder> gateway)
By providing the ARN (Amazon Resource Name), this API returns the gateway.
This is a convenience method that creates an instance of theGatewayDetails.Builder avoiding the need
to create one manually via GatewayDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to gateway(GatewayDetails).
gateway - a consumer that will call methods on GatewayDetails.Buildergateway(GatewayDetails)Copyright © 2023. All rights reserved.