public class IdFormat
extends java.lang.Object
implements java.io.Serializable
Describes the ID format for a resource.
Constructor and Description |
---|
IdFormat() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getDeadline()
The date in UTC at which you are permanently switched over to using
longer IDs.
|
java.lang.String |
getResource()
The type of resource.
|
java.lang.Boolean |
getUseLongIds()
Indicates whether longer IDs (17-character IDs) are enabled for the
resource.
|
int |
hashCode() |
java.lang.Boolean |
isUseLongIds()
Indicates whether longer IDs (17-character IDs) are enabled for the
resource.
|
void |
setDeadline(java.util.Date deadline)
The date in UTC at which you are permanently switched over to using
longer IDs.
|
void |
setResource(java.lang.String resource)
The type of resource.
|
void |
setUseLongIds(java.lang.Boolean useLongIds)
Indicates whether longer IDs (17-character IDs) are enabled for the
resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IdFormat |
withDeadline(java.util.Date deadline)
The date in UTC at which you are permanently switched over to using
longer IDs.
|
IdFormat |
withResource(java.lang.String resource)
The type of resource.
|
IdFormat |
withUseLongIds(java.lang.Boolean useLongIds)
Indicates whether longer IDs (17-character IDs) are enabled for the
resource.
|
public java.lang.String getResource()
public void setResource(java.lang.String resource)
resource
- The type of resource.public IdFormat withResource(java.lang.String resource)
Returns a reference to this object so that method calls can be chained together.
resource
- The type of resource.public java.lang.Boolean isUseLongIds()
public void setUseLongIds(java.lang.Boolean useLongIds)
useLongIds
- Indicates whether longer IDs (17-character IDs) are enabled for the
resource.public IdFormat withUseLongIds(java.lang.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 java.lang.Boolean getUseLongIds()
public java.util.Date getDeadline()
public void setDeadline(java.util.Date deadline)
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 IdFormat withDeadline(java.util.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. If a deadline is not yet available for this resource type,
this field is not returned.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.