@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecyclePolicySummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains a summary of lifecycle policy resources.
Constructor and Description |
---|
LifecyclePolicySummary() |
Modifier and Type | Method and Description |
---|---|
LifecyclePolicySummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
LifecyclePolicySummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
LifecyclePolicySummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the lifecycle policy summary resource.
|
Date |
getDateCreated()
The timestamp when Image Builder created the lifecycle policy resource.
|
Date |
getDateLastRun()
The timestamp for the last time Image Builder ran the lifecycle policy.
|
Date |
getDateUpdated()
The timestamp when Image Builder updated the lifecycle policy resource.
|
String |
getDescription()
Optional description for the lifecycle policy.
|
String |
getExecutionRole()
The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to run the lifecycle policy.
|
String |
getName()
The name of the lifecycle policy.
|
String |
getResourceType()
The type of resources the lifecycle policy targets.
|
String |
getStatus()
The lifecycle policy resource status.
|
Map<String,String> |
getTags()
To help manage your lifecycle policy resources, you can assign your own metadata to each resource in the form of
tags.
|
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 lifecycle policy summary resource.
|
void |
setDateCreated(Date dateCreated)
The timestamp when Image Builder created the lifecycle policy resource.
|
void |
setDateLastRun(Date dateLastRun)
The timestamp for the last time Image Builder ran the lifecycle policy.
|
void |
setDateUpdated(Date dateUpdated)
The timestamp when Image Builder updated the lifecycle policy resource.
|
void |
setDescription(String description)
Optional description for the lifecycle policy.
|
void |
setExecutionRole(String executionRole)
The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to run the lifecycle policy.
|
void |
setName(String name)
The name of the lifecycle policy.
|
void |
setResourceType(String resourceType)
The type of resources the lifecycle policy targets.
|
void |
setStatus(String status)
The lifecycle policy resource status.
|
void |
setTags(Map<String,String> tags)
To help manage your lifecycle policy resources, you can assign your own metadata to each resource in the form of
tags.
|
String |
toString()
Returns a string representation of this object.
|
LifecyclePolicySummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the lifecycle policy summary resource.
|
LifecyclePolicySummary |
withDateCreated(Date dateCreated)
The timestamp when Image Builder created the lifecycle policy resource.
|
LifecyclePolicySummary |
withDateLastRun(Date dateLastRun)
The timestamp for the last time Image Builder ran the lifecycle policy.
|
LifecyclePolicySummary |
withDateUpdated(Date dateUpdated)
The timestamp when Image Builder updated the lifecycle policy resource.
|
LifecyclePolicySummary |
withDescription(String description)
Optional description for the lifecycle policy.
|
LifecyclePolicySummary |
withExecutionRole(String executionRole)
The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to run the lifecycle policy.
|
LifecyclePolicySummary |
withName(String name)
The name of the lifecycle policy.
|
LifecyclePolicySummary |
withResourceType(LifecyclePolicyResourceType resourceType)
The type of resources the lifecycle policy targets.
|
LifecyclePolicySummary |
withResourceType(String resourceType)
The type of resources the lifecycle policy targets.
|
LifecyclePolicySummary |
withStatus(LifecyclePolicyStatus status)
The lifecycle policy resource status.
|
LifecyclePolicySummary |
withStatus(String status)
The lifecycle policy resource status.
|
LifecyclePolicySummary |
withTags(Map<String,String> tags)
To help manage your lifecycle policy resources, you can assign your own metadata to each resource in the form of
tags.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the lifecycle policy summary resource.
arn
- The Amazon Resource Name (ARN) of the lifecycle policy summary resource.public String getArn()
The Amazon Resource Name (ARN) of the lifecycle policy summary resource.
public LifecyclePolicySummary withArn(String arn)
The Amazon Resource Name (ARN) of the lifecycle policy summary resource.
arn
- The Amazon Resource Name (ARN) of the lifecycle policy summary resource.public void setName(String name)
The name of the lifecycle policy.
name
- The name of the lifecycle policy.public String getName()
The name of the lifecycle policy.
public LifecyclePolicySummary withName(String name)
The name of the lifecycle policy.
name
- The name of the lifecycle policy.public void setDescription(String description)
Optional description for the lifecycle policy.
description
- Optional description for the lifecycle policy.public String getDescription()
Optional description for the lifecycle policy.
public LifecyclePolicySummary withDescription(String description)
Optional description for the lifecycle policy.
description
- Optional description for the lifecycle policy.public void setStatus(String status)
The lifecycle policy resource status.
status
- The lifecycle policy resource status.LifecyclePolicyStatus
public String getStatus()
The lifecycle policy resource status.
LifecyclePolicyStatus
public LifecyclePolicySummary withStatus(String status)
The lifecycle policy resource status.
status
- The lifecycle policy resource status.LifecyclePolicyStatus
public LifecyclePolicySummary withStatus(LifecyclePolicyStatus status)
The lifecycle policy resource status.
status
- The lifecycle policy resource status.LifecyclePolicyStatus
public void setExecutionRole(String executionRole)
The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to run the lifecycle policy.
executionRole
- The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to run the lifecycle
policy.public String getExecutionRole()
The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to run the lifecycle policy.
public LifecyclePolicySummary withExecutionRole(String executionRole)
The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to run the lifecycle policy.
executionRole
- The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to run the lifecycle
policy.public void setResourceType(String resourceType)
The type of resources the lifecycle policy targets.
resourceType
- The type of resources the lifecycle policy targets.LifecyclePolicyResourceType
public String getResourceType()
The type of resources the lifecycle policy targets.
LifecyclePolicyResourceType
public LifecyclePolicySummary withResourceType(String resourceType)
The type of resources the lifecycle policy targets.
resourceType
- The type of resources the lifecycle policy targets.LifecyclePolicyResourceType
public LifecyclePolicySummary withResourceType(LifecyclePolicyResourceType resourceType)
The type of resources the lifecycle policy targets.
resourceType
- The type of resources the lifecycle policy targets.LifecyclePolicyResourceType
public void setDateCreated(Date dateCreated)
The timestamp when Image Builder created the lifecycle policy resource.
dateCreated
- The timestamp when Image Builder created the lifecycle policy resource.public Date getDateCreated()
The timestamp when Image Builder created the lifecycle policy resource.
public LifecyclePolicySummary withDateCreated(Date dateCreated)
The timestamp when Image Builder created the lifecycle policy resource.
dateCreated
- The timestamp when Image Builder created the lifecycle policy resource.public void setDateUpdated(Date dateUpdated)
The timestamp when Image Builder updated the lifecycle policy resource.
dateUpdated
- The timestamp when Image Builder updated the lifecycle policy resource.public Date getDateUpdated()
The timestamp when Image Builder updated the lifecycle policy resource.
public LifecyclePolicySummary withDateUpdated(Date dateUpdated)
The timestamp when Image Builder updated the lifecycle policy resource.
dateUpdated
- The timestamp when Image Builder updated the lifecycle policy resource.public void setDateLastRun(Date dateLastRun)
The timestamp for the last time Image Builder ran the lifecycle policy.
dateLastRun
- The timestamp for the last time Image Builder ran the lifecycle policy.public Date getDateLastRun()
The timestamp for the last time Image Builder ran the lifecycle policy.
public LifecyclePolicySummary withDateLastRun(Date dateLastRun)
The timestamp for the last time Image Builder ran the lifecycle policy.
dateLastRun
- The timestamp for the last time Image Builder ran the lifecycle policy.public Map<String,String> getTags()
To help manage your lifecycle policy resources, you can assign your own metadata to each resource in the form of tags. Each tag consists of a key and an optional value, both of which you define.
public void setTags(Map<String,String> tags)
To help manage your lifecycle policy resources, you can assign your own metadata to each resource in the form of tags. Each tag consists of a key and an optional value, both of which you define.
tags
- To help manage your lifecycle policy resources, you can assign your own metadata to each resource in the
form of tags. Each tag consists of a key and an optional value, both of which you define.public LifecyclePolicySummary withTags(Map<String,String> tags)
To help manage your lifecycle policy resources, you can assign your own metadata to each resource in the form of tags. Each tag consists of a key and an optional value, both of which you define.
tags
- To help manage your lifecycle policy resources, you can assign your own metadata to each resource in the
form of tags. Each tag consists of a key and an optional value, both of which you define.public LifecyclePolicySummary addTagsEntry(String key, String value)
public LifecyclePolicySummary clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public LifecyclePolicySummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.