@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEcsClusterClusterSettingsDetails extends Object implements Serializable, Cloneable, StructuredPojo
Indicates whether to enable CloudWatch Container Insights for the ECS cluster.
Constructor and Description |
---|
AwsEcsClusterClusterSettingsDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEcsClusterClusterSettingsDetails |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the setting.
|
String |
getValue()
The value of the setting.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the setting.
|
void |
setValue(String value)
The value of the setting.
|
String |
toString()
Returns a string representation of this object.
|
AwsEcsClusterClusterSettingsDetails |
withName(String name)
The name of the setting.
|
AwsEcsClusterClusterSettingsDetails |
withValue(String value)
The value of the setting.
|
public void setName(String name)
The name of the setting. The valid value is containerInsights
.
name
- The name of the setting. The valid value is containerInsights
.public String getName()
The name of the setting. The valid value is containerInsights
.
containerInsights
.public AwsEcsClusterClusterSettingsDetails withName(String name)
The name of the setting. The valid value is containerInsights
.
name
- The name of the setting. The valid value is containerInsights
.public void setValue(String value)
The value of the setting. Valid values are disabled
or enabled
.
value
- The value of the setting. Valid values are disabled
or enabled
.public String getValue()
The value of the setting. Valid values are disabled
or enabled
.
disabled
or enabled
.public AwsEcsClusterClusterSettingsDetails withValue(String value)
The value of the setting. Valid values are disabled
or enabled
.
value
- The value of the setting. Valid values are disabled
or enabled
.public String toString()
toString
in class Object
Object.toString()
public AwsEcsClusterClusterSettingsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.