@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TemplateSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information for a template.
Constructor and Description |
---|
TemplateSummary() |
Modifier and Type | Method and Description |
---|---|
TemplateSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the template.
|
Date |
getCreatedAt()
The time, in milliseconds since the epoch, when the template was created.
|
Date |
getLastUpdatedAt()
The time, in milliseconds since the epoch, when the template was last updated.
|
String |
getName()
The name of the template.
|
String |
getVersion()
The version of the template that you're using.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the template.
|
void |
setCreatedAt(Date createdAt)
The time, in milliseconds since the epoch, when the template was created.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The time, in milliseconds since the epoch, when the template was last updated.
|
void |
setName(String name)
The name of the template.
|
void |
setVersion(String version)
The version of the template that you're using.
|
String |
toString()
Returns a string representation of this object.
|
TemplateSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the template.
|
TemplateSummary |
withCreatedAt(Date createdAt)
The time, in milliseconds since the epoch, when the template was created.
|
TemplateSummary |
withLastUpdatedAt(Date lastUpdatedAt)
The time, in milliseconds since the epoch, when the template was last updated.
|
TemplateSummary |
withName(String name)
The name of the template.
|
TemplateSummary |
withVersion(String version)
The version of the template that you're using.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the template.
arn
- The Amazon Resource Name (ARN) of the template.public String getArn()
The Amazon Resource Name (ARN) of the template.
public TemplateSummary withArn(String arn)
The Amazon Resource Name (ARN) of the template.
arn
- The Amazon Resource Name (ARN) of the template.public void setCreatedAt(Date createdAt)
The time, in milliseconds since the epoch, when the template was created.
createdAt
- The time, in milliseconds since the epoch, when the template was created.public Date getCreatedAt()
The time, in milliseconds since the epoch, when the template was created.
public TemplateSummary withCreatedAt(Date createdAt)
The time, in milliseconds since the epoch, when the template was created.
createdAt
- The time, in milliseconds since the epoch, when the template was created.public void setLastUpdatedAt(Date lastUpdatedAt)
The time, in milliseconds since the epoch, when the template was last updated.
lastUpdatedAt
- The time, in milliseconds since the epoch, when the template was last updated.public Date getLastUpdatedAt()
The time, in milliseconds since the epoch, when the template was last updated.
public TemplateSummary withLastUpdatedAt(Date lastUpdatedAt)
The time, in milliseconds since the epoch, when the template was last updated.
lastUpdatedAt
- The time, in milliseconds since the epoch, when the template was last updated.public void setName(String name)
The name of the template.
name
- The name of the template.public String getName()
The name of the template.
public TemplateSummary withName(String name)
The name of the template.
name
- The name of the template.public void setVersion(String version)
The version of the template that you're using.
version
- The version of the template that you're using.public String getVersion()
The version of the template that you're using.
public TemplateSummary withVersion(String version)
The version of the template that you're using.
version
- The version of the template that you're using.public String toString()
toString
in class Object
Object.toString()
public TemplateSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.