@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEcsClusterDetails extends Object implements Serializable, Cloneable, StructuredPojo
provides details about an ECS cluster.
Constructor and Description |
---|
AwsEcsClusterDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEcsClusterDetails |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCapacityProviders()
The short name of one or more capacity providers to associate with the cluster.
|
List<AwsEcsClusterClusterSettingsDetails> |
getClusterSettings()
The setting to use to create the cluster.
|
AwsEcsClusterConfigurationDetails |
getConfiguration()
The run command configuration for the cluster.
|
List<AwsEcsClusterDefaultCapacityProviderStrategyDetails> |
getDefaultCapacityProviderStrategy()
The default capacity provider strategy for the cluster.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCapacityProviders(Collection<String> capacityProviders)
The short name of one or more capacity providers to associate with the cluster.
|
void |
setClusterSettings(Collection<AwsEcsClusterClusterSettingsDetails> clusterSettings)
The setting to use to create the cluster.
|
void |
setConfiguration(AwsEcsClusterConfigurationDetails configuration)
The run command configuration for the cluster.
|
void |
setDefaultCapacityProviderStrategy(Collection<AwsEcsClusterDefaultCapacityProviderStrategyDetails> defaultCapacityProviderStrategy)
The default capacity provider strategy for the cluster.
|
String |
toString()
Returns a string representation of this object.
|
AwsEcsClusterDetails |
withCapacityProviders(Collection<String> capacityProviders)
The short name of one or more capacity providers to associate with the cluster.
|
AwsEcsClusterDetails |
withCapacityProviders(String... capacityProviders)
The short name of one or more capacity providers to associate with the cluster.
|
AwsEcsClusterDetails |
withClusterSettings(AwsEcsClusterClusterSettingsDetails... clusterSettings)
The setting to use to create the cluster.
|
AwsEcsClusterDetails |
withClusterSettings(Collection<AwsEcsClusterClusterSettingsDetails> clusterSettings)
The setting to use to create the cluster.
|
AwsEcsClusterDetails |
withConfiguration(AwsEcsClusterConfigurationDetails configuration)
The run command configuration for the cluster.
|
AwsEcsClusterDetails |
withDefaultCapacityProviderStrategy(AwsEcsClusterDefaultCapacityProviderStrategyDetails... defaultCapacityProviderStrategy)
The default capacity provider strategy for the cluster.
|
AwsEcsClusterDetails |
withDefaultCapacityProviderStrategy(Collection<AwsEcsClusterDefaultCapacityProviderStrategyDetails> defaultCapacityProviderStrategy)
The default capacity provider strategy for the cluster.
|
public List<String> getCapacityProviders()
The short name of one or more capacity providers to associate with the cluster.
public void setCapacityProviders(Collection<String> capacityProviders)
The short name of one or more capacity providers to associate with the cluster.
capacityProviders
- The short name of one or more capacity providers to associate with the cluster.public AwsEcsClusterDetails withCapacityProviders(String... capacityProviders)
The short name of one or more capacity providers to associate with the cluster.
NOTE: This method appends the values to the existing list (if any). Use
setCapacityProviders(java.util.Collection)
or withCapacityProviders(java.util.Collection)
if
you want to override the existing values.
capacityProviders
- The short name of one or more capacity providers to associate with the cluster.public AwsEcsClusterDetails withCapacityProviders(Collection<String> capacityProviders)
The short name of one or more capacity providers to associate with the cluster.
capacityProviders
- The short name of one or more capacity providers to associate with the cluster.public List<AwsEcsClusterClusterSettingsDetails> getClusterSettings()
The setting to use to create the cluster. Specifically used to configure whether to enable CloudWatch Container Insights for the cluster.
public void setClusterSettings(Collection<AwsEcsClusterClusterSettingsDetails> clusterSettings)
The setting to use to create the cluster. Specifically used to configure whether to enable CloudWatch Container Insights for the cluster.
clusterSettings
- The setting to use to create the cluster. Specifically used to configure whether to enable CloudWatch
Container Insights for the cluster.public AwsEcsClusterDetails withClusterSettings(AwsEcsClusterClusterSettingsDetails... clusterSettings)
The setting to use to create the cluster. Specifically used to configure whether to enable CloudWatch Container Insights for the cluster.
NOTE: This method appends the values to the existing list (if any). Use
setClusterSettings(java.util.Collection)
or withClusterSettings(java.util.Collection)
if you
want to override the existing values.
clusterSettings
- The setting to use to create the cluster. Specifically used to configure whether to enable CloudWatch
Container Insights for the cluster.public AwsEcsClusterDetails withClusterSettings(Collection<AwsEcsClusterClusterSettingsDetails> clusterSettings)
The setting to use to create the cluster. Specifically used to configure whether to enable CloudWatch Container Insights for the cluster.
clusterSettings
- The setting to use to create the cluster. Specifically used to configure whether to enable CloudWatch
Container Insights for the cluster.public void setConfiguration(AwsEcsClusterConfigurationDetails configuration)
The run command configuration for the cluster.
configuration
- The run command configuration for the cluster.public AwsEcsClusterConfigurationDetails getConfiguration()
The run command configuration for the cluster.
public AwsEcsClusterDetails withConfiguration(AwsEcsClusterConfigurationDetails configuration)
The run command configuration for the cluster.
configuration
- The run command configuration for the cluster.public List<AwsEcsClusterDefaultCapacityProviderStrategyDetails> getDefaultCapacityProviderStrategy()
The default capacity provider strategy for the cluster. The default capacity provider strategy is used when services or tasks are run without a specified launch type or capacity provider strategy.
public void setDefaultCapacityProviderStrategy(Collection<AwsEcsClusterDefaultCapacityProviderStrategyDetails> defaultCapacityProviderStrategy)
The default capacity provider strategy for the cluster. The default capacity provider strategy is used when services or tasks are run without a specified launch type or capacity provider strategy.
defaultCapacityProviderStrategy
- The default capacity provider strategy for the cluster. The default capacity provider strategy is used
when services or tasks are run without a specified launch type or capacity provider strategy.public AwsEcsClusterDetails withDefaultCapacityProviderStrategy(AwsEcsClusterDefaultCapacityProviderStrategyDetails... defaultCapacityProviderStrategy)
The default capacity provider strategy for the cluster. The default capacity provider strategy is used when services or tasks are run without a specified launch type or capacity provider strategy.
NOTE: This method appends the values to the existing list (if any). Use
setDefaultCapacityProviderStrategy(java.util.Collection)
or
withDefaultCapacityProviderStrategy(java.util.Collection)
if you want to override the existing values.
defaultCapacityProviderStrategy
- The default capacity provider strategy for the cluster. The default capacity provider strategy is used
when services or tasks are run without a specified launch type or capacity provider strategy.public AwsEcsClusterDetails withDefaultCapacityProviderStrategy(Collection<AwsEcsClusterDefaultCapacityProviderStrategyDetails> defaultCapacityProviderStrategy)
The default capacity provider strategy for the cluster. The default capacity provider strategy is used when services or tasks are run without a specified launch type or capacity provider strategy.
defaultCapacityProviderStrategy
- The default capacity provider strategy for the cluster. The default capacity provider strategy is used
when services or tasks are run without a specified launch type or capacity provider strategy.public String toString()
toString
in class Object
Object.toString()
public AwsEcsClusterDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.