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
copyMethods 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, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaReplicationSet.builder().When the
Consumercompletes,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:
-