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