com.amazonaws.services.autoscaling.model
Class CreateAutoScalingGroupRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.autoscaling.model.CreateAutoScalingGroupRequest

public class CreateAutoScalingGroupRequest
extends AmazonWebServiceRequest

Container for the parameters to the CreateAutoScalingGroup operation.

Creates a new Auto Scaling group with the specified name and other attributes. When the creation request is completed, the Auto Scaling group is ready to be used in other calls.

NOTE: The Auto Scaling group name must be unique within the scope of your AWS account, and under the quota of Auto Scaling groups allowed for your account.

See Also:
AmazonAutoScaling.createAutoScalingGroup(CreateAutoScalingGroupRequest)

Constructor Summary
CreateAutoScalingGroupRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAutoScalingGroupName()
          The name of the Auto Scaling group.
 List<String> getAvailabilityZones()
          A list of Availability Zones for the Auto Scaling group.
 Integer getDefaultCooldown()
          The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
 Integer getDesiredCapacity()
          The number of Amazon EC2 instances that should be running in the group.
 Integer getHealthCheckGracePeriod()
          Length of time in seconds after a new Amazon EC2 instance comes into service that Auto Scaling starts checking its health.
 String getHealthCheckType()
          The service you want the health status from, Amazon EC2 or Elastic Load Balancer.
 String getLaunchConfigurationName()
          The name of the launch configuration to use with the Auto Scaling group.
 List<String> getLoadBalancerNames()
          A list of load balancers to use.
 Integer getMaxSize()
          The maximum size of the Auto Scaling group.
 Integer getMinSize()
          The minimum size of the Auto Scaling group.
 String getPlacementGroup()
          Physical location of your cluster placement group created in Amazon EC2.
 List<Tag> getTags()
          The tag to be created or updated.
 List<String> getTerminationPolicies()
          A standalone termination policy or a list of termination policies used to select the instance to terminate.
 String getVPCZoneIdentifier()
          A comma-separated list of subnet identifiers of Amazon Virtual Private Clouds (Amazon VPCs).
 int hashCode()
           
 void setAutoScalingGroupName(String autoScalingGroupName)
          The name of the Auto Scaling group.
 void setAvailabilityZones(Collection<String> availabilityZones)
          A list of Availability Zones for the Auto Scaling group.
 void setDefaultCooldown(Integer defaultCooldown)
          The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
 void setDesiredCapacity(Integer desiredCapacity)
          The number of Amazon EC2 instances that should be running in the group.
 void setHealthCheckGracePeriod(Integer healthCheckGracePeriod)
          Length of time in seconds after a new Amazon EC2 instance comes into service that Auto Scaling starts checking its health.
 void setHealthCheckType(String healthCheckType)
          The service you want the health status from, Amazon EC2 or Elastic Load Balancer.
 void setLaunchConfigurationName(String launchConfigurationName)
          The name of the launch configuration to use with the Auto Scaling group.
 void setLoadBalancerNames(Collection<String> loadBalancerNames)
          A list of load balancers to use.
 void setMaxSize(Integer maxSize)
          The maximum size of the Auto Scaling group.
 void setMinSize(Integer minSize)
          The minimum size of the Auto Scaling group.
 void setPlacementGroup(String placementGroup)
          Physical location of your cluster placement group created in Amazon EC2.
 void setTags(Collection<Tag> tags)
          The tag to be created or updated.
 void setTerminationPolicies(Collection<String> terminationPolicies)
          A standalone termination policy or a list of termination policies used to select the instance to terminate.
 void setVPCZoneIdentifier(String vPCZoneIdentifier)
          A comma-separated list of subnet identifiers of Amazon Virtual Private Clouds (Amazon VPCs).
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateAutoScalingGroupRequest withAutoScalingGroupName(String autoScalingGroupName)
          The name of the Auto Scaling group.
 CreateAutoScalingGroupRequest withAvailabilityZones(Collection<String> availabilityZones)
          A list of Availability Zones for the Auto Scaling group.
 CreateAutoScalingGroupRequest withAvailabilityZones(String... availabilityZones)
          A list of Availability Zones for the Auto Scaling group.
 CreateAutoScalingGroupRequest withDefaultCooldown(Integer defaultCooldown)
          The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
 CreateAutoScalingGroupRequest withDesiredCapacity(Integer desiredCapacity)
          The number of Amazon EC2 instances that should be running in the group.
 CreateAutoScalingGroupRequest withHealthCheckGracePeriod(Integer healthCheckGracePeriod)
          Length of time in seconds after a new Amazon EC2 instance comes into service that Auto Scaling starts checking its health.
 CreateAutoScalingGroupRequest withHealthCheckType(String healthCheckType)
          The service you want the health status from, Amazon EC2 or Elastic Load Balancer.
 CreateAutoScalingGroupRequest withLaunchConfigurationName(String launchConfigurationName)
          The name of the launch configuration to use with the Auto Scaling group.
 CreateAutoScalingGroupRequest withLoadBalancerNames(Collection<String> loadBalancerNames)
          A list of load balancers to use.
 CreateAutoScalingGroupRequest withLoadBalancerNames(String... loadBalancerNames)
          A list of load balancers to use.
 CreateAutoScalingGroupRequest withMaxSize(Integer maxSize)
          The maximum size of the Auto Scaling group.
 CreateAutoScalingGroupRequest withMinSize(Integer minSize)
          The minimum size of the Auto Scaling group.
 CreateAutoScalingGroupRequest withPlacementGroup(String placementGroup)
          Physical location of your cluster placement group created in Amazon EC2.
 CreateAutoScalingGroupRequest withTags(Collection<Tag> tags)
          The tag to be created or updated.
 CreateAutoScalingGroupRequest withTags(Tag... tags)
          The tag to be created or updated.
 CreateAutoScalingGroupRequest withTerminationPolicies(Collection<String> terminationPolicies)
          A standalone termination policy or a list of termination policies used to select the instance to terminate.
 CreateAutoScalingGroupRequest withTerminationPolicies(String... terminationPolicies)
          A standalone termination policy or a list of termination policies used to select the instance to terminate.
 CreateAutoScalingGroupRequest withVPCZoneIdentifier(String vPCZoneIdentifier)
          A comma-separated list of subnet identifiers of Amazon Virtual Private Clouds (Amazon VPCs).
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateAutoScalingGroupRequest

