@Generated(value="software.amazon.awssdk:codegen") public final class IntentMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IntentMetadata.Builder,IntentMetadata>
Provides information about an intent.
Modifier and Type | Class and Description |
---|---|
static interface |
IntentMetadata.Builder |
Modifier and Type | Method and Description |
---|---|
static IntentMetadata.Builder |
builder() |
Instant |
createdDate()
The date that the intent was created.
|
String |
description()
A description of the intent.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedDate()
The date that the intent was updated.
|
String |
name()
The name of the intent.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends IntentMetadata.Builder> |
serializableBuilderClass() |
IntentMetadata.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
String |
version()
The version of the intent.
|
copy
public final String name()
The name of the intent.
public final String description()
A description of the intent.
public final Instant lastUpdatedDate()
The date that the intent was updated. When you create an intent, the creation date and last updated date are the same.
public final Instant createdDate()
The date that the intent was created.
public final String version()
The version of the intent.
public IntentMetadata.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<IntentMetadata.Builder,IntentMetadata>
public static IntentMetadata.Builder builder()
public static Class<? extends IntentMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()