Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class CreateInstanceRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.opsworks.model.CreateInstanceRequest
All Implemented Interfaces:
Serializable

public class CreateInstanceRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the CreateInstance operation.

Creates an instance in a specified stack. For more information, see Adding an Instance to a Layer .

See Also:
AWSOpsWorks.createInstance(CreateInstanceRequest), Serialized Form

Constructor Summary
CreateInstanceRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAmiId()
          A custom AMI ID to be used to create the instance.
 String getArchitecture()
          The instance architecture.
 String getAutoScalingType()
          The instance auto scaling type, which has three possible values: AlwaysRunning: A 24/7 instance, which is not affected by auto scaling. TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule.
 String getAvailabilityZone()
          The instance Availability Zone.
 String getHostname()
          The instance host name.
 Boolean getInstallUpdatesOnBoot()
          Whether to install operating system and package updates when the instance boots.
 String getInstanceType()
          The instance type.
 List<String> getLayerIds()
          An array that contains the instance layer IDs.
 String getOs()
          The instance operating system, which must be set to one of the following.
 String getRootDeviceType()
          The instance root device type.
 String getSshKeyName()
          The instance SSH key name.
 String getStackId()
          The stack ID.
 int hashCode()
           
 Boolean isInstallUpdatesOnBoot()
          Whether to install operating system and package updates when the instance boots.
 void setAmiId(String amiId)
          A custom AMI ID to be used to create the instance.
 void setArchitecture(Architecture architecture)
          The instance architecture.
 void setArchitecture(String architecture)
          The instance architecture.
 void setAutoScalingType(AutoScalingType autoScalingType)
          The instance auto scaling type, which has three possible values: AlwaysRunning: A 24/7 instance, which is not affected by auto scaling. TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule.
 void setAutoScalingType(String autoScalingType)
          The instance auto scaling type, which has three possible values: AlwaysRunning: A 24/7 instance, which is not affected by auto scaling. TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule.
 void setAvailabilityZone(String availabilityZone)
          The instance Availability Zone.
 void setHostname(String hostname)
          The instance host name.
 void setInstallUpdatesOnBoot(Boolean installUpdatesOnBoot)
          Whether to install operating system and package updates when the instance boots.
 void setInstanceType(String instanceType)
          The instance type.
 void setLayerIds(Collection<String> layerIds)
          An array that contains the instance layer IDs.
 void setOs(String os)
          The instance operating system, which must be set to one of the following.
 void setRootDeviceType(RootDeviceType rootDeviceType)
          The instance root device type.
 void setRootDeviceType(String rootDeviceType)
          The instance root device type.
 void setSshKeyName(String sshKeyName)
          The instance SSH key name.
 void setStackId(String stackId)
          The stack ID.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateInstanceRequest withAmiId(String amiId)
          A custom AMI ID to be used to create the instance.
 CreateInstanceRequest withArchitecture(Architecture architecture)
          The instance architecture.
 CreateInstanceRequest withArchitecture(String architecture)
          The instance architecture.
 CreateInstanceRequest withAutoScalingType(AutoScalingType autoScalingType)
          The instance auto scaling type, which has three possible values: AlwaysRunning: A 24/7 instance, which is not affected by auto scaling. TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule.
 CreateInstanceRequest withAutoScalingType(String autoScalingType)
          The instance auto scaling type, which has three possible values: AlwaysRunning: A 24/7 instance, which is not affected by auto scaling. TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule.
 CreateInstanceRequest withAvailabilityZone(String availabilityZone)
          The instance Availability Zone.
 CreateInstanceRequest withHostname(String hostname)
          The instance host name.
 CreateInstanceRequest withInstallUpdatesOnBoot(Boolean installUpdatesOnBoot)
          Whether to install operating system and package updates when the instance boots.
 CreateInstanceRequest withInstanceType(String instanceType)
          The instance type.
 CreateInstanceRequest withLayerIds(Collection<String> layerIds)
          An array that contains the instance layer IDs.
 CreateInstanceRequest withLayerIds(String... layerIds)
          An array that contains the instance layer IDs.
 CreateInstanceRequest withOs(String os)
          The instance operating system, which must be set to one of the following.
 CreateInstanceRequest withRootDeviceType(RootDeviceType rootDeviceType)
          The instance root device type.
 CreateInstanceRequest withRootDeviceType(String rootDeviceType)
          The instance root device type.
 CreateInstanceRequest withSshKeyName(String sshKeyName)
          The instance SSH key name.
 CreateInstanceRequest withStackId(String stackId)
          The stack ID.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateInstanceRequest

