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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeGlobalReplicationGroupsResponse.Builder
globalReplicationGroups(Collection<GlobalReplicationGroup> globalReplicationGroups)
Indicates the slot configuration and global identifier for each slice group.DescribeGlobalReplicationGroupsResponse.Builder
globalReplicationGroups(Consumer<GlobalReplicationGroup.Builder>... globalReplicationGroups)
Indicates the slot configuration and global identifier for each slice group.DescribeGlobalReplicationGroupsResponse.Builder
globalReplicationGroups(GlobalReplicationGroup... globalReplicationGroups)
Indicates the slot configuration and global identifier for each slice group.DescribeGlobalReplicationGroupsResponse.Builder
marker(String marker)
An optional marker returned from a prior request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
-
-
-
Method Detail
-
marker
DescribeGlobalReplicationGroupsResponse.Builder marker(String 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.Builder
avoiding the need to create one manually viaGlobalReplicationGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#globalReplicationGroups(List
.) - 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:
#globalReplicationGroups(java.util.Collection
)
-
-