Interface StopSourceNetworkReplicationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StopSourceNetworkReplicationResponse.Builder,,StopSourceNetworkReplicationResponse> DrsResponse.Builder,SdkBuilder<StopSourceNetworkReplicationResponse.Builder,,StopSourceNetworkReplicationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StopSourceNetworkReplicationResponse
public static interface StopSourceNetworkReplicationResponse.Builder
extends DrsResponse.Builder, SdkPojo, CopyableBuilder<StopSourceNetworkReplicationResponse.Builder,StopSourceNetworkReplicationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsourceNetwork(Consumer<SourceNetwork.Builder> sourceNetwork) Source Network which was requested to stop replication.sourceNetwork(SourceNetwork sourceNetwork) Source Network which was requested to stop replication.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.drs.model.DrsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
sourceNetwork
Source Network which was requested to stop replication.
- Parameters:
sourceNetwork- Source Network which was requested to stop replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceNetwork
default StopSourceNetworkReplicationResponse.Builder sourceNetwork(Consumer<SourceNetwork.Builder> sourceNetwork) Source Network which was requested to stop replication.
This is a convenience method that creates an instance of theSourceNetwork.Builderavoiding the need to create one manually viaSourceNetwork.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceNetwork(SourceNetwork).- Parameters:
sourceNetwork- a consumer that will call methods onSourceNetwork.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-