public CreateInstanceRequest()
Method Detail

getStackId

public String getStackId()
The stack ID.

Returns:
The stack ID.

setStackId

public void setStackId(String stackId)
The stack ID.

Parameters:
stackId - The stack ID.

withStackId

public CreateInstanceRequest withStackId(String stackId)
The stack ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stackId - The stack ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getLayerIds

public List<String> getLayerIds()
An array that contains the instance layer IDs.

Returns:
An array that contains the instance layer IDs.

setLayerIds

public void setLayerIds(Collection<String> layerIds)
An array that contains the instance layer IDs.

Parameters:
layerIds - An array that contains the instance layer IDs.

withLayerIds

public CreateInstanceRequest withLayerIds(String... layerIds)
An array that contains the instance layer IDs.

Returns a reference to this object so that method calls can be chained together.

Parameters:
layerIds - An array that contains the instance layer IDs.
Returns:
A reference to this updated object so that method calls can be chained together.

withLayerIds

public CreateInstanceRequest withLayerIds(Collection<String> layerIds)
An array that contains the instance layer IDs.

Returns a reference to this object so that method calls can be chained together.

Parameters:
layerIds - An array that contains the instance layer IDs.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceType

public String getInstanceType()
The instance type. AWS OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.

Returns:
The instance type. AWS OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.

setInstanceType

public void setInstanceType(String instanceType)
The instance type. AWS OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.

Parameters:
instanceType - The instance type. AWS OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.

withInstanceType

public CreateInstanceRequest withInstanceType(String instanceType)
The instance type. AWS OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceType - The instance type. AWS OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.
Returns:
A reference to this updated object so that method calls can be chained together.

getAutoScalingType

public String getAutoScalingType()
The instance auto scaling type, which has three possible values:

Constraints:
Allowed Values: load, timer

Returns:
The instance auto scaling type, which has three possible values:
  • AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
  • TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. To specify the schedule, call SetTimeBasedAutoScaling.
  • LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics. To use load-based auto scaling, you must enable it for the instance layer and configure the thresholds by calling SetLoadBasedAutoScaling.
See Also:
AutoScalingType

setAutoScalingType

public void setAutoScalingType(String autoScalingType)
The instance auto scaling type, which has three possible values:

Constraints:
Allowed Values: load, timer

Parameters:
autoScalingType - The instance auto scaling type, which has three possible values:
  • AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
  • TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. To specify the schedule, call SetTimeBasedAutoScaling.
  • LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics. To use load-based auto scaling, you must enable it for the instance layer and configure the thresholds by calling SetLoadBasedAutoScaling.
See Also:
AutoScalingType

withAutoScalingType

public CreateInstanceRequest withAutoScalingType(String autoScalingType)
The instance auto scaling type, which has three possible values:

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: load, timer

Parameters:
autoScalingType - The instance auto scaling type, which has three possible values:
  • AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
  • TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. To specify the schedule, call SetTimeBasedAutoScaling.
  • LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics. To use load-based auto scaling, you must enable it for the instance layer and configure the thresholds by calling SetLoadBasedAutoScaling.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
AutoScalingType

setAutoScalingType

public void setAutoScalingType(AutoScalingType autoScalingType)
The instance auto scaling type, which has three possible values:

Constraints:
Allowed Values: load, timer

Parameters:
autoScalingType - The instance auto scaling type, which has three possible values:
  • AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
  • TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. To specify the schedule, call SetTimeBasedAutoScaling.
  • LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics. To use load-based auto scaling, you must enable it for the instance layer and configure the thresholds by calling SetLoadBasedAutoScaling.
See Also:
AutoScalingType

withAutoScalingType

public CreateInstanceRequest withAutoScalingType(AutoScalingType autoScalingType)
The instance auto scaling type, which has three possible values:

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: load, timer

Parameters:
autoScalingType - The instance auto scaling type, which has three possible values:
  • AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
  • TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. To specify the schedule, call SetTimeBasedAutoScaling.
  • LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics. To use load-based auto scaling, you must enable it for the instance layer and configure the thresholds by calling SetLoadBasedAutoScaling.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
