Package com.amazonaws.services.ecs.model
Class Attribute
- java.lang.Object
-
- com.amazonaws.services.ecs.model.Attribute
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Attribute extends Object implements Serializable, Cloneable
The attributes applicable to a container instance when it is registered.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Attribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Attributeclone()booleanequals(Object obj)StringgetName()The name of the container instance attribute.StringgetValue()The value of the container instance attribute (at this time, the value here isNull, but this could change in future revisions for expandability).inthashCode()voidsetName(String name)The name of the container instance attribute.voidsetValue(String value)The value of the container instance attribute (at this time, the value here isNull, but this could change in future revisions for expandability).StringtoString()Returns a string representation of this object; useful for testing and debugging.AttributewithName(String name)The name of the container instance attribute.AttributewithValue(String value)The value of the container instance attribute (at this time, the value here isNull, but this could change in future revisions for expandability).
-
-
-
Method Detail
-
setName
public void setName(String name)
The name of the container instance attribute.
- Parameters:
name- The name of the container instance attribute.
-
getName
public String getName()
The name of the container instance attribute.
- Returns:
- The name of the container instance attribute.
-
withName
public Attribute withName(String name)
The name of the container instance attribute.
- Parameters:
name- The name of the container instance attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValue
public void setValue(String value)
The value of the container instance attribute (at this time, the value here is
Null, but this could change in future revisions for expandability).- Parameters:
value- The value of the container instance attribute (at this time, the value here isNull, but this could change in future revisions for expandability).
-
getValue
public String getValue()
The value of the container instance attribute (at this time, the value here is
Null, but this could change in future revisions for expandability).- Returns:
- The value of the container instance attribute (at this time, the
value here is
Null, but this could change in future revisions for expandability).
-
withValue
public Attribute withValue(String value)
The value of the container instance attribute (at this time, the value here is
Null, but this could change in future revisions for expandability).- Parameters:
value- The value of the container instance attribute (at this time, the value here isNull, but this could change in future revisions for expandability).- Returns:
- Returns a reference to this 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-