public CreateAutoScalingGroupRequest()
Method Detail

getAutoScalingGroupName

public String getAutoScalingGroupName()
The name of the Auto Scaling group.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The name of the Auto Scaling group.

setAutoScalingGroupName

public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
autoScalingGroupName - The name of the Auto Scaling group.

withAutoScalingGroupName

public CreateAutoScalingGroupRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.

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

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
autoScalingGroupName - The name of the Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getLaunchConfigurationName

public String getLaunchConfigurationName()
The name of the launch configuration to use with the Auto Scaling group.

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The name of the launch configuration to use with the Auto Scaling group.

setLaunchConfigurationName

public void setLaunchConfigurationName(String launchConfigurationName)
The name of the launch configuration to use with the Auto Scaling group.

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
launchConfigurationName - The name of the launch configuration to use with the Auto Scaling group.

withLaunchConfigurationName

public CreateAutoScalingGroupRequest withLaunchConfigurationName(String launchConfigurationName)
The name of the launch configuration to use with the Auto Scaling group.

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

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
launchConfigurationName - The name of the launch configuration to use with the Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getMinSize

public Integer getMinSize()
The minimum size of the Auto Scaling group.

Returns:
The minimum size of the Auto Scaling group.

setMinSize

public void setMinSize(Integer minSize)
The minimum size of the Auto Scaling group.

Parameters:
minSize - The minimum size of the Auto Scaling group.

withMinSize

public CreateAutoScalingGroupRequest withMinSize(Integer minSize)
The minimum size of the Auto Scaling group.

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

Parameters:
minSize - The minimum size of the Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getMaxSize

public Integer getMaxSize()
The maximum size of the Auto Scaling group.

Returns:
The maximum size of the Auto Scaling group.

setMaxSize

public void setMaxSize(Integer maxSize)
The maximum size of the Auto Scaling group.

Parameters:
maxSize - The maximum size of the Auto Scaling group.

withMaxSize

public CreateAutoScalingGroupRequest withMaxSize(Integer maxSize)
The maximum size of the Auto Scaling group.

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

Parameters:
maxSize - The maximum size of the Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getDesiredCapacity

public Integer getDesiredCapacity()
The number of Amazon EC2 instances that should be running in the group.

Returns:
The number of Amazon EC2 instances that should be running in the group.

setDesiredCapacity

public void setDesiredCapacity(Integer desiredCapacity)
The number of Amazon EC2 instances that should be running in the group.

Parameters:
desiredCapacity - The number of Amazon EC2 instances that should be running in the group.

withDesiredCapacity

public CreateAutoScalingGroupRequest withDesiredCapacity(Integer desiredCapacity)
The number of Amazon EC2 instances that should be running in the group.

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

Parameters:
desiredCapacity - The number of Amazon EC2 instances that should be running in the group.
Returns:
A reference to this updated object so that method calls can be chained together.

getDefaultCooldown

public Integer getDefaultCooldown()
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.

Returns:
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.

setDefaultCooldown

public void setDefaultCooldown(Integer defaultCooldown)
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.