AutoScalingType

getHostname

public String getHostname()
The instance host name.

Returns:
The instance host name.

setHostname

public void setHostname(String hostname)
The instance host name.

Parameters:
hostname - The instance host name.

withHostname

public CreateInstanceRequest withHostname(String hostname)
The instance host name.

Returns a reference to this object so that method calls can be chained together.

Parameters:
hostname - The instance host name.
Returns:
A reference to this updated object so that method calls can be chained together.

getOs

public String getOs()
The instance operating system, which must be set to one of the following.

The default option is Amazon Linux. If you set this parameter to Custom, you must use the CreateInstance action's AmiId parameter to specify the custom AMI that you want to use. For more information on the standard operating systems, see Operating SystemsFor more information on how to use custom AMIs with OpsWorks, see Using Custom AMIs.

Returns:
The instance operating system, which must be set to one of the following.
  • Standard operating systems: Amazon Linux or Ubuntu 12.04 LTS
  • Custom AMIs: Custom

The default option is Amazon Linux. If you set this parameter to Custom, you must use the CreateInstance action's AmiId parameter to specify the custom AMI that you want to use. For more information on the standard operating systems, see Operating SystemsFor more information on how to use custom AMIs with OpsWorks, see Using Custom AMIs.


setOs

public void setOs(String os)
The instance operating system, which must be set to one of the following.

The default option is Amazon Linux. If you set this parameter to Custom, you must use the CreateInstance action's AmiId parameter to specify the custom AMI that you want to use. For more information on the standard operating systems, see Operating SystemsFor more information on how to use custom AMIs with OpsWorks, see Using Custom AMIs.

Parameters:
os - The instance operating system, which must be set to one of the following.
  • Standard operating systems: Amazon Linux or Ubuntu 12.04 LTS
  • Custom AMIs: Custom

The default option is Amazon Linux. If you set this parameter to Custom, you must use the CreateInstance action's AmiId parameter to specify the custom AMI that you want to use. For more information on the standard operating systems, see Operating SystemsFor more information on how to use custom AMIs with OpsWorks, see Using Custom AMIs.


withOs

public CreateInstanceRequest withOs(String os)
The instance operating system, which must be set to one of the following.

The default option is Amazon Linux. If you set this parameter to Custom, you must use the CreateInstance action's AmiId parameter to specify the custom AMI that you want to use. For more information on the standard operating systems, see Operating SystemsFor more information on how to use custom AMIs with OpsWorks, see Using Custom AMIs.

Returns a reference to this object so that method calls can be chained together.

Parameters:
os - The instance operating system, which must be set to one of the following.
  • Standard operating systems: Amazon Linux or Ubuntu 12.04 LTS
  • Custom AMIs: Custom

The default option is Amazon Linux. If you set this parameter to Custom, you must use the CreateInstance action's AmiId parameter to specify the custom AMI that you want to use. For more information on the standard operating systems, see Operating SystemsFor more information on how to use custom AMIs with OpsWorks, see Using Custom AMIs.

Returns:
A reference to this updated object so that method calls can be chained together.

getAmiId

public String getAmiId()
A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu 12.04 LTS. For more information, see Instances

Returns:
A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu 12.04 LTS. For more information, see Instances

setAmiId

public void setAmiId(String amiId)
A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu 12.04 LTS. For more information, see Instances

Parameters:
amiId - A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu 12.04 LTS. For more information, see Instances

withAmiId

public CreateInstanceRequest withAmiId(String amiId)
A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu 12.04 LTS. For more information, see Instances

Returns a reference to this object so that method calls can be chained together.

Parameters:
amiId - A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu 12.04 LTS. For more information, see Instances
Returns:
A reference to this updated object so that method calls can be chained together.

getSshKeyName

public String getSshKeyName()
The instance SSH key name.

Returns:
The instance SSH key name.

setSshKeyName

public void setSshKeyName(String sshKeyName)
The instance SSH key name.

Parameters:
sshKeyName - The instance SSH key name.

withSshKeyName

public CreateInstanceRequest withSshKeyName(String sshKeyName)
The instance SSH key name.

Returns a reference to this object so that method calls can be chained together.

Parameters:
sshKeyName - The instance SSH key name.
Returns:
A reference to this updated object so that method calls can be chained together.

