@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CapacityProvider extends Object implements Serializable, Cloneable, StructuredPojo
The details of a capacity provider.
Constructor and Description |
---|
CapacityProvider() |
Modifier and Type | Method and Description |
---|---|
CapacityProvider |
clone() |
boolean |
equals(Object obj) |
AutoScalingGroupProvider |
getAutoScalingGroupProvider()
The Auto Scaling group settings for the capacity provider.
|
String |
getCapacityProviderArn()
The Amazon Resource Name (ARN) that identifies the capacity provider.
|
String |
getName()
The name of the capacity provider.
|
String |
getStatus()
The current status of the capacity provider.
|
List<Tag> |
getTags()
The metadata that you apply to the capacity provider to help you categorize and organize it.
|
String |
getUpdateStatus()
The update status of the capacity provider.
|
String |
getUpdateStatusReason()
The update status reason.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutoScalingGroupProvider(AutoScalingGroupProvider autoScalingGroupProvider)
The Auto Scaling group settings for the capacity provider.
|
void |
setCapacityProviderArn(String capacityProviderArn)
The Amazon Resource Name (ARN) that identifies the capacity provider.
|
void |
setName(String name)
The name of the capacity provider.
|
void |
setStatus(String status)
The current status of the capacity provider.
|
void |
setTags(Collection<Tag> tags)
The metadata that you apply to the capacity provider to help you categorize and organize it.
|
void |
setUpdateStatus(String updateStatus)
The update status of the capacity provider.
|
void |
setUpdateStatusReason(String updateStatusReason)
The update status reason.
|
String |
toString()
Returns a string representation of this object.
|
CapacityProvider |
withAutoScalingGroupProvider(AutoScalingGroupProvider autoScalingGroupProvider)
The Auto Scaling group settings for the capacity provider.
|
CapacityProvider |
withCapacityProviderArn(String capacityProviderArn)
The Amazon Resource Name (ARN) that identifies the capacity provider.
|
CapacityProvider |
withName(String name)
The name of the capacity provider.
|
CapacityProvider |
withStatus(CapacityProviderStatus status)
The current status of the capacity provider.
|
CapacityProvider |
withStatus(String status)
The current status of the capacity provider.
|
CapacityProvider |
withTags(Collection<Tag> tags)
The metadata that you apply to the capacity provider to help you categorize and organize it.
|
CapacityProvider |
withTags(Tag... tags)
The metadata that you apply to the capacity provider to help you categorize and organize it.
|
CapacityProvider |
withUpdateStatus(CapacityProviderUpdateStatus updateStatus)
The update status of the capacity provider.
|
CapacityProvider |
withUpdateStatus(String updateStatus)
The update status of the capacity provider.
|
CapacityProvider |
withUpdateStatusReason(String updateStatusReason)
The update status reason.
|
public void setCapacityProviderArn(String capacityProviderArn)
The Amazon Resource Name (ARN) that identifies the capacity provider.
capacityProviderArn
- The Amazon Resource Name (ARN) that identifies the capacity provider.public String getCapacityProviderArn()
The Amazon Resource Name (ARN) that identifies the capacity provider.
public CapacityProvider withCapacityProviderArn(String capacityProviderArn)
The Amazon Resource Name (ARN) that identifies the capacity provider.
capacityProviderArn
- The Amazon Resource Name (ARN) that identifies the capacity provider.public void setName(String name)
The name of the capacity provider.
name
- The name of the capacity provider.public String getName()
The name of the capacity provider.
public CapacityProvider withName(String name)
The name of the capacity provider.
name
- The name of the capacity provider.public void setStatus(String status)
The current status of the capacity provider. Only capacity providers in an ACTIVE
state can be used
in a cluster. When a capacity provider is successfully deleted, it will have an INACTIVE
status.
status
- The current status of the capacity provider. Only capacity providers in an ACTIVE
state can
be used in a cluster. When a capacity provider is successfully deleted, it will have an
INACTIVE
status.CapacityProviderStatus
public String getStatus()
The current status of the capacity provider. Only capacity providers in an ACTIVE
state can be used
in a cluster. When a capacity provider is successfully deleted, it will have an INACTIVE
status.
ACTIVE
state can
be used in a cluster. When a capacity provider is successfully deleted, it will have an
INACTIVE
status.CapacityProviderStatus
public CapacityProvider withStatus(String status)
The current status of the capacity provider. Only capacity providers in an ACTIVE
state can be used
in a cluster. When a capacity provider is successfully deleted, it will have an INACTIVE
status.
status
- The current status of the capacity provider. Only capacity providers in an ACTIVE
state can
be used in a cluster. When a capacity provider is successfully deleted, it will have an
INACTIVE
status.CapacityProviderStatus
public CapacityProvider withStatus(CapacityProviderStatus status)
The current status of the capacity provider. Only capacity providers in an ACTIVE
state can be used
in a cluster. When a capacity provider is successfully deleted, it will have an INACTIVE
status.
status
- The current status of the capacity provider. Only capacity providers in an ACTIVE
state can
be used in a cluster. When a capacity provider is successfully deleted, it will have an
INACTIVE
status.CapacityProviderStatus
public void setAutoScalingGroupProvider(AutoScalingGroupProvider autoScalingGroupProvider)
The Auto Scaling group settings for the capacity provider.
autoScalingGroupProvider
- The Auto Scaling group settings for the capacity provider.public AutoScalingGroupProvider getAutoScalingGroupProvider()
The Auto Scaling group settings for the capacity provider.
public CapacityProvider withAutoScalingGroupProvider(AutoScalingGroupProvider autoScalingGroupProvider)
The Auto Scaling group settings for the capacity provider.
autoScalingGroupProvider
- The Auto Scaling group settings for the capacity provider.public void setUpdateStatus(String updateStatus)
The update status of the capacity provider. The following are the possible states that will be returned.
The capacity provider is in the process of being deleted.
The capacity provider has been successfully deleted and will have an INACTIVE
status.
The capacity provider was unable to be deleted. The update status reason will provide further details about why the delete failed.
updateStatus
- The update status of the capacity provider. The following are the possible states that will be
returned.
The capacity provider is in the process of being deleted.
The capacity provider has been successfully deleted and will have an INACTIVE
status.
The capacity provider was unable to be deleted. The update status reason will provide further details about why the delete failed.
CapacityProviderUpdateStatus
public String getUpdateStatus()
The update status of the capacity provider. The following are the possible states that will be returned.
The capacity provider is in the process of being deleted.
The capacity provider has been successfully deleted and will have an INACTIVE
status.
The capacity provider was unable to be deleted. The update status reason will provide further details about why the delete failed.
The capacity provider is in the process of being deleted.
The capacity provider has been successfully deleted and will have an INACTIVE
status.
The capacity provider was unable to be deleted. The update status reason will provide further details about why the delete failed.
CapacityProviderUpdateStatus
public CapacityProvider withUpdateStatus(String updateStatus)
The update status of the capacity provider. The following are the possible states that will be returned.
The capacity provider is in the process of being deleted.
The capacity provider has been successfully deleted and will have an INACTIVE
status.
The capacity provider was unable to be deleted. The update status reason will provide further details about why the delete failed.
updateStatus
- The update status of the capacity provider. The following are the possible states that will be
returned.
The capacity provider is in the process of being deleted.
The capacity provider has been successfully deleted and will have an INACTIVE
status.
The capacity provider was unable to be deleted. The update status reason will provide further details about why the delete failed.
CapacityProviderUpdateStatus
public CapacityProvider withUpdateStatus(CapacityProviderUpdateStatus updateStatus)
The update status of the capacity provider. The following are the possible states that will be returned.
The capacity provider is in the process of being deleted.
The capacity provider has been successfully deleted and will have an INACTIVE
status.
The capacity provider was unable to be deleted. The update status reason will provide further details about why the delete failed.
updateStatus
- The update status of the capacity provider. The following are the possible states that will be
returned.
The capacity provider is in the process of being deleted.
The capacity provider has been successfully deleted and will have an INACTIVE
status.
The capacity provider was unable to be deleted. The update status reason will provide further details about why the delete failed.
CapacityProviderUpdateStatus
public void setUpdateStatusReason(String updateStatusReason)
The update status reason. This provides further details about the update status for the capacity provider.
updateStatusReason
- The update status reason. This provides further details about the update status for the capacity provider.public String getUpdateStatusReason()
The update status reason. This provides further details about the update status for the capacity provider.
public CapacityProvider withUpdateStatusReason(String updateStatusReason)
The update status reason. This provides further details about the update status for the capacity provider.
updateStatusReason
- The update status reason. This provides further details about the update status for the capacity provider.public List<Tag> getTags()
The metadata that you apply to the capacity provider to help you categorize and organize it. Each tag consists of a key and an optional value, both of which you define.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix for
either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this
prefix. Tags with this prefix do not count against your tags per resource limit.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a
prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or
values with this prefix. Tags with this prefix do not count against your tags per resource limit.
public void setTags(Collection<Tag> tags)
The metadata that you apply to the capacity provider to help you categorize and organize it. Each tag consists of a key and an optional value, both of which you define.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix for
either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this
prefix. Tags with this prefix do not count against your tags per resource limit.
tags
- The metadata that you apply to the capacity provider to help you categorize and organize it. Each tag
consists of a key and an optional value, both of which you define.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix
for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with
this prefix. Tags with this prefix do not count against your tags per resource limit.
public CapacityProvider withTags(Tag... tags)
The metadata that you apply to the capacity provider to help you categorize and organize it. Each tag consists of a key and an optional value, both of which you define.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix for
either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this
prefix. Tags with this prefix do not count against your tags per resource limit.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The metadata that you apply to the capacity provider to help you categorize and organize it. Each tag
consists of a key and an optional value, both of which you define.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix
for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with
this prefix. Tags with this prefix do not count against your tags per resource limit.
public CapacityProvider withTags(Collection<Tag> tags)
The metadata that you apply to the capacity provider to help you categorize and organize it. Each tag consists of a key and an optional value, both of which you define.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix for
either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this
prefix. Tags with this prefix do not count against your tags per resource limit.
tags
- The metadata that you apply to the capacity provider to help you categorize and organize it. Each tag
consists of a key and an optional value, both of which you define.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix
for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with
this prefix. Tags with this prefix do not count against your tags per resource limit.
public String toString()
toString
in class Object
Object.toString()
public CapacityProvider clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.