Interface GetReplicationSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetReplicationSetResponse.Builder,
,GetReplicationSetResponse> SdkBuilder<GetReplicationSetResponse.Builder,
,GetReplicationSetResponse> SdkPojo
,SdkResponse.Builder
,SsmIncidentsResponse.Builder
- Enclosing class:
GetReplicationSetResponse
public static interface GetReplicationSetResponse.Builder
extends SsmIncidentsResponse.Builder, SdkPojo, CopyableBuilder<GetReplicationSetResponse.Builder,GetReplicationSetResponse>
-
Method Summary
Modifier and TypeMethodDescriptionreplicationSet
(Consumer<ReplicationSet.Builder> replicationSet) Details of the replication set.replicationSet
(ReplicationSet replicationSet) Details of the replication set.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.ssmincidents.model.SsmIncidentsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
replicationSet
Details of the replication set.
- Parameters:
replicationSet
- Details of the replication set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationSet
default GetReplicationSetResponse.Builder replicationSet(Consumer<ReplicationSet.Builder> replicationSet) Details of the replication set.
This is a convenience method that creates an instance of theReplicationSet.Builder
avoiding the need to create one manually viaReplicationSet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicationSet(ReplicationSet)
.- Parameters:
replicationSet
- a consumer that will call methods onReplicationSet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-