@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KeyspaceSummary extends Object implements Serializable, Cloneable, StructuredPojo
Represents the properties of a keyspace.
| Constructor and Description |
|---|
KeyspaceSummary() |
| Modifier and Type | Method and Description |
|---|---|
KeyspaceSummary |
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()
This property specifies if a keyspace is a single Region keyspace or a multi-Region keyspace.
|
String |
getResourceArn()
The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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)
This property specifies if a keyspace is a single Region keyspace or a multi-Region keyspace.
|
void |
setResourceArn(String resourceArn)
The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).
|
String |
toString()
Returns a string representation of this object.
|
KeyspaceSummary |
withKeyspaceName(String keyspaceName)
The name of the keyspace.
|
KeyspaceSummary |
withReplicationRegions(Collection<String> replicationRegions)
If the
replicationStrategy of the keyspace is MULTI_REGION, a list of replication
Regions is returned. |
KeyspaceSummary |
withReplicationRegions(String... replicationRegions)
If the
replicationStrategy of the keyspace is MULTI_REGION, a list of replication
Regions is returned. |
KeyspaceSummary |
withReplicationStrategy(Rs replicationStrategy)
This property specifies if a keyspace is a single Region keyspace or a multi-Region keyspace.
|
KeyspaceSummary |
withReplicationStrategy(String replicationStrategy)
This property specifies if a keyspace is a single Region keyspace or a multi-Region keyspace.
|
KeyspaceSummary |
withResourceArn(String resourceArn)
The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).
|
public void setKeyspaceName(String keyspaceName)
The name of the keyspace.
keyspaceName - The name of the keyspace.public String getKeyspaceName()
The name of the keyspace.
public KeyspaceSummary withKeyspaceName(String keyspaceName)
The name of the keyspace.
keyspaceName - The name of the keyspace.public void setResourceArn(String resourceArn)
The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).
resourceArn - The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).public String getResourceArn()
The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).
public KeyspaceSummary withResourceArn(String resourceArn)
The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).
resourceArn - The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).public void setReplicationStrategy(String replicationStrategy)
This property specifies if a keyspace is a single Region keyspace or a multi-Region keyspace. The available
values are SINGLE_REGION or MULTI_REGION.
replicationStrategy - This property specifies if a keyspace is a single Region keyspace or a multi-Region keyspace. The
available values are SINGLE_REGION or MULTI_REGION.Rspublic String getReplicationStrategy()
This property specifies if a keyspace is a single Region keyspace or a multi-Region keyspace. The available
values are SINGLE_REGION or MULTI_REGION.
SINGLE_REGION or MULTI_REGION.Rspublic KeyspaceSummary withReplicationStrategy(String replicationStrategy)
This property specifies if a keyspace is a single Region keyspace or a multi-Region keyspace. The available
values are SINGLE_REGION or MULTI_REGION.
replicationStrategy - This property specifies if a keyspace is a single Region keyspace or a multi-Region keyspace. The
available values are SINGLE_REGION or MULTI_REGION.Rspublic KeyspaceSummary withReplicationStrategy(Rs replicationStrategy)
This property specifies if a keyspace is a single Region keyspace or a multi-Region keyspace. The available
values are SINGLE_REGION or MULTI_REGION.
replicationStrategy - This property specifies if a keyspace is a single Region keyspace or a multi-Region keyspace. The
available values 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 KeyspaceSummary 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 KeyspaceSummary 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 KeyspaceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.