@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 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.
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.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.
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.
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.public void setResource(String resource)
The type of resource.
resource
- The type of resource.public String getResource()
The type of resource.
public IdFormat withResource(String resource)
The type of resource.
resource
- The type of resource.public void setUseLongIds(Boolean useLongIds)
Indicates whether longer IDs (17-character IDs) are enabled for the resource.
useLongIds
- Indicates whether longer IDs (17-character IDs) are enabled for the resource.public Boolean getUseLongIds()
Indicates whether longer IDs (17-character IDs) are enabled for the resource.
public IdFormat withUseLongIds(Boolean useLongIds)
Indicates whether longer IDs (17-character IDs) are enabled for the resource.
useLongIds
- Indicates whether longer IDs (17-character IDs) are enabled for the resource.public Boolean isUseLongIds()
Indicates whether longer IDs (17-character IDs) are enabled for the resource.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.