Parameters:
defaultCooldown - The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.

withDefaultCooldown

public CreateAutoScalingGroupRequest withDefaultCooldown(Integer defaultCooldown)
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.

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

Parameters:
defaultCooldown - The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
Returns:
A reference to this updated object so that method calls can be chained together.

getAvailabilityZones

public List<String> getAvailabilityZones()
A list of Availability Zones for the Auto Scaling group.

Constraints:
Length: 1 -

Returns:
A list of Availability Zones for the Auto Scaling group.

setAvailabilityZones

public void setAvailabilityZones(Collection<String> availabilityZones)
A list of Availability Zones for the Auto Scaling group.

Constraints:
Length: 1 -

Parameters:
availabilityZones - A list of Availability Zones for the Auto Scaling group.

withAvailabilityZones

public CreateAutoScalingGroupRequest withAvailabilityZones(String... availabilityZones)
A list of Availability Zones for the Auto Scaling group.

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

Constraints:
Length: 1 -

Parameters:
availabilityZones - A list of Availability Zones for the Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

withAvailabilityZones

public CreateAutoScalingGroupRequest withAvailabilityZones(Collection<String> availabilityZones)
A list of Availability Zones for the Auto Scaling group.

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

Constraints:
Length: 1 -

Parameters:
availabilityZones - A list of Availability Zones for the Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getLoadBalancerNames

public List<String> getLoadBalancerNames()
A list of load balancers to use.

Returns:
A list of load balancers to use.

setLoadBalancerNames

public void setLoadBalancerNames(Collection<String> loadBalancerNames)
A list of load balancers to use.

Parameters:
loadBalancerNames - A list of load balancers to use.

withLoadBalancerNames

public CreateAutoScalingGroupRequest withLoadBalancerNames(String... loadBalancerNames)
A list of load balancers to use.

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

Parameters:
loadBalancerNames - A list of load balancers to use.
Returns:
A reference to this updated object so that method calls can be chained together.

withLoadBalancerNames

public CreateAutoScalingGroupRequest withLoadBalancerNames(Collection<String> loadBalancerNames)
A list of load balancers to use.

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

Parameters:
loadBalancerNames - A list of load balancers to use.
Returns:
A reference to this updated object so that method calls can be chained together.

getHealthCheckType

public String getHealthCheckType()
The service you want the health status from, Amazon EC2 or Elastic Load Balancer. Valid values are EC2 or ELB.

Constraints:
Length: 1 - 32
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The service you want the health status from, Amazon EC2 or Elastic Load Balancer. Valid values are EC2 or ELB.

setHealthCheckType

public void setHealthCheckType(String healthCheckType)
The service you want the health status from, Amazon EC2 or Elastic Load Balancer. Valid values are EC2 or ELB.

Constraints:
Length: 1 - 32
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
healthCheckType - The service you want the health status from, Amazon EC2 or Elastic Load Balancer. Valid values are EC2 or ELB.

withHealthCheckType

public CreateAutoScalingGroupRequest withHealthCheckType(String healthCheckType)
The service you want the health status from, Amazon EC2 or Elastic Load Balancer. Valid values are EC2 or ELB.

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

Constraints:
Length: 1 - 32
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
healthCheckType - The service you want the health status from, Amazon EC2 or Elastic Load Balancer. Valid values are EC2 or ELB.
Returns:
A reference to this updated object so that method calls can be chained together.

getHealthCheckGracePeriod

public Integer getHealthCheckGracePeriod()
Length of time in seconds after a new Amazon EC2 instance comes into service that Auto Scaling starts checking its health.

Returns:
Length of time in seconds after a new Amazon EC2 instance comes into service that Auto Scaling starts checking its health.

setHealthCheckGracePeriod

public void setHealthCheckGracePeriod(Integer healthCheckGracePeriod)
Length of time in seconds after a new Amazon EC2 instance comes into service that Auto Scaling starts checking its health.

Parameters:
healthCheckGracePeriod - Length of time in seconds after a new Amazon EC2 instance comes into service that Auto Scaling starts checking its health.

withHealthCheckGracePeriod

public CreateAutoScalingGroupRequest withHealthCheckGracePeriod(Integer healthCheckGracePeriod)
Length of time in seconds after a new Amazon EC2 instance comes into service that Auto Scaling starts checking its health.

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

Parameters:
healthCheckGracePeriod - Length of time in seconds after a new Amazon EC2 instance comes into service that Auto Scaling starts checking its health.
Returns:
A reference to this updated object so that method calls can be chained together.

getPlacementGroup

public String getPlacementGroup()
Physical location of your cluster placement group created in Amazon EC2. For more information about cluster placement group, see Using Cluster Instances

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
Physical location of your cluster placement group created in Amazon EC2. For more information about cluster placement group, see Using Cluster Instances

