@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StepRequiredCapabilities extends Object implements Serializable, Cloneable, StructuredPojo
The details of required step capabilities.
Constructor and Description |
---|
StepRequiredCapabilities() |
Modifier and Type | Method and Description |
---|---|
StepRequiredCapabilities |
clone() |
boolean |
equals(Object obj) |
List<StepAmountCapability> |
getAmounts()
The capability amounts that the step requires.
|
List<StepAttributeCapability> |
getAttributes()
The capability attributes that the step requires.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAmounts(Collection<StepAmountCapability> amounts)
The capability amounts that the step requires.
|
void |
setAttributes(Collection<StepAttributeCapability> attributes)
The capability attributes that the step requires.
|
String |
toString()
Returns a string representation of this object.
|
StepRequiredCapabilities |
withAmounts(Collection<StepAmountCapability> amounts)
The capability amounts that the step requires.
|
StepRequiredCapabilities |
withAmounts(StepAmountCapability... amounts)
The capability amounts that the step requires.
|
StepRequiredCapabilities |
withAttributes(Collection<StepAttributeCapability> attributes)
The capability attributes that the step requires.
|
StepRequiredCapabilities |
withAttributes(StepAttributeCapability... attributes)
The capability attributes that the step requires.
|
public List<StepAmountCapability> getAmounts()
The capability amounts that the step requires.
public void setAmounts(Collection<StepAmountCapability> amounts)
The capability amounts that the step requires.
amounts
- The capability amounts that the step requires.public StepRequiredCapabilities withAmounts(StepAmountCapability... amounts)
The capability amounts that the step requires.
NOTE: This method appends the values to the existing list (if any). Use
setAmounts(java.util.Collection)
or withAmounts(java.util.Collection)
if you want to override
the existing values.
amounts
- The capability amounts that the step requires.public StepRequiredCapabilities withAmounts(Collection<StepAmountCapability> amounts)
The capability amounts that the step requires.
amounts
- The capability amounts that the step requires.public List<StepAttributeCapability> getAttributes()
The capability attributes that the step requires.
public void setAttributes(Collection<StepAttributeCapability> attributes)
The capability attributes that the step requires.
attributes
- The capability attributes that the step requires.public StepRequiredCapabilities withAttributes(StepAttributeCapability... attributes)
The capability attributes that the step requires.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
or withAttributes(java.util.Collection)
if you want to
override the existing values.
attributes
- The capability attributes that the step requires.public StepRequiredCapabilities withAttributes(Collection<StepAttributeCapability> attributes)
The capability attributes that the step requires.
attributes
- The capability attributes that the step requires.public String toString()
toString
in class Object
Object.toString()
public StepRequiredCapabilities clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.