Class IdFormat
- java.lang.Object
-
- com.amazonaws.services.ec2.model.IdFormat
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class IdFormat extends Object implements Serializable, Cloneable
Describes the ID format for a resource.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IdFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdFormat
clone()
boolean
equals(Object obj)
Date
getDeadline()
The date in UTC at which you are permanently switched over to using longer IDs.String
getResource()
The type of resource.Boolean
getUseLongIds()
Indicates whether longer IDs (17-character IDs) are enabled for the resource.int
hashCode()
Boolean
isUseLongIds()
Indicates whether longer IDs (17-character IDs) are enabled for the resource.void
setDeadline(Date deadline)
The date in UTC at which you are permanently switched over to using longer IDs.void
setResource(String resource)
The type of resource.void
setUseLongIds(Boolean useLongIds)
Indicates whether longer IDs (17-character IDs) are enabled for the resource.String
toString()
Returns a string representation of this object; useful for testing and debugging.IdFormat
withDeadline(Date deadline)
The date in UTC at which you are permanently switched over to using longer IDs.IdFormat
withResource(String resource)
The type of resource.IdFormat
withUseLongIds(Boolean useLongIds)
Indicates whether longer IDs (17-character IDs) are enabled for the resource.
-
-
-
Method Detail
-
setResource
public void setResource(String resource)
The type of resource.
- Parameters:
resource
- The type of resource.
-
getResource
public String getResource()
The type of resource.
- Returns:
- The type of resource.
-
withResource
public IdFormat withResource(String resource)
The type of resource.
- Parameters:
resource
- The type of resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUseLongIds
public void setUseLongIds(Boolean useLongIds)
Indicates whether longer IDs (17-character IDs) are enabled for the resource.
- Parameters:
useLongIds
- Indicates whether longer IDs (17-character IDs) are enabled for the resource.
-
getUseLongIds
public Boolean getUseLongIds()
Indicates whether longer IDs (17-character IDs) are enabled for the resource.
- Returns:
- Indicates whether longer IDs (17-character IDs) are enabled for the resource.
-
withUseLongIds
public IdFormat withUseLongIds(Boolean useLongIds)
Indicates whether longer IDs (17-character IDs) are enabled for the resource.
- Parameters:
useLongIds
- Indicates whether longer IDs (17-character IDs) are enabled for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isUseLongIds
public Boolean isUseLongIds()
Indicates whether longer IDs (17-character IDs) are enabled for the resource.
- Returns:
- Indicates whether longer IDs (17-character IDs) are enabled for the resource.
-
setDeadline
public void setDeadline(Date deadline)
The date in UTC at which you are permanently switched over to using longer IDs. If a deadline is not yet available for this resource type, this field is not returned.
- Parameters:
deadline
- The date in UTC at which you are permanently switched over to using longer IDs. If a deadline is not yet available for this resource type, this field is not returned.
-
getDeadline
public Date getDeadline()
The date in UTC at which you are permanently switched over to using longer IDs. If a deadline is not yet available for this resource type, this field is not returned.
- Returns:
- The date in UTC at which you are permanently switched over to using longer IDs. If a deadline is not yet available for this resource type, this field is not returned.
-
withDeadline
public IdFormat withDeadline(Date deadline)
The date in UTC at which you are permanently switched over to using longer IDs. If a deadline is not yet available for this resource type, this field is not returned.
- Parameters:
deadline
- The date in UTC at which you are permanently switched over to using longer IDs. If a deadline is not yet available for this resource type, this field is not returned.- 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()
-
-