setPlacementGroup

public void setPlacementGroup(String placementGroup)
Physical location of your cluster placement group created in Amazon EC2. For more information about cluster placement group, see Using Cluster Instances

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
placementGroup - Physical location of your cluster placement group created in Amazon EC2. For more information about cluster placement group, see Using Cluster Instances

withPlacementGroup

public CreateAutoScalingGroupRequest withPlacementGroup(String placementGroup)
Physical location of your cluster placement group created in Amazon EC2. For more information about cluster placement group, see Using Cluster Instances

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

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
placementGroup - Physical location of your cluster placement group created in Amazon EC2. For more information about cluster placement group, see Using Cluster Instances
Returns:
A reference to this updated object so that method calls can be chained together.

getVPCZoneIdentifier

public String getVPCZoneIdentifier()
A comma-separated list of subnet identifiers of Amazon Virtual Private Clouds (Amazon VPCs).

When you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
A comma-separated list of subnet identifiers of Amazon Virtual Private Clouds (Amazon VPCs).

When you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified.


setVPCZoneIdentifier

public void setVPCZoneIdentifier(String vPCZoneIdentifier)
A comma-separated list of subnet identifiers of Amazon Virtual Private Clouds (Amazon VPCs).

When you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
vPCZoneIdentifier - A comma-separated list of subnet identifiers of Amazon Virtual Private Clouds (Amazon VPCs).

When you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified.


withVPCZoneIdentifier

public CreateAutoScalingGroupRequest withVPCZoneIdentifier(String vPCZoneIdentifier)
A comma-separated list of subnet identifiers of Amazon Virtual Private Clouds (Amazon VPCs).

When you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified.

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

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
vPCZoneIdentifier - A comma-separated list of subnet identifiers of Amazon Virtual Private Clouds (Amazon VPCs).

When you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified.

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

getTerminationPolicies

public List<String> getTerminationPolicies()
A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

For more information on configuring a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.

Returns:
A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

For more information on configuring a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.


setTerminationPolicies

public void setTerminationPolicies(Collection<String> terminationPolicies)
A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

For more information on configuring a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.

Parameters:
terminationPolicies - A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

For more information on configuring a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.


withTerminationPolicies

public CreateAutoScalingGroupRequest withTerminationPolicies(String... terminationPolicies)
A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

For more information on configuring a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.

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

Parameters:
terminationPolicies - A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

For more information on configuring a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.

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

withTerminationPolicies

public CreateAutoScalingGroupRequest withTerminationPolicies(Collection<String> terminationPolicies)
A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

For more information on configuring a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.

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

Parameters:
terminationPolicies - A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

For more information on configuring a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.

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

getTags

public List<Tag> getTags()
The tag to be created or updated. Each tag should be defined by its resource type, resource ID, key, value, and a propagate flag. Valid values: key=value, value=value, propagate=true or false. Value and propagate are optional parameters.

Returns:
The tag to be created or updated. Each tag should be defined by its resource type, resource ID, key, value, and a propagate flag. Valid values: key=value, value=value, propagate=true or false. Value and propagate are optional parameters.

setTags

public void setTags(Collection<Tag> tags)
The tag to be created or updated. Each tag should be defined by its resource type, resource ID, key, value, and a propagate flag. Valid values: key=value, value=value, propagate=true or false. Value and propagate are optional parameters.

Parameters:
tags - The tag to be created or updated. Each tag should be defined by its resource type, resource ID, key, value, and a propagate flag. Valid values: key=value, value=value, propagate=true or false. Value and propagate are optional parameters.

withTags

public CreateAutoScalingGroupRequest withTags(Tag... tags)
The tag to be created or updated. Each tag should be defined by its resource type, resource ID, key, value, and a propagate flag. Valid values: key=value, value=value, propagate=true or false. Value and propagate are optional parameters.

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

Parameters:
tags - The tag to be created or updated. Each tag should be defined by its resource type, resource ID, key, value, and a propagate flag. Valid values: key=value, value=value, propagate=true or false. Value and propagate are optional parameters.
Returns:
A reference to this updated object so that method calls can be chained together.

withTags

public CreateAutoScalingGroupRequest withTags(Collection<Tag> tags)
The tag to be created or updated. Each tag should be defined by its resource type, resource ID, key, value, and a propagate flag. Valid values: key=value, value=value, propagate=true or false. Value and propagate are optional parameters.

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

Parameters:
tags - The tag to be created or updated. Each tag should be defined by its resource type, resource ID, key, value, and a propagate flag. Valid values: key=value, value=value, propagate=true or false. Value and propagate are optional parameters.
Returns:
A reference to this updated object so that method calls can be chained together.

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.