@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IntentMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about an intent.
Constructor and Description |
---|
IntentMetadata() |
Modifier and Type | Method and Description |
---|---|
IntentMetadata |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The date that the intent was created.
|
String |
getDescription()
A description of the intent.
|
Date |
getLastUpdatedDate()
The date that the intent was updated.
|
String |
getName()
The name of the intent.
|
String |
getVersion()
The version of the intent.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedDate(Date createdDate)
The date that the intent was created.
|
void |
setDescription(String description)
A description of the intent.
|
void |
setLastUpdatedDate(Date lastUpdatedDate)
The date that the intent was updated.
|
void |
setName(String name)
The name of the intent.
|
void |
setVersion(String version)
The version of the intent.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
IntentMetadata |
withCreatedDate(Date createdDate)
The date that the intent was created.
|
IntentMetadata |
withDescription(String description)
A description of the intent.
|
IntentMetadata |
withLastUpdatedDate(Date lastUpdatedDate)
The date that the intent was updated.
|
IntentMetadata |
withName(String name)
The name of the intent.
|
IntentMetadata |
withVersion(String version)
The version of the intent.
|
public void setName(String name)
The name of the intent.
name
- The name of the intent.public String getName()
The name of the intent.
public IntentMetadata withName(String name)
The name of the intent.
name
- The name of the intent.public void setDescription(String description)
A description of the intent.
description
- A description of the intent.public String getDescription()
A description of the intent.
public IntentMetadata withDescription(String description)
A description of the intent.
description
- A description of the intent.public void setLastUpdatedDate(Date lastUpdatedDate)
The date that the intent was updated. When you create an intent, the creation date and last updated date are the same.
lastUpdatedDate
- The date that the intent was updated. When you create an intent, the creation date and last updated date
are the same.public Date getLastUpdatedDate()
The date that the intent was updated. When you create an intent, the creation date and last updated date are the same.
public IntentMetadata withLastUpdatedDate(Date lastUpdatedDate)
The date that the intent was updated. When you create an intent, the creation date and last updated date are the same.
lastUpdatedDate
- The date that the intent was updated. When you create an intent, the creation date and last updated date
are the same.public void setCreatedDate(Date createdDate)
The date that the intent was created.
createdDate
- The date that the intent was created.public Date getCreatedDate()
The date that the intent was created.
public IntentMetadata withCreatedDate(Date createdDate)
The date that the intent was created.
createdDate
- The date that the intent was created.public void setVersion(String version)
The version of the intent.
version
- The version of the intent.public String getVersion()
The version of the intent.
public IntentMetadata withVersion(String version)
The version of the intent.
version
- The version of the intent.public String toString()
toString
in class Object
Object.toString()
public IntentMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.