@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetKeyspaceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
GetKeyspaceResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
GetKeyspaceResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getKeyspaceName()
 The name of the keyspace. 
 | 
List<String> | 
getReplicationRegions()
 If the  
replicationStrategy of the keyspace is MULTI_REGION, a list of replication
 Regions is returned. | 
String | 
getReplicationStrategy()
 Returns the replication strategy of the keyspace. 
 | 
String | 
getResourceArn()
 Returns the ARN of the keyspace. 
 | 
int | 
hashCode()  | 
void | 
setKeyspaceName(String keyspaceName)
 The name of the keyspace. 
 | 
void | 
setReplicationRegions(Collection<String> replicationRegions)
 If the  
replicationStrategy of the keyspace is MULTI_REGION, a list of replication
 Regions is returned. | 
void | 
setReplicationStrategy(String replicationStrategy)
 Returns the replication strategy of the keyspace. 
 | 
void | 
setResourceArn(String resourceArn)
 Returns the ARN of the keyspace. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
GetKeyspaceResult | 
withKeyspaceName(String keyspaceName)
 The name of the keyspace. 
 | 
GetKeyspaceResult | 
withReplicationRegions(Collection<String> replicationRegions)
 If the  
replicationStrategy of the keyspace is MULTI_REGION, a list of replication
 Regions is returned. | 
GetKeyspaceResult | 
withReplicationRegions(String... replicationRegions)
 If the  
replicationStrategy of the keyspace is MULTI_REGION, a list of replication
 Regions is returned. | 
GetKeyspaceResult | 
withReplicationStrategy(Rs replicationStrategy)
 Returns the replication strategy of the keyspace. 
 | 
GetKeyspaceResult | 
withReplicationStrategy(String replicationStrategy)
 Returns the replication strategy of the keyspace. 
 | 
GetKeyspaceResult | 
withResourceArn(String resourceArn)
 Returns the ARN of the keyspace. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setKeyspaceName(String keyspaceName)
The name of the keyspace.
keyspaceName - The name of the keyspace.public String getKeyspaceName()
The name of the keyspace.
public GetKeyspaceResult withKeyspaceName(String keyspaceName)
The name of the keyspace.
keyspaceName - The name of the keyspace.public void setResourceArn(String resourceArn)
Returns the ARN of the keyspace.
resourceArn - Returns the ARN of the keyspace.public String getResourceArn()
Returns the ARN of the keyspace.
public GetKeyspaceResult withResourceArn(String resourceArn)
Returns the ARN of the keyspace.
resourceArn - Returns the ARN of the keyspace.public void setReplicationStrategy(String replicationStrategy)
 Returns the replication strategy of the keyspace. The options are SINGLE_REGION or
 MULTI_REGION.
 
replicationStrategy - Returns the replication strategy of the keyspace. The options are SINGLE_REGION or
        MULTI_REGION.Rspublic String getReplicationStrategy()
 Returns the replication strategy of the keyspace. The options are SINGLE_REGION or
 MULTI_REGION.
 
SINGLE_REGION or
         MULTI_REGION.Rspublic GetKeyspaceResult withReplicationStrategy(String replicationStrategy)
 Returns the replication strategy of the keyspace. The options are SINGLE_REGION or
 MULTI_REGION.
 
replicationStrategy - Returns the replication strategy of the keyspace. The options are SINGLE_REGION or
        MULTI_REGION.Rspublic GetKeyspaceResult withReplicationStrategy(Rs replicationStrategy)
 Returns the replication strategy of the keyspace. The options are SINGLE_REGION or
 MULTI_REGION.
 
replicationStrategy - Returns the replication strategy of the keyspace. The options are SINGLE_REGION or
        MULTI_REGION.Rspublic List<String> getReplicationRegions()
 If the replicationStrategy of the keyspace is MULTI_REGION, a list of replication
 Regions is returned.
 
replicationStrategy of the keyspace is MULTI_REGION, a list of
         replication Regions is returned.public void setReplicationRegions(Collection<String> replicationRegions)
 If the replicationStrategy of the keyspace is MULTI_REGION, a list of replication
 Regions is returned.
 
replicationRegions - If the replicationStrategy of the keyspace is MULTI_REGION, a list of
        replication Regions is returned.public GetKeyspaceResult withReplicationRegions(String... replicationRegions)
 If the replicationStrategy of the keyspace is MULTI_REGION, a list of replication
 Regions is returned.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setReplicationRegions(java.util.Collection) or withReplicationRegions(java.util.Collection) if
 you want to override the existing values.
 
replicationRegions - If the replicationStrategy of the keyspace is MULTI_REGION, a list of
        replication Regions is returned.public GetKeyspaceResult withReplicationRegions(Collection<String> replicationRegions)
 If the replicationStrategy of the keyspace is MULTI_REGION, a list of replication
 Regions is returned.
 
replicationRegions - If the replicationStrategy of the keyspace is MULTI_REGION, a list of
        replication Regions is returned.public String toString()
toString in class ObjectObject.toString()public GetKeyspaceResult clone()