Class IdFormat
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.IdFormat
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<IdFormat.Builder,IdFormat>
@Generated("software.amazon.awssdk:codegen") public final class IdFormat extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IdFormat.Builder,IdFormat>
Describes the ID format for a resource.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
IdFormat.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IdFormat.Builder
builder()
Instant
deadline()
The date in UTC at which you are permanently switched over to using longer IDs.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
resource()
The type of resource.List<SdkField<?>>
sdkFields()
static Class<? extends IdFormat.Builder>
serializableBuilderClass()
IdFormat.Builder
toBuilder()
String
toString()
Returns a string representation of this object.Boolean
useLongIds()
Indicates whether longer IDs (17-character IDs) are enabled for the resource.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
deadline
public final Instant 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:
- 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.
-
resource
public final String resource()
The type of resource.
- Returns:
- The type of resource.
-
useLongIds
public final Boolean useLongIds()
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.
-
toBuilder
public IdFormat.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<IdFormat.Builder,IdFormat>
-
builder
public static IdFormat.Builder builder()
-
serializableBuilderClass
public static Class<? extends IdFormat.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-