public class Stack
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a stack.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
agentVersion
The agent version.
|
private java.lang.String |
arn
The stack's ARN.
|
private SdkInternalMap<java.lang.String,java.lang.String> |
attributes
The stack's attributes.
|
private ChefConfiguration |
chefConfiguration
A
ChefConfiguration object that specifies whether to enable
Berkshelf and the Berkshelf version. |
private StackConfigurationManager |
configurationManager
The configuration manager.
|
private java.lang.String |
createdAt
The date when the stack was created.
|
private Source |
customCookbooksSource |
private java.lang.String |
customJson
A JSON object that contains user-defined attributes to be added to the
stack configuration and deployment attributes.
|
private java.lang.String |
defaultAvailabilityZone
The stack's default Availability Zone.
|
private java.lang.String |
defaultInstanceProfileArn
The ARN of an IAM profile that is the default profile for all of the
stack's EC2 instances.
|
private java.lang.String |
defaultOs
The stack's default operating system.
|
private java.lang.String |
defaultRootDeviceType
The default root device type.
|
private java.lang.String |
defaultSshKeyName
A default Amazon EC2 key pair for the stack's instances.
|
private java.lang.String |
defaultSubnetId
The default subnet ID; applicable only if the stack is running in a VPC.
|
private java.lang.String |
hostnameTheme
The stack host name theme, with spaces replaced by underscores.
|
private java.lang.String |
name
The stack name.
|
private java.lang.String |
region
The stack AWS region, such as "us-east-1".
|
private java.lang.String |
serviceRoleArn
The stack AWS Identity and Access Management (IAM) role.
|
private java.lang.String |
stackId
The stack ID.
|
private java.lang.Boolean |
useCustomCookbooks
Whether the stack uses custom cookbooks.
|
private java.lang.Boolean |
useOpsworksSecurityGroups
Whether the stack automatically associates the AWS OpsWorks built-in
security groups with the stack's layers.
|
private java.lang.String |
vpcId
The VPC ID; applicable only if the stack is running in a VPC.
|
Constructor and Description |
---|
Stack() |
Modifier and Type | Method and Description |
---|---|
Stack |
addAttributesEntry(java.lang.String key,
java.lang.String value) |
Stack |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
Stack |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAgentVersion()
The agent version.
|
java.lang.String |
getArn()
The stack's ARN.
|
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
The stack's attributes.
|
ChefConfiguration |
getChefConfiguration()
A
ChefConfiguration object that specifies whether to enable
Berkshelf and the Berkshelf version. |
StackConfigurationManager |
getConfigurationManager()
The configuration manager.
|
java.lang.String |
getCreatedAt()
The date when the stack was created.
|
Source |
getCustomCookbooksSource() |
java.lang.String |
getCustomJson()
A JSON object that contains user-defined attributes to be added to the
stack configuration and deployment attributes.
|
java.lang.String |
getDefaultAvailabilityZone()
The stack's default Availability Zone.
|
java.lang.String |
getDefaultInstanceProfileArn()
The ARN of an IAM profile that is the default profile for all of the
stack's EC2 instances.
|
java.lang.String |
getDefaultOs()
The stack's default operating system.
|
java.lang.String |
getDefaultRootDeviceType()
The default root device type.
|
java.lang.String |
getDefaultSshKeyName()
A default Amazon EC2 key pair for the stack's instances.
|
java.lang.String |
getDefaultSubnetId()
The default subnet ID; applicable only if the stack is running in a VPC.
|
java.lang.String |
getHostnameTheme()
The stack host name theme, with spaces replaced by underscores.
|
java.lang.String |
getName()
The stack name.
|
java.lang.String |
getRegion()
The stack AWS region, such as "us-east-1".
|
java.lang.String |
getServiceRoleArn()
The stack AWS Identity and Access Management (IAM) role.
|
java.lang.String |
getStackId()
The stack ID.
|
java.lang.Boolean |
getUseCustomCookbooks()
Whether the stack uses custom cookbooks.
|
java.lang.Boolean |
getUseOpsworksSecurityGroups()
Whether the stack automatically associates the AWS OpsWorks built-in
security groups with the stack's layers.
|
java.lang.String |
getVpcId()
The VPC ID; applicable only if the stack is running in a VPC.
|
int |
hashCode() |
java.lang.Boolean |
isUseCustomCookbooks()
Whether the stack uses custom cookbooks.
|
java.lang.Boolean |
isUseOpsworksSecurityGroups()
Whether the stack automatically associates the AWS OpsWorks built-in
security groups with the stack's layers.
|
void |
setAgentVersion(java.lang.String agentVersion)
The agent version.
|
void |
setArn(java.lang.String arn)
The stack's ARN.
|
void |
setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
The stack's attributes.
|
void |
setChefConfiguration(ChefConfiguration chefConfiguration)
A
ChefConfiguration object that specifies whether to enable
Berkshelf and the Berkshelf version. |
void |
setConfigurationManager(StackConfigurationManager configurationManager)
The configuration manager.
|
void |
setCreatedAt(java.lang.String createdAt)
The date when the stack was created.
|
void |
setCustomCookbooksSource(Source customCookbooksSource) |
void |
setCustomJson(java.lang.String customJson)
A JSON object that contains user-defined attributes to be added to the
stack configuration and deployment attributes.
|
void |
setDefaultAvailabilityZone(java.lang.String defaultAvailabilityZone)
The stack's default Availability Zone.
|
void |
setDefaultInstanceProfileArn(java.lang.String defaultInstanceProfileArn)
The ARN of an IAM profile that is the default profile for all of the
stack's EC2 instances.
|
void |
setDefaultOs(java.lang.String defaultOs)
The stack's default operating system.
|
void |
setDefaultRootDeviceType(RootDeviceType defaultRootDeviceType)
The default root device type.
|
void |
setDefaultRootDeviceType(java.lang.String defaultRootDeviceType)
The default root device type.
|
void |
setDefaultSshKeyName(java.lang.String defaultSshKeyName)
A default Amazon EC2 key pair for the stack's instances.
|
void |
setDefaultSubnetId(java.lang.String defaultSubnetId)
The default subnet ID; applicable only if the stack is running in a VPC.
|
void |
setHostnameTheme(java.lang.String hostnameTheme)
The stack host name theme, with spaces replaced by underscores.
|
void |
setName(java.lang.String name)
The stack name.
|
void |
setRegion(java.lang.String region)
The stack AWS region, such as "us-east-1".
|
void |
setServiceRoleArn(java.lang.String serviceRoleArn)
The stack AWS Identity and Access Management (IAM) role.
|
void |
setStackId(java.lang.String stackId)
The stack ID.
|
void |
setUseCustomCookbooks(java.lang.Boolean useCustomCookbooks)
Whether the stack uses custom cookbooks.
|
void |
setUseOpsworksSecurityGroups(java.lang.Boolean useOpsworksSecurityGroups)
Whether the stack automatically associates the AWS OpsWorks built-in
security groups with the stack's layers.
|
void |
setVpcId(java.lang.String vpcId)
The VPC ID; applicable only if the stack is running in a VPC.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Stack |
withAgentVersion(java.lang.String agentVersion)
The agent version.
|
Stack |
withArn(java.lang.String arn)
The stack's ARN.
|
Stack |
withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
The stack's attributes.
|
Stack |
withChefConfiguration(ChefConfiguration chefConfiguration)
A
ChefConfiguration object that specifies whether to enable
Berkshelf and the Berkshelf version. |
Stack |
withConfigurationManager(StackConfigurationManager configurationManager)
The configuration manager.
|
Stack |
withCreatedAt(java.lang.String createdAt)
The date when the stack was created.
|
Stack |
withCustomCookbooksSource(Source customCookbooksSource) |
Stack |
withCustomJson(java.lang.String customJson)
A JSON object that contains user-defined attributes to be added to the
stack configuration and deployment attributes.
|
Stack |
withDefaultAvailabilityZone(java.lang.String defaultAvailabilityZone)
The stack's default Availability Zone.
|
Stack |
withDefaultInstanceProfileArn(java.lang.String defaultInstanceProfileArn)
The ARN of an IAM profile that is the default profile for all of the
stack's EC2 instances.
|
Stack |
withDefaultOs(java.lang.String defaultOs)
The stack's default operating system.
|
Stack |
withDefaultRootDeviceType(RootDeviceType defaultRootDeviceType)
The default root device type.
|
Stack |
withDefaultRootDeviceType(java.lang.String defaultRootDeviceType)
The default root device type.
|
Stack |
withDefaultSshKeyName(java.lang.String defaultSshKeyName)
A default Amazon EC2 key pair for the stack's instances.
|
Stack |
withDefaultSubnetId(java.lang.String defaultSubnetId)
The default subnet ID; applicable only if the stack is running in a VPC.
|
Stack |
withHostnameTheme(java.lang.String hostnameTheme)
The stack host name theme, with spaces replaced by underscores.
|
Stack |
withName(java.lang.String name)
The stack name.
|
Stack |
withRegion(java.lang.String region)
The stack AWS region, such as "us-east-1".
|
Stack |
withServiceRoleArn(java.lang.String serviceRoleArn)
The stack AWS Identity and Access Management (IAM) role.
|
Stack |
withStackId(java.lang.String stackId)
The stack ID.
|
Stack |
withUseCustomCookbooks(java.lang.Boolean useCustomCookbooks)
Whether the stack uses custom cookbooks.
|
Stack |
withUseOpsworksSecurityGroups(java.lang.Boolean useOpsworksSecurityGroups)
Whether the stack automatically associates the AWS OpsWorks built-in
security groups with the stack's layers.
|
Stack |
withVpcId(java.lang.String vpcId)
The VPC ID; applicable only if the stack is running in a VPC.
|
private java.lang.String stackId
The stack ID.
private java.lang.String name
The stack name.
private java.lang.String arn
The stack's ARN.
private java.lang.String region
The stack AWS region, such as "us-east-1". For more information about AWS regions, see Regions and Endpoints.
private java.lang.String vpcId
The VPC ID; applicable only if the stack is running in a VPC.
private SdkInternalMap<java.lang.String,java.lang.String> attributes
The stack's attributes.
private java.lang.String serviceRoleArn
The stack AWS Identity and Access Management (IAM) role.
private java.lang.String defaultInstanceProfileArn
The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
private java.lang.String defaultOs
The stack's default operating system.
private java.lang.String hostnameTheme
The stack host name theme, with spaces replaced by underscores.
private java.lang.String defaultAvailabilityZone
The stack's default Availability Zone. For more information, see Regions and Endpoints.
private java.lang.String defaultSubnetId
The default subnet ID; applicable only if the stack is running in a VPC.
private java.lang.String customJson
A JSON object that contains user-defined attributes to be added to the stack configuration and deployment attributes. You can use custom JSON to override the corresponding default stack configuration attribute values or to pass data to recipes. The string should be in the following format and must escape characters such as '"':
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
private StackConfigurationManager configurationManager
The configuration manager.
private ChefConfiguration chefConfiguration
A ChefConfiguration
object that specifies whether to enable
Berkshelf and the Berkshelf version. For more information, see Create a New Stack.
private java.lang.Boolean useCustomCookbooks
Whether the stack uses custom cookbooks.
private java.lang.Boolean useOpsworksSecurityGroups
Whether the stack automatically associates the AWS OpsWorks built-in security groups with the stack's layers.
private Source customCookbooksSource
private java.lang.String defaultSshKeyName
A default Amazon EC2 key pair for the stack's instances. You can override this value when you create or update an instance.
private java.lang.String createdAt
The date when the stack was created.
private java.lang.String defaultRootDeviceType
The default root device type. This value is used by default for all instances in the stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
private java.lang.String agentVersion
The agent version. This parameter is set to LATEST
for
auto-update. or a version number for a fixed agent version.
public void setStackId(java.lang.String stackId)
The stack ID.
stackId
- The stack ID.public java.lang.String getStackId()
The stack ID.
public Stack withStackId(java.lang.String stackId)
The stack ID.
stackId
- The stack ID.public void setName(java.lang.String name)
The stack name.
name
- The stack name.public java.lang.String getName()
The stack name.
public Stack withName(java.lang.String name)
The stack name.
name
- The stack name.public void setArn(java.lang.String arn)
The stack's ARN.
arn
- The stack's ARN.public java.lang.String getArn()
The stack's ARN.
public Stack withArn(java.lang.String arn)
The stack's ARN.
arn
- The stack's ARN.public void setRegion(java.lang.String region)
The stack AWS region, such as "us-east-1". For more information about AWS regions, see Regions and Endpoints.
region
- The stack AWS region, such as "us-east-1". For more information
about AWS regions, see Regions and Endpoints.public java.lang.String getRegion()
The stack AWS region, such as "us-east-1". For more information about AWS regions, see Regions and Endpoints.
public Stack withRegion(java.lang.String region)
The stack AWS region, such as "us-east-1". For more information about AWS regions, see Regions and Endpoints.
region
- The stack AWS region, such as "us-east-1". For more information
about AWS regions, see Regions and Endpoints.public void setVpcId(java.lang.String vpcId)
The VPC ID; applicable only if the stack is running in a VPC.
vpcId
- The VPC ID; applicable only if the stack is running in a VPC.public java.lang.String getVpcId()
The VPC ID; applicable only if the stack is running in a VPC.
public Stack withVpcId(java.lang.String vpcId)
The VPC ID; applicable only if the stack is running in a VPC.
vpcId
- The VPC ID; applicable only if the stack is running in a VPC.public java.util.Map<java.lang.String,java.lang.String> getAttributes()
The stack's attributes.
public void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
The stack's attributes.
attributes
- The stack's attributes.public Stack withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
The stack's attributes.
attributes
- The stack's attributes.public Stack addAttributesEntry(java.lang.String key, java.lang.String value)
public Stack clearAttributesEntries()
public void setServiceRoleArn(java.lang.String serviceRoleArn)
The stack AWS Identity and Access Management (IAM) role.
serviceRoleArn
- The stack AWS Identity and Access Management (IAM) role.public java.lang.String getServiceRoleArn()
The stack AWS Identity and Access Management (IAM) role.
public Stack withServiceRoleArn(java.lang.String serviceRoleArn)
The stack AWS Identity and Access Management (IAM) role.
serviceRoleArn
- The stack AWS Identity and Access Management (IAM) role.public void setDefaultInstanceProfileArn(java.lang.String defaultInstanceProfileArn)
The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
defaultInstanceProfileArn
- The ARN of an IAM profile that is the default profile for all of
the stack's EC2 instances. For more information about IAM ARNs,
see Using Identifiers.public java.lang.String getDefaultInstanceProfileArn()
The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
public Stack withDefaultInstanceProfileArn(java.lang.String defaultInstanceProfileArn)
The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
defaultInstanceProfileArn
- The ARN of an IAM profile that is the default profile for all of
the stack's EC2 instances. For more information about IAM ARNs,
see Using Identifiers.public void setDefaultOs(java.lang.String defaultOs)
The stack's default operating system.
defaultOs
- The stack's default operating system.public java.lang.String getDefaultOs()
The stack's default operating system.
public Stack withDefaultOs(java.lang.String defaultOs)
The stack's default operating system.
defaultOs
- The stack's default operating system.public void setHostnameTheme(java.lang.String hostnameTheme)
The stack host name theme, with spaces replaced by underscores.
hostnameTheme
- The stack host name theme, with spaces replaced by underscores.public java.lang.String getHostnameTheme()
The stack host name theme, with spaces replaced by underscores.
public Stack withHostnameTheme(java.lang.String hostnameTheme)
The stack host name theme, with spaces replaced by underscores.
hostnameTheme
- The stack host name theme, with spaces replaced by underscores.public void setDefaultAvailabilityZone(java.lang.String defaultAvailabilityZone)
The stack's default Availability Zone. For more information, see Regions and Endpoints.
defaultAvailabilityZone
- The stack's default Availability Zone. For more information, see
Regions and Endpoints.public java.lang.String getDefaultAvailabilityZone()
The stack's default Availability Zone. For more information, see Regions and Endpoints.
public Stack withDefaultAvailabilityZone(java.lang.String defaultAvailabilityZone)
The stack's default Availability Zone. For more information, see Regions and Endpoints.
defaultAvailabilityZone
- The stack's default Availability Zone. For more information, see
Regions and Endpoints.public void setDefaultSubnetId(java.lang.String defaultSubnetId)
The default subnet ID; applicable only if the stack is running in a VPC.
defaultSubnetId
- The default subnet ID; applicable only if the stack is running in
a VPC.public java.lang.String getDefaultSubnetId()
The default subnet ID; applicable only if the stack is running in a VPC.
public Stack withDefaultSubnetId(java.lang.String defaultSubnetId)
The default subnet ID; applicable only if the stack is running in a VPC.
defaultSubnetId
- The default subnet ID; applicable only if the stack is running in
a VPC.public void setCustomJson(java.lang.String customJson)
A JSON object that contains user-defined attributes to be added to the stack configuration and deployment attributes. You can use custom JSON to override the corresponding default stack configuration attribute values or to pass data to recipes. The string should be in the following format and must escape characters such as '"':
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
customJson
- A JSON object that contains user-defined attributes to be added to
the stack configuration and deployment attributes. You can use
custom JSON to override the corresponding default stack
configuration attribute values or to pass data to recipes. The
string should be in the following format and must escape
characters such as '"':
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
public java.lang.String getCustomJson()
A JSON object that contains user-defined attributes to be added to the stack configuration and deployment attributes. You can use custom JSON to override the corresponding default stack configuration attribute values or to pass data to recipes. The string should be in the following format and must escape characters such as '"':
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
public Stack withCustomJson(java.lang.String customJson)
A JSON object that contains user-defined attributes to be added to the stack configuration and deployment attributes. You can use custom JSON to override the corresponding default stack configuration attribute values or to pass data to recipes. The string should be in the following format and must escape characters such as '"':
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
customJson
- A JSON object that contains user-defined attributes to be added to
the stack configuration and deployment attributes. You can use
custom JSON to override the corresponding default stack
configuration attribute values or to pass data to recipes. The
string should be in the following format and must escape
characters such as '"':
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
public void setConfigurationManager(StackConfigurationManager configurationManager)
The configuration manager.
configurationManager
- The configuration manager.public StackConfigurationManager getConfigurationManager()
The configuration manager.
public Stack withConfigurationManager(StackConfigurationManager configurationManager)
The configuration manager.
configurationManager
- The configuration manager.public void setChefConfiguration(ChefConfiguration chefConfiguration)
A ChefConfiguration
object that specifies whether to enable
Berkshelf and the Berkshelf version. For more information, see Create a New Stack.
chefConfiguration
- A ChefConfiguration
object that specifies whether to
enable Berkshelf and the Berkshelf version. For more information,
see Create a New Stack.public ChefConfiguration getChefConfiguration()
A ChefConfiguration
object that specifies whether to enable
Berkshelf and the Berkshelf version. For more information, see Create a New Stack.
ChefConfiguration
object that specifies whether to
enable Berkshelf and the Berkshelf version. For more information,
see Create a New Stack.public Stack withChefConfiguration(ChefConfiguration chefConfiguration)
A ChefConfiguration
object that specifies whether to enable
Berkshelf and the Berkshelf version. For more information, see Create a New Stack.
chefConfiguration
- A ChefConfiguration
object that specifies whether to
enable Berkshelf and the Berkshelf version. For more information,
see Create a New Stack.public void setUseCustomCookbooks(java.lang.Boolean useCustomCookbooks)
Whether the stack uses custom cookbooks.
useCustomCookbooks
- Whether the stack uses custom cookbooks.public java.lang.Boolean getUseCustomCookbooks()
Whether the stack uses custom cookbooks.
public Stack withUseCustomCookbooks(java.lang.Boolean useCustomCookbooks)
Whether the stack uses custom cookbooks.
useCustomCookbooks
- Whether the stack uses custom cookbooks.public java.lang.Boolean isUseCustomCookbooks()
Whether the stack uses custom cookbooks.
public void setUseOpsworksSecurityGroups(java.lang.Boolean useOpsworksSecurityGroups)
Whether the stack automatically associates the AWS OpsWorks built-in security groups with the stack's layers.
useOpsworksSecurityGroups
- Whether the stack automatically associates the AWS OpsWorks
built-in security groups with the stack's layers.public java.lang.Boolean getUseOpsworksSecurityGroups()
Whether the stack automatically associates the AWS OpsWorks built-in security groups with the stack's layers.
public Stack withUseOpsworksSecurityGroups(java.lang.Boolean useOpsworksSecurityGroups)
Whether the stack automatically associates the AWS OpsWorks built-in security groups with the stack's layers.
useOpsworksSecurityGroups
- Whether the stack automatically associates the AWS OpsWorks
built-in security groups with the stack's layers.public java.lang.Boolean isUseOpsworksSecurityGroups()
Whether the stack automatically associates the AWS OpsWorks built-in security groups with the stack's layers.
public void setCustomCookbooksSource(Source customCookbooksSource)
customCookbooksSource
- public Source getCustomCookbooksSource()
public Stack withCustomCookbooksSource(Source customCookbooksSource)
customCookbooksSource
- public void setDefaultSshKeyName(java.lang.String defaultSshKeyName)
A default Amazon EC2 key pair for the stack's instances. You can override this value when you create or update an instance.
defaultSshKeyName
- A default Amazon EC2 key pair for the stack's instances. You can
override this value when you create or update an instance.public java.lang.String getDefaultSshKeyName()
A default Amazon EC2 key pair for the stack's instances. You can override this value when you create or update an instance.
public Stack withDefaultSshKeyName(java.lang.String defaultSshKeyName)
A default Amazon EC2 key pair for the stack's instances. You can override this value when you create or update an instance.
defaultSshKeyName
- A default Amazon EC2 key pair for the stack's instances. You can
override this value when you create or update an instance.public void setCreatedAt(java.lang.String createdAt)
The date when the stack was created.
createdAt
- The date when the stack was created.public java.lang.String getCreatedAt()
The date when the stack was created.
public Stack withCreatedAt(java.lang.String createdAt)
The date when the stack was created.
createdAt
- The date when the stack was created.public void setDefaultRootDeviceType(java.lang.String defaultRootDeviceType)
The default root device type. This value is used by default for all instances in the stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
defaultRootDeviceType
- The default root device type. This value is used by default for
all instances in the stack, but you can override it when you
create an instance. For more information, see Storage for the Root Device.RootDeviceType
public java.lang.String getDefaultRootDeviceType()
The default root device type. This value is used by default for all instances in the stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
RootDeviceType
public Stack withDefaultRootDeviceType(java.lang.String defaultRootDeviceType)
The default root device type. This value is used by default for all instances in the stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
defaultRootDeviceType
- The default root device type. This value is used by default for
all instances in the stack, but you can override it when you
create an instance. For more information, see Storage for the Root Device.RootDeviceType
public void setDefaultRootDeviceType(RootDeviceType defaultRootDeviceType)
The default root device type. This value is used by default for all instances in the stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
defaultRootDeviceType
- The default root device type. This value is used by default for
all instances in the stack, but you can override it when you
create an instance. For more information, see Storage for the Root Device.RootDeviceType
public Stack withDefaultRootDeviceType(RootDeviceType defaultRootDeviceType)
The default root device type. This value is used by default for all instances in the stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
defaultRootDeviceType
- The default root device type. This value is used by default for
all instances in the stack, but you can override it when you
create an instance. For more information, see Storage for the Root Device.RootDeviceType
public void setAgentVersion(java.lang.String agentVersion)
The agent version. This parameter is set to LATEST
for
auto-update. or a version number for a fixed agent version.
agentVersion
- The agent version. This parameter is set to LATEST
for auto-update. or a version number for a fixed agent version.public java.lang.String getAgentVersion()
The agent version. This parameter is set to LATEST
for
auto-update. or a version number for a fixed agent version.
LATEST
for auto-update. or a version number for a fixed agent version.public Stack withAgentVersion(java.lang.String agentVersion)
The agent version. This parameter is set to LATEST
for
auto-update. or a version number for a fixed agent version.
agentVersion
- The agent version. This parameter is set to LATEST
for auto-update. or a version number for a fixed agent version.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Stack clone()
clone
in class java.lang.Object