getAvailabilityZone

public String getAvailabilityZone()
The instance Availability Zone. For more information, see Regions and Endpoints.

Returns:
The instance Availability Zone. For more information, see Regions and Endpoints.

setAvailabilityZone

public void setAvailabilityZone(String availabilityZone)
The instance Availability Zone. For more information, see Regions and Endpoints.

Parameters:
availabilityZone - The instance Availability Zone. For more information, see Regions and Endpoints.

withAvailabilityZone

public CreateInstanceRequest withAvailabilityZone(String availabilityZone)
The instance Availability Zone. For more information, see Regions and Endpoints.

Returns a reference to this object so that method calls can be chained together.

Parameters:
availabilityZone - The instance Availability Zone. For more information, see Regions and Endpoints.
Returns:
A reference to this updated object so that method calls can be chained together.

getArchitecture

public String getArchitecture()
The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.

Constraints:
Allowed Values: x86_64, i386

Returns:
The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.
See Also:
Architecture

setArchitecture

public void setArchitecture(String architecture)
The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.

Constraints:
Allowed Values: x86_64, i386

Parameters:
architecture - The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.
See Also:
Architecture

withArchitecture

public CreateInstanceRequest withArchitecture(String architecture)
The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: x86_64, i386

Parameters:
architecture - The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
Architecture

setArchitecture

public void setArchitecture(Architecture architecture)
The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.

Constraints:
Allowed Values: x86_64, i386

Parameters:
architecture - The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.
See Also:
Architecture

withArchitecture

public CreateInstanceRequest withArchitecture(Architecture architecture)
The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: x86_64, i386

Parameters:
architecture - The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
Architecture

getRootDeviceType

public String getRootDeviceType()
The instance root device type. For more information, see Storage for the Root Device.

Constraints:
Allowed Values: ebs, instance-store

Returns:
The instance root device type. For more information, see Storage for the Root Device.
See Also:
RootDeviceType

setRootDeviceType

public void setRootDeviceType(String rootDeviceType)
The instance root device type. For more information, see Storage for the Root Device.

Constraints:
Allowed Values: ebs, instance-store

Parameters:
rootDeviceType - The instance root device type. For more information, see Storage for the Root Device.
See Also:
RootDeviceType

withRootDeviceType

public CreateInstanceRequest withRootDeviceType(String rootDeviceType)
The instance root device type. For more information, see Storage for the Root Device.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: ebs, instance-store

Parameters:
rootDeviceType - The instance root device type. For more information, see Storage for the Root Device.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
RootDeviceType

setRootDeviceType

public void setRootDeviceType(RootDeviceType rootDeviceType)
The instance root device type. For more information, see Storage for the Root Device.

Constraints:
Allowed Values: ebs, instance-store

Parameters:
rootDeviceType - The instance root device type. For more information, see Storage for the Root Device.
See Also:
RootDeviceType

withRootDeviceType

public CreateInstanceRequest withRootDeviceType(RootDeviceType rootDeviceType)
The instance root device type. For more information, see Storage for the Root Device.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: ebs, instance-store

Parameters:
rootDeviceType - The instance root device type. For more information, see Storage for the Root Device.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
RootDeviceType

isInstallUpdatesOnBoot

public Boolean isInstallUpdatesOnBoot()
Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value to false. You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true, to ensure that your instances have the latest security updates.

Returns:
Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value to false. You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true, to ensure that your instances have the latest security updates.

setInstallUpdatesOnBoot

public void setInstallUpdatesOnBoot(Boolean installUpdatesOnBoot)
Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value to false. You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true, to ensure that your instances have the latest security updates.

Parameters:
installUpdatesOnBoot - Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value to false. You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true, to ensure that your instances have the latest security updates.

withInstallUpdatesOnBoot

public CreateInstanceRequest withInstallUpdatesOnBoot(Boolean installUpdatesOnBoot)
Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value to false. You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true, to ensure that your instances have the latest security updates.

Returns a reference to this object so that method calls can be chained together.

Parameters:
installUpdatesOnBoot - Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value to false. You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true, to ensure that your instances have the latest security updates.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstallUpdatesOnBoot

public Boolean getInstallUpdatesOnBoot()
Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value to false. You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true, to ensure that your instances have the latest security updates.

Returns:
Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value to false. You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true, to ensure that your instances have the latest security updates.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.