Interface DescribeGlobalReplicationGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeGlobalReplicationGroupsResponse.Builder,,DescribeGlobalReplicationGroupsResponse> ElastiCacheResponse.Builder,SdkBuilder<DescribeGlobalReplicationGroupsResponse.Builder,,DescribeGlobalReplicationGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeGlobalReplicationGroupsResponse
public static interface DescribeGlobalReplicationGroupsResponse.Builder
extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<DescribeGlobalReplicationGroupsResponse.Builder,DescribeGlobalReplicationGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionglobalReplicationGroups(Collection<GlobalReplicationGroup> globalReplicationGroups) Indicates the slot configuration and global identifier for each slice group.globalReplicationGroups(Consumer<GlobalReplicationGroup.Builder>... globalReplicationGroups) Indicates the slot configuration and global identifier for each slice group.globalReplicationGroups(GlobalReplicationGroup... globalReplicationGroups) Indicates the slot configuration and global identifier for each slice group.An optional marker returned from a prior request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheResponse.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
-
marker
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. >
- Parameters:
marker- An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. >- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalReplicationGroups
DescribeGlobalReplicationGroupsResponse.Builder globalReplicationGroups(Collection<GlobalReplicationGroup> globalReplicationGroups) Indicates the slot configuration and global identifier for each slice group.
- Parameters:
globalReplicationGroups- Indicates the slot configuration and global identifier for each slice group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalReplicationGroups
DescribeGlobalReplicationGroupsResponse.Builder globalReplicationGroups(GlobalReplicationGroup... globalReplicationGroups) Indicates the slot configuration and global identifier for each slice group.
- Parameters:
globalReplicationGroups- Indicates the slot configuration and global identifier for each slice group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalReplicationGroups
DescribeGlobalReplicationGroupsResponse.Builder globalReplicationGroups(Consumer<GlobalReplicationGroup.Builder>... globalReplicationGroups) Indicates the slot configuration and global identifier for each slice group.
This is a convenience method that creates an instance of theGlobalReplicationGroup.Builderavoiding the need to create one manually viaGlobalReplicationGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toglobalReplicationGroups(List<GlobalReplicationGroup>).- Parameters:
globalReplicationGroups- a consumer that will call methods onGlobalReplicationGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-