public class IdFormat extends Object implements Serializable, Cloneable
Describes the ID format for a resource.
| Constructor and Description |
|---|
IdFormat() |
| Modifier and Type | Method and 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.
|
public String getResource()
public void setResource(String resource)
resource - The type of resource.public IdFormat withResource(String resource)
Returns a reference to this object so that method calls can be chained together.
resource - The type of resource.public Boolean isUseLongIds()
public void setUseLongIds(Boolean useLongIds)
useLongIds - Indicates whether longer IDs (17-character IDs) are enabled for the
resource.public IdFormat withUseLongIds(Boolean useLongIds)
Returns a reference to this object so that method calls can be chained together.
useLongIds - Indicates whether longer IDs (17-character IDs) are enabled for the
resource.public Boolean getUseLongIds()
public Date getDeadline()
public void setDeadline(Date deadline)
deadline - The date in UTC at which you are permanently switched over to using
longer IDs.public IdFormat withDeadline(Date deadline)
Returns a reference to this object so that method calls can be chained together.
deadline - The date in UTC at which you are permanently switched over to using
longer IDs.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.