Interface GetNetworkMigrationMapperSegmentConstructResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetNetworkMigrationMapperSegmentConstructResponse.Builder,,GetNetworkMigrationMapperSegmentConstructResponse> MgnResponse.Builder,SdkBuilder<GetNetworkMigrationMapperSegmentConstructResponse.Builder,,GetNetworkMigrationMapperSegmentConstructResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetNetworkMigrationMapperSegmentConstructResponse
@Mutable
@NotThreadSafe
public static interface GetNetworkMigrationMapperSegmentConstructResponse.Builder
extends MgnResponse.Builder, SdkPojo, CopyableBuilder<GetNetworkMigrationMapperSegmentConstructResponse.Builder,GetNetworkMigrationMapperSegmentConstructResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe construct metadata including type, name, and configuration.construct(NetworkMigrationMapperSegmentConstruct construct) The construct metadata including type, name, and configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mgn.model.MgnResponse.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
-
construct
GetNetworkMigrationMapperSegmentConstructResponse.Builder construct(NetworkMigrationMapperSegmentConstruct construct) The construct metadata including type, name, and configuration.
- Parameters:
construct- The construct metadata including type, name, and configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
construct
default GetNetworkMigrationMapperSegmentConstructResponse.Builder construct(Consumer<NetworkMigrationMapperSegmentConstruct.Builder> construct) The construct metadata including type, name, and configuration.
This is a convenience method that creates an instance of theNetworkMigrationMapperSegmentConstruct.Builderavoiding the need to create one manually viaNetworkMigrationMapperSegmentConstruct.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconstruct(NetworkMigrationMapperSegmentConstruct).- Parameters:
construct- a consumer that will call methods onNetworkMigrationMapperSegmentConstruct.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-