Package com.amazonaws.services.ec2.model
Class DescribeIdFormatResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DescribeIdFormatResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeIdFormatResult extends Object implements Serializable, Cloneable
Contains the output of DescribeIdFormat.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeIdFormatResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeIdFormatResult
clone()
boolean
equals(Object obj)
List<IdFormat>
getStatuses()
Information about the ID format for the resource.int
hashCode()
void
setStatuses(Collection<IdFormat> statuses)
Information about the ID format for the resource.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeIdFormatResult
withStatuses(IdFormat... statuses)
Information about the ID format for the resource.DescribeIdFormatResult
withStatuses(Collection<IdFormat> statuses)
Information about the ID format for the resource.
-
-
-
Method Detail
-
getStatuses
public List<IdFormat> getStatuses()
Information about the ID format for the resource.
- Returns:
- Information about the ID format for the resource.
-
setStatuses
public void setStatuses(Collection<IdFormat> statuses)
Information about the ID format for the resource.
- Parameters:
statuses
- Information about the ID format for the resource.
-
withStatuses
public DescribeIdFormatResult withStatuses(IdFormat... statuses)
Information about the ID format for the resource.
NOTE: This method appends the values to the existing list (if any). Use
setStatuses(java.util.Collection)
orwithStatuses(java.util.Collection)
if you want to override the existing values.- Parameters:
statuses
- Information about the ID format for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withStatuses
public DescribeIdFormatResult withStatuses(Collection<IdFormat> statuses)
Information about the ID format for the resource.
- Parameters:
statuses
- Information about the ID format for the resource.- 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeIdFormatResult clone()
-
-