Interface LifecyclePolicySummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LifecyclePolicySummary.Builder,LifecyclePolicySummary>,SdkBuilder<LifecyclePolicySummary.Builder,LifecyclePolicySummary>,SdkPojo
- Enclosing class:
- LifecyclePolicySummary
public static interface LifecyclePolicySummary.Builder extends SdkPojo, CopyableBuilder<LifecyclePolicySummary.Builder,LifecyclePolicySummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LifecyclePolicySummary.Builderarn(String arn)The Amazon Resource Name (ARN) of the lifecycle policy summary resource.LifecyclePolicySummary.BuilderdateCreated(Instant dateCreated)The timestamp when Image Builder created the lifecycle policy resource.LifecyclePolicySummary.BuilderdateLastRun(Instant dateLastRun)The timestamp for the last time Image Builder ran the lifecycle policy.LifecyclePolicySummary.BuilderdateUpdated(Instant dateUpdated)The timestamp when Image Builder updated the lifecycle policy resource.LifecyclePolicySummary.Builderdescription(String description)Optional description for the lifecycle policy.LifecyclePolicySummary.BuilderexecutionRole(String executionRole)The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to run the lifecycle policy.LifecyclePolicySummary.Buildername(String name)The name of the lifecycle policy.LifecyclePolicySummary.BuilderresourceType(String resourceType)The type of resources the lifecycle policy targets.LifecyclePolicySummary.BuilderresourceType(LifecyclePolicyResourceType resourceType)The type of resources the lifecycle policy targets.LifecyclePolicySummary.Builderstatus(String status)The lifecycle policy resource status.LifecyclePolicySummary.Builderstatus(LifecyclePolicyStatus status)The lifecycle policy resource status.LifecyclePolicySummary.Buildertags(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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
arn
LifecyclePolicySummary.Builder arn(String arn)
The Amazon Resource Name (ARN) of the lifecycle policy summary resource.
- Parameters:
arn- The Amazon Resource Name (ARN) of the lifecycle policy summary resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
LifecyclePolicySummary.Builder name(String name)
The name of the lifecycle policy.
- Parameters:
name- The name of the lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
LifecyclePolicySummary.Builder description(String description)
Optional description for the lifecycle policy.
- Parameters:
description- Optional description for the lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
LifecyclePolicySummary.Builder status(String status)
The lifecycle policy resource status.
- Parameters:
status- The lifecycle policy resource status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LifecyclePolicyStatus,LifecyclePolicyStatus
-
status
LifecyclePolicySummary.Builder status(LifecyclePolicyStatus status)
The lifecycle policy resource status.
- Parameters:
status- The lifecycle policy resource status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LifecyclePolicyStatus,LifecyclePolicyStatus
-
executionRole
LifecyclePolicySummary.Builder executionRole(String executionRole)
The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to run the lifecycle policy.
- Parameters:
executionRole- The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to run the lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
LifecyclePolicySummary.Builder resourceType(String resourceType)
The type of resources the lifecycle policy targets.
- Parameters:
resourceType- The type of resources the lifecycle policy targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LifecyclePolicyResourceType,LifecyclePolicyResourceType
-
resourceType
LifecyclePolicySummary.Builder resourceType(LifecyclePolicyResourceType resourceType)
The type of resources the lifecycle policy targets.
- Parameters:
resourceType- The type of resources the lifecycle policy targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LifecyclePolicyResourceType,LifecyclePolicyResourceType
-
dateCreated
LifecyclePolicySummary.Builder dateCreated(Instant dateCreated)
The timestamp when Image Builder created the lifecycle policy resource.
- Parameters:
dateCreated- The timestamp when Image Builder created the lifecycle policy resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateUpdated
LifecyclePolicySummary.Builder dateUpdated(Instant dateUpdated)
The timestamp when Image Builder updated the lifecycle policy resource.
- Parameters:
dateUpdated- The timestamp when Image Builder updated the lifecycle policy resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateLastRun
LifecyclePolicySummary.Builder dateLastRun(Instant dateLastRun)
The timestamp for the last time Image Builder ran the lifecycle policy.
- Parameters:
dateLastRun- The timestamp for the last time Image Builder ran the lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
LifecyclePolicySummary.Builder tags(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-