@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Cluster extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about a specific Elastic DocumentDB cluster.
Constructor and Description |
---|
Cluster() |
Modifier and Type | Method and Description |
---|---|
Cluster |
clone() |
boolean |
equals(Object obj) |
String |
getAdminUserName()
The name of the Elastic DocumentDB cluster administrator.
|
String |
getAuthType()
The authentication type for the Elastic DocumentDB cluster.
|
String |
getClusterArn()
The arn of the Elastic DocumentDB cluster.
|
String |
getClusterEndpoint()
The URL used to connect to the Elastic DocumentDB cluster.
|
String |
getClusterName()
The name of the Elastic DocumentDB cluster.
|
String |
getCreateTime()
The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).
|
String |
getKmsKeyId()
The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
|
String |
getPreferredMaintenanceWindow()
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
Integer |
getShardCapacity()
The capacity of each shard in the Elastic DocumentDB cluster.
|
Integer |
getShardCount()
The number of shards in the Elastic DocumentDB cluster.
|
String |
getStatus()
The status of the Elastic DocumentDB cluster.
|
List<String> |
getSubnetIds()
The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
|
List<String> |
getVpcSecurityGroupIds()
A list of EC2 VPC security groups associated with this cluster.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdminUserName(String adminUserName)
The name of the Elastic DocumentDB cluster administrator.
|
void |
setAuthType(String authType)
The authentication type for the Elastic DocumentDB cluster.
|
void |
setClusterArn(String clusterArn)
The arn of the Elastic DocumentDB cluster.
|
void |
setClusterEndpoint(String clusterEndpoint)
The URL used to connect to the Elastic DocumentDB cluster.
|
void |
setClusterName(String clusterName)
The name of the Elastic DocumentDB cluster.
|
void |
setCreateTime(String createTime)
The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).
|
void |
setKmsKeyId(String kmsKeyId)
The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
|
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
void |
setShardCapacity(Integer shardCapacity)
The capacity of each shard in the Elastic DocumentDB cluster.
|
void |
setShardCount(Integer shardCount)
The number of shards in the Elastic DocumentDB cluster.
|
void |
setStatus(String status)
The status of the Elastic DocumentDB cluster.
|
void |
setSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
|
void |
setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups associated with this cluster.
|
String |
toString()
Returns a string representation of this object.
|
Cluster |
withAdminUserName(String adminUserName)
The name of the Elastic DocumentDB cluster administrator.
|
Cluster |
withAuthType(Auth authType)
The authentication type for the Elastic DocumentDB cluster.
|
Cluster |
withAuthType(String authType)
The authentication type for the Elastic DocumentDB cluster.
|
Cluster |
withClusterArn(String clusterArn)
The arn of the Elastic DocumentDB cluster.
|
Cluster |
withClusterEndpoint(String clusterEndpoint)
The URL used to connect to the Elastic DocumentDB cluster.
|
Cluster |
withClusterName(String clusterName)
The name of the Elastic DocumentDB cluster.
|
Cluster |
withCreateTime(String createTime)
The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).
|
Cluster |
withKmsKeyId(String kmsKeyId)
The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
|
Cluster |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
Cluster |
withShardCapacity(Integer shardCapacity)
The capacity of each shard in the Elastic DocumentDB cluster.
|
Cluster |
withShardCount(Integer shardCount)
The number of shards in the Elastic DocumentDB cluster.
|
Cluster |
withStatus(Status status)
The status of the Elastic DocumentDB cluster.
|
Cluster |
withStatus(String status)
The status of the Elastic DocumentDB cluster.
|
Cluster |
withSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
|
Cluster |
withSubnetIds(String... subnetIds)
The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
|
Cluster |
withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups associated with this cluster.
|
Cluster |
withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of EC2 VPC security groups associated with this cluster.
|
public void setAdminUserName(String adminUserName)
The name of the Elastic DocumentDB cluster administrator.
adminUserName
- The name of the Elastic DocumentDB cluster administrator.public String getAdminUserName()
The name of the Elastic DocumentDB cluster administrator.
public Cluster withAdminUserName(String adminUserName)
The name of the Elastic DocumentDB cluster administrator.
adminUserName
- The name of the Elastic DocumentDB cluster administrator.public void setAuthType(String authType)
The authentication type for the Elastic DocumentDB cluster.
authType
- The authentication type for the Elastic DocumentDB cluster.Auth
public String getAuthType()
The authentication type for the Elastic DocumentDB cluster.
Auth
public Cluster withAuthType(String authType)
The authentication type for the Elastic DocumentDB cluster.
authType
- The authentication type for the Elastic DocumentDB cluster.Auth
public Cluster withAuthType(Auth authType)
The authentication type for the Elastic DocumentDB cluster.
authType
- The authentication type for the Elastic DocumentDB cluster.Auth
public void setClusterArn(String clusterArn)
The arn of the Elastic DocumentDB cluster.
clusterArn
- The arn of the Elastic DocumentDB cluster.public String getClusterArn()
The arn of the Elastic DocumentDB cluster.
public Cluster withClusterArn(String clusterArn)
The arn of the Elastic DocumentDB cluster.
clusterArn
- The arn of the Elastic DocumentDB cluster.public void setClusterEndpoint(String clusterEndpoint)
The URL used to connect to the Elastic DocumentDB cluster.
clusterEndpoint
- The URL used to connect to the Elastic DocumentDB cluster.public String getClusterEndpoint()
The URL used to connect to the Elastic DocumentDB cluster.
public Cluster withClusterEndpoint(String clusterEndpoint)
The URL used to connect to the Elastic DocumentDB cluster.
clusterEndpoint
- The URL used to connect to the Elastic DocumentDB cluster.public void setClusterName(String clusterName)
The name of the Elastic DocumentDB cluster.
clusterName
- The name of the Elastic DocumentDB cluster.public String getClusterName()
The name of the Elastic DocumentDB cluster.
public Cluster withClusterName(String clusterName)
The name of the Elastic DocumentDB cluster.
clusterName
- The name of the Elastic DocumentDB cluster.public void setCreateTime(String createTime)
The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).
createTime
- The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).public String getCreateTime()
The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).
public Cluster withCreateTime(String createTime)
The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).
createTime
- The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).public void setKmsKeyId(String kmsKeyId)
The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
kmsKeyId
- The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.public String getKmsKeyId()
The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
public Cluster withKmsKeyId(String kmsKeyId)
The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
kmsKeyId
- The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
preferredMaintenanceWindow
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
public String getPreferredMaintenanceWindow()
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
Format: ddd:hh24:mi-ddd:hh24:mi
public Cluster withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
preferredMaintenanceWindow
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
public void setShardCapacity(Integer shardCapacity)
The capacity of each shard in the Elastic DocumentDB cluster.
shardCapacity
- The capacity of each shard in the Elastic DocumentDB cluster.public Integer getShardCapacity()
The capacity of each shard in the Elastic DocumentDB cluster.
public Cluster withShardCapacity(Integer shardCapacity)
The capacity of each shard in the Elastic DocumentDB cluster.
shardCapacity
- The capacity of each shard in the Elastic DocumentDB cluster.public void setShardCount(Integer shardCount)
The number of shards in the Elastic DocumentDB cluster.
shardCount
- The number of shards in the Elastic DocumentDB cluster.public Integer getShardCount()
The number of shards in the Elastic DocumentDB cluster.
public Cluster withShardCount(Integer shardCount)
The number of shards in the Elastic DocumentDB cluster.
shardCount
- The number of shards in the Elastic DocumentDB cluster.public void setStatus(String status)
The status of the Elastic DocumentDB cluster.
status
- The status of the Elastic DocumentDB cluster.Status
public String getStatus()
The status of the Elastic DocumentDB cluster.
Status
public Cluster withStatus(String status)
The status of the Elastic DocumentDB cluster.
status
- The status of the Elastic DocumentDB cluster.Status
public Cluster withStatus(Status status)
The status of the Elastic DocumentDB cluster.
status
- The status of the Elastic DocumentDB cluster.Status
public List<String> getSubnetIds()
The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
public void setSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
subnetIds
- The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.public Cluster withSubnetIds(String... subnetIds)
The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.public Cluster withSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
subnetIds
- The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.public List<String> getVpcSecurityGroupIds()
A list of EC2 VPC security groups associated with this cluster.
public void setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups associated with this cluster.
vpcSecurityGroupIds
- A list of EC2 VPC security groups associated with this cluster.public Cluster withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of EC2 VPC security groups associated with this cluster.
NOTE: This method appends the values to the existing list (if any). Use
setVpcSecurityGroupIds(java.util.Collection)
or withVpcSecurityGroupIds(java.util.Collection)
if you want to override the existing values.
vpcSecurityGroupIds
- A list of EC2 VPC security groups associated with this cluster.public Cluster withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups associated with this cluster.
vpcSecurityGroupIds
- A list of EC2 VPC security groups associated with this cluster.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.