| Package | Description |
|---|---|
| com.amazonaws.services.dlm.model |
| Modifier and Type | Method and Description |
|---|---|
PolicyDetails |
PolicyDetails.clone() |
PolicyDetails |
CreateLifecyclePolicyRequest.getPolicyDetails()
The configuration details of the lifecycle policy.
|
PolicyDetails |
UpdateLifecyclePolicyRequest.getPolicyDetails()
The configuration of the lifecycle policy.
|
PolicyDetails |
LifecyclePolicy.getPolicyDetails()
The configuration of the lifecycle policy
|
PolicyDetails |
PolicyDetails.withActions(Action... actions)
[Event-based policies only] The actions to be performed when the event-based policy is activated.
|
PolicyDetails |
PolicyDetails.withActions(Collection<Action> actions)
[Event-based policies only] The actions to be performed when the event-based policy is activated.
|
PolicyDetails |
PolicyDetails.withCopyTags(Boolean copyTags)
[Default policies only] Indicates whether the policy should copy tags from the source resource to the
snapshot or AMI.
|
PolicyDetails |
PolicyDetails.withCreateInterval(Integer createInterval)
[Default policies only] Specifies how often the policy should run and create snapshots or AMIs.
|
PolicyDetails |
PolicyDetails.withCrossRegionCopyTargets(Collection<CrossRegionCopyTarget> crossRegionCopyTargets)
[Default policies only] Specifies destination Regions for snapshot or AMI copies.
|
PolicyDetails |
PolicyDetails.withCrossRegionCopyTargets(CrossRegionCopyTarget... crossRegionCopyTargets)
[Default policies only] Specifies destination Regions for snapshot or AMI copies.
|
PolicyDetails |
PolicyDetails.withEventSource(EventSource eventSource)
[Event-based policies only] The event that activates the event-based policy.
|
PolicyDetails |
PolicyDetails.withExclusions(Exclusions exclusions)
[Default policies only] Specifies exclusion parameters for volumes or instances for which you do not want
to create snapshots or AMIs.
|
PolicyDetails |
PolicyDetails.withExtendDeletion(Boolean extendDeletion)
[Default policies only] Defines the snapshot or AMI retention behavior for the policy if the source volume
or instance is deleted, or if the policy enters the error, disabled, or deleted state.
|
PolicyDetails |
PolicyDetails.withParameters(Parameters parameters)
[Custom snapshot and AMI policies only] A set of optional parameters for snapshot and AMI lifecycle
policies.
|
PolicyDetails |
PolicyDetails.withPolicyLanguage(PolicyLanguageValues policyLanguage)
The type of policy to create.
|
PolicyDetails |
PolicyDetails.withPolicyLanguage(String policyLanguage)
The type of policy to create.
|
PolicyDetails |
PolicyDetails.withPolicyType(PolicyTypeValues policyType)
[Custom policies only] The valid target resource types and actions a policy can manage.
|
PolicyDetails |
PolicyDetails.withPolicyType(String policyType)
[Custom policies only] The valid target resource types and actions a policy can manage.
|
PolicyDetails |
PolicyDetails.withResourceLocations(Collection<String> resourceLocations)
[Custom snapshot and AMI policies only] The location of the resources to backup.
|
PolicyDetails |
PolicyDetails.withResourceLocations(ResourceLocationValues... resourceLocations)
[Custom snapshot and AMI policies only] The location of the resources to backup.
|
PolicyDetails |
PolicyDetails.withResourceLocations(String... resourceLocations)
[Custom snapshot and AMI policies only] The location of the resources to backup.
|
PolicyDetails |
PolicyDetails.withResourceType(ResourceTypeValues resourceType)
[Default policies only] Specify the type of default policy to create.
|
PolicyDetails |
PolicyDetails.withResourceType(String resourceType)
[Default policies only] Specify the type of default policy to create.
|
PolicyDetails |
PolicyDetails.withResourceTypes(Collection<String> resourceTypes)
[Custom snapshot policies only] The target resource type for snapshot and AMI lifecycle policies.
|
PolicyDetails |
PolicyDetails.withResourceTypes(ResourceTypeValues... resourceTypes)
[Custom snapshot policies only] The target resource type for snapshot and AMI lifecycle policies.
|
PolicyDetails |
PolicyDetails.withResourceTypes(String... resourceTypes)
[Custom snapshot policies only] The target resource type for snapshot and AMI lifecycle policies.
|
PolicyDetails |
PolicyDetails.withRetainInterval(Integer retainInterval)
[Default policies only] Specifies how long the policy should retain snapshots or AMIs before deleting
them.
|
PolicyDetails |
PolicyDetails.withSchedules(Collection<Schedule> schedules)
[Custom snapshot and AMI policies only] The schedules of policy-defined actions for snapshot and AMI
lifecycle policies.
|
PolicyDetails |
PolicyDetails.withSchedules(Schedule... schedules)
[Custom snapshot and AMI policies only] The schedules of policy-defined actions for snapshot and AMI
lifecycle policies.
|
PolicyDetails |
PolicyDetails.withTargetTags(Collection<Tag> targetTags)
[Custom snapshot and AMI policies only] The single tag that identifies targeted resources for this policy.
|
PolicyDetails |
PolicyDetails.withTargetTags(Tag... targetTags)
[Custom snapshot and AMI policies only] The single tag that identifies targeted resources for this policy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CreateLifecyclePolicyRequest.setPolicyDetails(PolicyDetails policyDetails)
The configuration details of the lifecycle policy.
|
void |
UpdateLifecyclePolicyRequest.setPolicyDetails(PolicyDetails policyDetails)
The configuration of the lifecycle policy.
|
void |
LifecyclePolicy.setPolicyDetails(PolicyDetails policyDetails)
The configuration of the lifecycle policy
|
CreateLifecyclePolicyRequest |
CreateLifecyclePolicyRequest.withPolicyDetails(PolicyDetails policyDetails)
The configuration details of the lifecycle policy.
|
UpdateLifecyclePolicyRequest |
UpdateLifecyclePolicyRequest.withPolicyDetails(PolicyDetails policyDetails)
The configuration of the lifecycle policy.
|
LifecyclePolicy |
LifecyclePolicy.withPolicyDetails(PolicyDetails policyDetails)
The configuration of the lifecycle policy
|
Copyright © 2023. All rights reserved.