@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailuresResponse extends Object implements Serializable, Cloneable, StructuredPojo
Response element for actions that make changes, namely create, update, or delete actions.
Constructor and Description |
---|
FailuresResponse() |
Modifier and Type | Method and Description |
---|---|
FailuresResponse |
clone() |
boolean |
equals(Object obj) |
List<Failures> |
getFailures()
List of all failures.
|
String |
getRegion()
List of Amazon Web Services Regions where the failure occurred.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailures(Collection<Failures> failures)
List of all failures.
|
void |
setRegion(String region)
List of Amazon Web Services Regions where the failure occurred.
|
String |
toString()
Returns a string representation of this object.
|
FailuresResponse |
withFailures(Collection<Failures> failures)
List of all failures.
|
FailuresResponse |
withFailures(Failures... failures)
List of all failures.
|
FailuresResponse |
withRegion(String region)
List of Amazon Web Services Regions where the failure occurred.
|
public List<Failures> getFailures()
List of all failures.
public void setFailures(Collection<Failures> failures)
List of all failures.
failures
- List of all failures.public FailuresResponse withFailures(Failures... failures)
List of all failures.
NOTE: This method appends the values to the existing list (if any). Use
setFailures(java.util.Collection)
or withFailures(java.util.Collection)
if you want to override
the existing values.
failures
- List of all failures.public FailuresResponse withFailures(Collection<Failures> failures)
List of all failures.
failures
- List of all failures.public void setRegion(String region)
List of Amazon Web Services Regions where the failure occurred.
region
- List of Amazon Web Services Regions where the failure occurred.public String getRegion()
List of Amazon Web Services Regions where the failure occurred.
public FailuresResponse withRegion(String region)
List of Amazon Web Services Regions where the failure occurred.
region
- List of Amazon Web Services Regions where the failure occurred.public String toString()
toString
in class Object
Object.toString()
public FailuresResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.