@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TableAutoScalingDescription extends Object implements Serializable, Cloneable, StructuredPojo
Represents the auto scaling configuration for a global table.
Constructor and Description |
---|
TableAutoScalingDescription() |
Modifier and Type | Method and Description |
---|---|
TableAutoScalingDescription |
clone() |
boolean |
equals(Object obj) |
List<ReplicaAutoScalingDescription> |
getReplicas()
Represents replicas of the global table.
|
String |
getTableName()
The name of the table.
|
String |
getTableStatus()
The current state of the table:
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setReplicas(Collection<ReplicaAutoScalingDescription> replicas)
Represents replicas of the global table.
|
void |
setTableName(String tableName)
The name of the table.
|
void |
setTableStatus(String tableStatus)
The current state of the table:
|
String |
toString()
Returns a string representation of this object.
|
TableAutoScalingDescription |
withReplicas(Collection<ReplicaAutoScalingDescription> replicas)
Represents replicas of the global table.
|
TableAutoScalingDescription |
withReplicas(ReplicaAutoScalingDescription... replicas)
Represents replicas of the global table.
|
TableAutoScalingDescription |
withTableName(String tableName)
The name of the table.
|
TableAutoScalingDescription |
withTableStatus(String tableStatus)
The current state of the table:
|
TableAutoScalingDescription |
withTableStatus(TableStatus tableStatus)
The current state of the table:
|
public void setTableName(String tableName)
The name of the table.
tableName
- The name of the table.public String getTableName()
The name of the table.
public TableAutoScalingDescription withTableName(String tableName)
The name of the table.
tableName
- The name of the table.public void setTableStatus(String tableStatus)
The current state of the table:
CREATING
- The table is being created.
UPDATING
- The table is being updated.
DELETING
- The table is being deleted.
ACTIVE
- The table is ready for use.
tableStatus
- The current state of the table:
CREATING
- The table is being created.
UPDATING
- The table is being updated.
DELETING
- The table is being deleted.
ACTIVE
- The table is ready for use.
TableStatus
public String getTableStatus()
The current state of the table:
CREATING
- The table is being created.
UPDATING
- The table is being updated.
DELETING
- The table is being deleted.
ACTIVE
- The table is ready for use.
CREATING
- The table is being created.
UPDATING
- The table is being updated.
DELETING
- The table is being deleted.
ACTIVE
- The table is ready for use.
TableStatus
public TableAutoScalingDescription withTableStatus(String tableStatus)
The current state of the table:
CREATING
- The table is being created.
UPDATING
- The table is being updated.
DELETING
- The table is being deleted.
ACTIVE
- The table is ready for use.
tableStatus
- The current state of the table:
CREATING
- The table is being created.
UPDATING
- The table is being updated.
DELETING
- The table is being deleted.
ACTIVE
- The table is ready for use.
TableStatus
public TableAutoScalingDescription withTableStatus(TableStatus tableStatus)
The current state of the table:
CREATING
- The table is being created.
UPDATING
- The table is being updated.
DELETING
- The table is being deleted.
ACTIVE
- The table is ready for use.
tableStatus
- The current state of the table:
CREATING
- The table is being created.
UPDATING
- The table is being updated.
DELETING
- The table is being deleted.
ACTIVE
- The table is ready for use.
TableStatus
public List<ReplicaAutoScalingDescription> getReplicas()
Represents replicas of the global table.
public void setReplicas(Collection<ReplicaAutoScalingDescription> replicas)
Represents replicas of the global table.
replicas
- Represents replicas of the global table.public TableAutoScalingDescription withReplicas(ReplicaAutoScalingDescription... replicas)
Represents replicas of the global table.
NOTE: This method appends the values to the existing list (if any). Use
setReplicas(java.util.Collection)
or withReplicas(java.util.Collection)
if you want to override
the existing values.
replicas
- Represents replicas of the global table.public TableAutoScalingDescription withReplicas(Collection<ReplicaAutoScalingDescription> replicas)
Represents replicas of the global table.
replicas
- Represents replicas of the global table.public String toString()
toString
in class Object
Object.toString()
public TableAutoScalingDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.