Interface GetKeyspaceResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<GetKeyspaceResponse.Builder,,- GetKeyspaceResponse> - KeyspacesResponse.Builder,- SdkBuilder<GetKeyspaceResponse.Builder,,- GetKeyspaceResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GetKeyspaceResponse
- 
Method SummaryModifier and TypeMethodDescriptionkeyspaceName(String keyspaceName) The name of the keyspace.replicationGroupStatuses(Collection<ReplicationGroupStatus> replicationGroupStatuses) A list of all Regions the keyspace is replicated in after the update keyspace operation and their status.replicationGroupStatuses(Consumer<ReplicationGroupStatus.Builder>... replicationGroupStatuses) A list of all Regions the keyspace is replicated in after the update keyspace operation and their status.replicationGroupStatuses(ReplicationGroupStatus... replicationGroupStatuses) A list of all Regions the keyspace is replicated in after the update keyspace operation and their status.replicationRegions(String... replicationRegions) If thereplicationStrategyof the keyspace isMULTI_REGION, a list of replication Regions is returned.replicationRegions(Collection<String> replicationRegions) If thereplicationStrategyof the keyspace isMULTI_REGION, a list of replication Regions is returned.replicationStrategy(String replicationStrategy) Returns the replication strategy of the keyspace.replicationStrategy(Rs replicationStrategy) Returns the replication strategy of the keyspace.resourceArn(String resourceArn) Returns the ARN of the keyspace.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.keyspaces.model.KeyspacesResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
keyspaceNameThe name of the keyspace. - Parameters:
- keyspaceName- The name of the keyspace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resourceArnReturns the ARN of the keyspace. - Parameters:
- resourceArn- Returns the ARN of the keyspace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
replicationStrategyReturns the replication strategy of the keyspace. The options are SINGLE_REGIONorMULTI_REGION.- Parameters:
- replicationStrategy- Returns the replication strategy of the keyspace. The options are- SINGLE_REGIONor- MULTI_REGION.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
replicationStrategyReturns the replication strategy of the keyspace. The options are SINGLE_REGIONorMULTI_REGION.- Parameters:
- replicationStrategy- Returns the replication strategy of the keyspace. The options are- SINGLE_REGIONor- MULTI_REGION.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
replicationRegionsIf the replicationStrategyof the keyspace isMULTI_REGION, a list of replication Regions is returned.- Parameters:
- replicationRegions- If the- replicationStrategyof the keyspace is- MULTI_REGION, a list of replication Regions is returned.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
replicationRegionsIf the replicationStrategyof the keyspace isMULTI_REGION, a list of replication Regions is returned.- Parameters:
- replicationRegions- If the- replicationStrategyof the keyspace is- MULTI_REGION, a list of replication Regions is returned.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
replicationGroupStatusesGetKeyspaceResponse.Builder replicationGroupStatuses(Collection<ReplicationGroupStatus> replicationGroupStatuses) A list of all Regions the keyspace is replicated in after the update keyspace operation and their status. - Parameters:
- replicationGroupStatuses- A list of all Regions the keyspace is replicated in after the update keyspace operation and their status.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
replicationGroupStatusesGetKeyspaceResponse.Builder replicationGroupStatuses(ReplicationGroupStatus... replicationGroupStatuses) A list of all Regions the keyspace is replicated in after the update keyspace operation and their status. - Parameters:
- replicationGroupStatuses- A list of all Regions the keyspace is replicated in after the update keyspace operation and their status.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
replicationGroupStatusesGetKeyspaceResponse.Builder replicationGroupStatuses(Consumer<ReplicationGroupStatus.Builder>... replicationGroupStatuses) A list of all Regions the keyspace is replicated in after the update keyspace operation and their status. This is a convenience method that creates an instance of theReplicationGroupStatus.Builderavoiding the need to create one manually viaReplicationGroupStatus.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplicationGroupStatuses(List<ReplicationGroupStatus>).- Parameters:
- replicationGroupStatuses- a consumer that will call methods on- ReplicationGroupStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-