@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Server extends Object implements Serializable, Cloneable, StructuredPojo
Describes a configuration management server.
Constructor and Description |
---|
Server() |
Modifier and Type | Method and Description |
---|---|
Server |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAssociatePublicIpAddress()
Associate a public IP address with a server that you are launching.
|
Integer |
getBackupRetentionCount()
The number of automated backups to keep.
|
String |
getCloudFormationStackArn()
The ARN of the CloudFormation stack that was used to create the server.
|
Date |
getCreatedAt()
Time stamp of server creation.
|
Boolean |
getDisableAutomatedBackup()
Disables automated backups.
|
String |
getEndpoint()
A DNS name that can be used to access the engine.
|
String |
getEngine()
The engine type of the server.
|
List<EngineAttribute> |
getEngineAttributes()
The response of a createServer() request returns the master credential to access the server in EngineAttributes.
|
String |
getEngineModel()
The engine model of the server.
|
String |
getEngineVersion()
The engine version of the server.
|
String |
getInstanceProfileArn()
The instance profile ARN of the server.
|
String |
getInstanceType()
The instance type for the server, as specified in the CloudFormation stack.
|
String |
getKeyPair()
The key pair associated with the server.
|
String |
getMaintenanceStatus()
The status of the most recent server maintenance run.
|
String |
getPreferredBackupWindow()
The preferred backup period specified for the server.
|
String |
getPreferredMaintenanceWindow()
The preferred maintenance period specified for the server.
|
List<String> |
getSecurityGroupIds()
The security group IDs for the server, as specified in the CloudFormation stack.
|
String |
getServerArn()
The ARN of the server.
|
String |
getServerName()
The name of the server.
|
String |
getServiceRoleArn()
The service role ARN used to create the server.
|
String |
getStatus()
The server's status.
|
String |
getStatusReason()
Depending on the server status, this field has either a human-readable message (such as a create or backup
error), or an escaped block of JSON (used for health check results).
|
List<String> |
getSubnetIds()
The subnet IDs specified in a CreateServer request.
|
int |
hashCode() |
Boolean |
isAssociatePublicIpAddress()
Associate a public IP address with a server that you are launching.
|
Boolean |
isDisableAutomatedBackup()
Disables automated backups.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociatePublicIpAddress(Boolean associatePublicIpAddress)
Associate a public IP address with a server that you are launching.
|
void |
setBackupRetentionCount(Integer backupRetentionCount)
The number of automated backups to keep.
|
void |
setCloudFormationStackArn(String cloudFormationStackArn)
The ARN of the CloudFormation stack that was used to create the server.
|
void |
setCreatedAt(Date createdAt)
Time stamp of server creation.
|
void |
setDisableAutomatedBackup(Boolean disableAutomatedBackup)
Disables automated backups.
|
void |
setEndpoint(String endpoint)
A DNS name that can be used to access the engine.
|
void |
setEngine(String engine)
The engine type of the server.
|
void |
setEngineAttributes(Collection<EngineAttribute> engineAttributes)
The response of a createServer() request returns the master credential to access the server in EngineAttributes.
|
void |
setEngineModel(String engineModel)
The engine model of the server.
|
void |
setEngineVersion(String engineVersion)
The engine version of the server.
|
void |
setInstanceProfileArn(String instanceProfileArn)
The instance profile ARN of the server.
|
void |
setInstanceType(String instanceType)
The instance type for the server, as specified in the CloudFormation stack.
|
void |
setKeyPair(String keyPair)
The key pair associated with the server.
|
void |
setMaintenanceStatus(MaintenanceStatus maintenanceStatus)
The status of the most recent server maintenance run.
|
void |
setMaintenanceStatus(String maintenanceStatus)
The status of the most recent server maintenance run.
|
void |
setPreferredBackupWindow(String preferredBackupWindow)
The preferred backup period specified for the server.
|
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The preferred maintenance period specified for the server.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The security group IDs for the server, as specified in the CloudFormation stack.
|
void |
setServerArn(String serverArn)
The ARN of the server.
|
void |
setServerName(String serverName)
The name of the server.
|
void |
setServiceRoleArn(String serviceRoleArn)
The service role ARN used to create the server.
|
void |
setStatus(ServerStatus status)
The server's status.
|
void |
setStatus(String status)
The server's status.
|
void |
setStatusReason(String statusReason)
Depending on the server status, this field has either a human-readable message (such as a create or backup
error), or an escaped block of JSON (used for health check results).
|
void |
setSubnetIds(Collection<String> subnetIds)
The subnet IDs specified in a CreateServer request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Server |
withAssociatePublicIpAddress(Boolean associatePublicIpAddress)
Associate a public IP address with a server that you are launching.
|
Server |
withBackupRetentionCount(Integer backupRetentionCount)
The number of automated backups to keep.
|
Server |
withCloudFormationStackArn(String cloudFormationStackArn)
The ARN of the CloudFormation stack that was used to create the server.
|
Server |
withCreatedAt(Date createdAt)
Time stamp of server creation.
|
Server |
withDisableAutomatedBackup(Boolean disableAutomatedBackup)
Disables automated backups.
|
Server |
withEndpoint(String endpoint)
A DNS name that can be used to access the engine.
|
Server |
withEngine(String engine)
The engine type of the server.
|
Server |
withEngineAttributes(Collection<EngineAttribute> engineAttributes)
The response of a createServer() request returns the master credential to access the server in EngineAttributes.
|
Server |
withEngineAttributes(EngineAttribute... engineAttributes)
The response of a createServer() request returns the master credential to access the server in EngineAttributes.
|
Server |
withEngineModel(String engineModel)
The engine model of the server.
|
Server |
withEngineVersion(String engineVersion)
The engine version of the server.
|
Server |
withInstanceProfileArn(String instanceProfileArn)
The instance profile ARN of the server.
|
Server |
withInstanceType(String instanceType)
The instance type for the server, as specified in the CloudFormation stack.
|
Server |
withKeyPair(String keyPair)
The key pair associated with the server.
|
Server |
withMaintenanceStatus(MaintenanceStatus maintenanceStatus)
The status of the most recent server maintenance run.
|
Server |
withMaintenanceStatus(String maintenanceStatus)
The status of the most recent server maintenance run.
|
Server |
withPreferredBackupWindow(String preferredBackupWindow)
The preferred backup period specified for the server.
|
Server |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The preferred maintenance period specified for the server.
|
Server |
withSecurityGroupIds(Collection<String> securityGroupIds)
The security group IDs for the server, as specified in the CloudFormation stack.
|
Server |
withSecurityGroupIds(String... securityGroupIds)
The security group IDs for the server, as specified in the CloudFormation stack.
|
Server |
withServerArn(String serverArn)
The ARN of the server.
|
Server |
withServerName(String serverName)
The name of the server.
|
Server |
withServiceRoleArn(String serviceRoleArn)
The service role ARN used to create the server.
|
Server |
withStatus(ServerStatus status)
The server's status.
|
Server |
withStatus(String status)
The server's status.
|
Server |
withStatusReason(String statusReason)
Depending on the server status, this field has either a human-readable message (such as a create or backup
error), or an escaped block of JSON (used for health check results).
|
Server |
withSubnetIds(Collection<String> subnetIds)
The subnet IDs specified in a CreateServer request.
|
Server |
withSubnetIds(String... subnetIds)
The subnet IDs specified in a CreateServer request.
|
public void setAssociatePublicIpAddress(Boolean associatePublicIpAddress)
Associate a public IP address with a server that you are launching.
associatePublicIpAddress
- Associate a public IP address with a server that you are launching.public Boolean getAssociatePublicIpAddress()
Associate a public IP address with a server that you are launching.
public Server withAssociatePublicIpAddress(Boolean associatePublicIpAddress)
Associate a public IP address with a server that you are launching.
associatePublicIpAddress
- Associate a public IP address with a server that you are launching.public Boolean isAssociatePublicIpAddress()
Associate a public IP address with a server that you are launching.
public void setBackupRetentionCount(Integer backupRetentionCount)
The number of automated backups to keep.
backupRetentionCount
- The number of automated backups to keep.public Integer getBackupRetentionCount()
The number of automated backups to keep.
public Server withBackupRetentionCount(Integer backupRetentionCount)
The number of automated backups to keep.
backupRetentionCount
- The number of automated backups to keep.public void setServerName(String serverName)
The name of the server.
serverName
- The name of the server.public String getServerName()
The name of the server.
public Server withServerName(String serverName)
The name of the server.
serverName
- The name of the server.public void setCreatedAt(Date createdAt)
Time stamp of server creation. Example 2016-07-29T13:38:47.520Z
createdAt
- Time stamp of server creation. Example 2016-07-29T13:38:47.520Z
public Date getCreatedAt()
Time stamp of server creation. Example 2016-07-29T13:38:47.520Z
2016-07-29T13:38:47.520Z
public Server withCreatedAt(Date createdAt)
Time stamp of server creation. Example 2016-07-29T13:38:47.520Z
createdAt
- Time stamp of server creation. Example 2016-07-29T13:38:47.520Z
public void setCloudFormationStackArn(String cloudFormationStackArn)
The ARN of the CloudFormation stack that was used to create the server.
cloudFormationStackArn
- The ARN of the CloudFormation stack that was used to create the server.public String getCloudFormationStackArn()
The ARN of the CloudFormation stack that was used to create the server.
public Server withCloudFormationStackArn(String cloudFormationStackArn)
The ARN of the CloudFormation stack that was used to create the server.
cloudFormationStackArn
- The ARN of the CloudFormation stack that was used to create the server.public void setDisableAutomatedBackup(Boolean disableAutomatedBackup)
Disables automated backups. The number of stored backups is dependent on the value of PreferredBackupCount.
disableAutomatedBackup
- Disables automated backups. The number of stored backups is dependent on the value of
PreferredBackupCount.public Boolean getDisableAutomatedBackup()
Disables automated backups. The number of stored backups is dependent on the value of PreferredBackupCount.
public Server withDisableAutomatedBackup(Boolean disableAutomatedBackup)
Disables automated backups. The number of stored backups is dependent on the value of PreferredBackupCount.
disableAutomatedBackup
- Disables automated backups. The number of stored backups is dependent on the value of
PreferredBackupCount.public Boolean isDisableAutomatedBackup()
Disables automated backups. The number of stored backups is dependent on the value of PreferredBackupCount.
public void setEndpoint(String endpoint)
A DNS name that can be used to access the engine. Example: myserver-asdfghjkl.us-east-1.opsworks.io
endpoint
- A DNS name that can be used to access the engine. Example:
myserver-asdfghjkl.us-east-1.opsworks.io
public String getEndpoint()
A DNS name that can be used to access the engine. Example: myserver-asdfghjkl.us-east-1.opsworks.io
myserver-asdfghjkl.us-east-1.opsworks.io
public Server withEndpoint(String endpoint)
A DNS name that can be used to access the engine. Example: myserver-asdfghjkl.us-east-1.opsworks.io
endpoint
- A DNS name that can be used to access the engine. Example:
myserver-asdfghjkl.us-east-1.opsworks.io
public void setEngine(String engine)
The engine type of the server. The valid value in this release is Chef
.
engine
- The engine type of the server. The valid value in this release is Chef
.public String getEngine()
The engine type of the server. The valid value in this release is Chef
.
Chef
.public Server withEngine(String engine)
The engine type of the server. The valid value in this release is Chef
.
engine
- The engine type of the server. The valid value in this release is Chef
.public void setEngineModel(String engineModel)
The engine model of the server. The valid value in this release is Single
.
engineModel
- The engine model of the server. The valid value in this release is Single
.public String getEngineModel()
The engine model of the server. The valid value in this release is Single
.
Single
.public Server withEngineModel(String engineModel)
The engine model of the server. The valid value in this release is Single
.
engineModel
- The engine model of the server. The valid value in this release is Single
.public List<EngineAttribute> getEngineAttributes()
The response of a createServer() request returns the master credential to access the server in EngineAttributes. These credentials are not stored by AWS OpsWorks for Chef Automate; they are returned only as part of the result of createServer().
Attributes returned in a createServer response:
CHEF_PIVOTAL_KEY
: A base64-encoded RSA private key that is generated by AWS OpsWorks for Chef
Automate. This private key is required to access the Chef API.
CHEF_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file contains a Chef starter kit, which
includes a README, a configuration file, and the required RSA private key. Save this file, unzip it, and then
change to the directory where you've unzipped the file contents. From this directory, you can run Knife commands.
Attributes returned in a createServer response:
CHEF_PIVOTAL_KEY
: A base64-encoded RSA private key that is generated by AWS OpsWorks for
Chef Automate. This private key is required to access the Chef API.
CHEF_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file contains a Chef starter kit, which
includes a README, a configuration file, and the required RSA private key. Save this file, unzip it, and
then change to the directory where you've unzipped the file contents. From this directory, you can run
Knife commands.
public void setEngineAttributes(Collection<EngineAttribute> engineAttributes)
The response of a createServer() request returns the master credential to access the server in EngineAttributes. These credentials are not stored by AWS OpsWorks for Chef Automate; they are returned only as part of the result of createServer().
Attributes returned in a createServer response:
CHEF_PIVOTAL_KEY
: A base64-encoded RSA private key that is generated by AWS OpsWorks for Chef
Automate. This private key is required to access the Chef API.
CHEF_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file contains a Chef starter kit, which
includes a README, a configuration file, and the required RSA private key. Save this file, unzip it, and then
change to the directory where you've unzipped the file contents. From this directory, you can run Knife commands.
engineAttributes
- The response of a createServer() request returns the master credential to access the server in
EngineAttributes. These credentials are not stored by AWS OpsWorks for Chef Automate; they are returned
only as part of the result of createServer().
Attributes returned in a createServer response:
CHEF_PIVOTAL_KEY
: A base64-encoded RSA private key that is generated by AWS OpsWorks for Chef
Automate. This private key is required to access the Chef API.
CHEF_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file contains a Chef starter kit, which
includes a README, a configuration file, and the required RSA private key. Save this file, unzip it, and
then change to the directory where you've unzipped the file contents. From this directory, you can run
Knife commands.
public Server withEngineAttributes(EngineAttribute... engineAttributes)
The response of a createServer() request returns the master credential to access the server in EngineAttributes. These credentials are not stored by AWS OpsWorks for Chef Automate; they are returned only as part of the result of createServer().
Attributes returned in a createServer response:
CHEF_PIVOTAL_KEY
: A base64-encoded RSA private key that is generated by AWS OpsWorks for Chef
Automate. This private key is required to access the Chef API.
CHEF_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file contains a Chef starter kit, which
includes a README, a configuration file, and the required RSA private key. Save this file, unzip it, and then
change to the directory where you've unzipped the file contents. From this directory, you can run Knife commands.
NOTE: This method appends the values to the existing list (if any). Use
setEngineAttributes(java.util.Collection)
or withEngineAttributes(java.util.Collection)
if you
want to override the existing values.
engineAttributes
- The response of a createServer() request returns the master credential to access the server in
EngineAttributes. These credentials are not stored by AWS OpsWorks for Chef Automate; they are returned
only as part of the result of createServer().
Attributes returned in a createServer response:
CHEF_PIVOTAL_KEY
: A base64-encoded RSA private key that is generated by AWS OpsWorks for Chef
Automate. This private key is required to access the Chef API.
CHEF_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file contains a Chef starter kit, which
includes a README, a configuration file, and the required RSA private key. Save this file, unzip it, and
then change to the directory where you've unzipped the file contents. From this directory, you can run
Knife commands.
public Server withEngineAttributes(Collection<EngineAttribute> engineAttributes)
The response of a createServer() request returns the master credential to access the server in EngineAttributes. These credentials are not stored by AWS OpsWorks for Chef Automate; they are returned only as part of the result of createServer().
Attributes returned in a createServer response:
CHEF_PIVOTAL_KEY
: A base64-encoded RSA private key that is generated by AWS OpsWorks for Chef
Automate. This private key is required to access the Chef API.
CHEF_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file contains a Chef starter kit, which
includes a README, a configuration file, and the required RSA private key. Save this file, unzip it, and then
change to the directory where you've unzipped the file contents. From this directory, you can run Knife commands.
engineAttributes
- The response of a createServer() request returns the master credential to access the server in
EngineAttributes. These credentials are not stored by AWS OpsWorks for Chef Automate; they are returned
only as part of the result of createServer().
Attributes returned in a createServer response:
CHEF_PIVOTAL_KEY
: A base64-encoded RSA private key that is generated by AWS OpsWorks for Chef
Automate. This private key is required to access the Chef API.
CHEF_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file contains a Chef starter kit, which
includes a README, a configuration file, and the required RSA private key. Save this file, unzip it, and
then change to the directory where you've unzipped the file contents. From this directory, you can run
Knife commands.
public void setEngineVersion(String engineVersion)
The engine version of the server. Because Chef is the engine available in this release, the valid value for
EngineVersion is 12
.
engineVersion
- The engine version of the server. Because Chef is the engine available in this release, the valid value
for EngineVersion is 12
.public String getEngineVersion()
The engine version of the server. Because Chef is the engine available in this release, the valid value for
EngineVersion is 12
.
12
.public Server withEngineVersion(String engineVersion)
The engine version of the server. Because Chef is the engine available in this release, the valid value for
EngineVersion is 12
.
engineVersion
- The engine version of the server. Because Chef is the engine available in this release, the valid value
for EngineVersion is 12
.public void setInstanceProfileArn(String instanceProfileArn)
The instance profile ARN of the server.
instanceProfileArn
- The instance profile ARN of the server.public String getInstanceProfileArn()
The instance profile ARN of the server.
public Server withInstanceProfileArn(String instanceProfileArn)
The instance profile ARN of the server.
instanceProfileArn
- The instance profile ARN of the server.public void setInstanceType(String instanceType)
The instance type for the server, as specified in the CloudFormation stack. This might not be the same instance type that is shown in the EC2 console.
instanceType
- The instance type for the server, as specified in the CloudFormation stack. This might not be the same
instance type that is shown in the EC2 console.public String getInstanceType()
The instance type for the server, as specified in the CloudFormation stack. This might not be the same instance type that is shown in the EC2 console.
public Server withInstanceType(String instanceType)
The instance type for the server, as specified in the CloudFormation stack. This might not be the same instance type that is shown in the EC2 console.
instanceType
- The instance type for the server, as specified in the CloudFormation stack. This might not be the same
instance type that is shown in the EC2 console.public void setKeyPair(String keyPair)
The key pair associated with the server.
keyPair
- The key pair associated with the server.public String getKeyPair()
The key pair associated with the server.
public Server withKeyPair(String keyPair)
The key pair associated with the server.
keyPair
- The key pair associated with the server.public void setMaintenanceStatus(String maintenanceStatus)
The status of the most recent server maintenance run. Shows SUCCESS
or FAILED
.
maintenanceStatus
- The status of the most recent server maintenance run. Shows SUCCESS
or FAILED
.MaintenanceStatus
public String getMaintenanceStatus()
The status of the most recent server maintenance run. Shows SUCCESS
or FAILED
.
SUCCESS
or FAILED
.MaintenanceStatus
public Server withMaintenanceStatus(String maintenanceStatus)
The status of the most recent server maintenance run. Shows SUCCESS
or FAILED
.
maintenanceStatus
- The status of the most recent server maintenance run. Shows SUCCESS
or FAILED
.MaintenanceStatus
public void setMaintenanceStatus(MaintenanceStatus maintenanceStatus)
The status of the most recent server maintenance run. Shows SUCCESS
or FAILED
.
maintenanceStatus
- The status of the most recent server maintenance run. Shows SUCCESS
or FAILED
.MaintenanceStatus
public Server withMaintenanceStatus(MaintenanceStatus maintenanceStatus)
The status of the most recent server maintenance run. Shows SUCCESS
or FAILED
.
maintenanceStatus
- The status of the most recent server maintenance run. Shows SUCCESS
or FAILED
.MaintenanceStatus
public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The preferred maintenance period specified for the server.
preferredMaintenanceWindow
- The preferred maintenance period specified for the server.public String getPreferredMaintenanceWindow()
The preferred maintenance period specified for the server.
public Server withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The preferred maintenance period specified for the server.
preferredMaintenanceWindow
- The preferred maintenance period specified for the server.public void setPreferredBackupWindow(String preferredBackupWindow)
The preferred backup period specified for the server.
preferredBackupWindow
- The preferred backup period specified for the server.public String getPreferredBackupWindow()
The preferred backup period specified for the server.
public Server withPreferredBackupWindow(String preferredBackupWindow)
The preferred backup period specified for the server.
preferredBackupWindow
- The preferred backup period specified for the server.public List<String> getSecurityGroupIds()
The security group IDs for the server, as specified in the CloudFormation stack. These might not be the same security groups that are shown in the EC2 console.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The security group IDs for the server, as specified in the CloudFormation stack. These might not be the same security groups that are shown in the EC2 console.
securityGroupIds
- The security group IDs for the server, as specified in the CloudFormation stack. These might not be the
same security groups that are shown in the EC2 console.public Server withSecurityGroupIds(String... securityGroupIds)
The security group IDs for the server, as specified in the CloudFormation stack. These might not be the same security groups that are shown in the EC2 console.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- The security group IDs for the server, as specified in the CloudFormation stack. These might not be the
same security groups that are shown in the EC2 console.public Server withSecurityGroupIds(Collection<String> securityGroupIds)
The security group IDs for the server, as specified in the CloudFormation stack. These might not be the same security groups that are shown in the EC2 console.
securityGroupIds
- The security group IDs for the server, as specified in the CloudFormation stack. These might not be the
same security groups that are shown in the EC2 console.public void setServiceRoleArn(String serviceRoleArn)
The service role ARN used to create the server.
serviceRoleArn
- The service role ARN used to create the server.public String getServiceRoleArn()
The service role ARN used to create the server.
public Server withServiceRoleArn(String serviceRoleArn)
The service role ARN used to create the server.
serviceRoleArn
- The service role ARN used to create the server.public void setStatus(String status)
The server's status. This field displays the states of actions in progress, such as creating, running, or backing up the server, as well as the server's health state.
status
- The server's status. This field displays the states of actions in progress, such as creating, running, or
backing up the server, as well as the server's health state.ServerStatus
public String getStatus()
The server's status. This field displays the states of actions in progress, such as creating, running, or backing up the server, as well as the server's health state.
ServerStatus
public Server withStatus(String status)
The server's status. This field displays the states of actions in progress, such as creating, running, or backing up the server, as well as the server's health state.
status
- The server's status. This field displays the states of actions in progress, such as creating, running, or
backing up the server, as well as the server's health state.ServerStatus
public void setStatus(ServerStatus status)
The server's status. This field displays the states of actions in progress, such as creating, running, or backing up the server, as well as the server's health state.
status
- The server's status. This field displays the states of actions in progress, such as creating, running, or
backing up the server, as well as the server's health state.ServerStatus
public Server withStatus(ServerStatus status)
The server's status. This field displays the states of actions in progress, such as creating, running, or backing up the server, as well as the server's health state.
status
- The server's status. This field displays the states of actions in progress, such as creating, running, or
backing up the server, as well as the server's health state.ServerStatus
public void setStatusReason(String statusReason)
Depending on the server status, this field has either a human-readable message (such as a create or backup error), or an escaped block of JSON (used for health check results).
statusReason
- Depending on the server status, this field has either a human-readable message (such as a create or backup
error), or an escaped block of JSON (used for health check results).public String getStatusReason()
Depending on the server status, this field has either a human-readable message (such as a create or backup error), or an escaped block of JSON (used for health check results).
public Server withStatusReason(String statusReason)
Depending on the server status, this field has either a human-readable message (such as a create or backup error), or an escaped block of JSON (used for health check results).
statusReason
- Depending on the server status, this field has either a human-readable message (such as a create or backup
error), or an escaped block of JSON (used for health check results).public List<String> getSubnetIds()
The subnet IDs specified in a CreateServer request.
public void setSubnetIds(Collection<String> subnetIds)
The subnet IDs specified in a CreateServer request.
subnetIds
- The subnet IDs specified in a CreateServer request.public Server withSubnetIds(String... subnetIds)
The subnet IDs specified in a CreateServer request.
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 subnet IDs specified in a CreateServer request.public Server withSubnetIds(Collection<String> subnetIds)
The subnet IDs specified in a CreateServer request.
subnetIds
- The subnet IDs specified in a CreateServer request.public void setServerArn(String serverArn)
The ARN of the server.
serverArn
- The ARN of the server.public String getServerArn()
The ARN of the server.
public Server withServerArn(String serverArn)
The ARN of the server.
serverArn
- The ARN of the server.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.