Package com.ibm.cloud.is.vpc.v1.model
Class BackupPolicyPlan
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.BackupPolicyPlan
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class BackupPolicyPlan extends com.ibm.cloud.sdk.core.service.model.GenericModel
BackupPolicyPlan.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
BackupPolicyPlan.LifecycleState
The lifecycle state of this backup policy plan.static interface
BackupPolicyPlan.ResourceType
The resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getAttachUserTags()
Gets the attachUserTags.BackupPolicyPlanClonePolicy
getClonePolicy()
Gets the clonePolicy.Date
getCreatedAt()
Gets the createdAt.String
getCronSpec()
Gets the cronSpec.BackupPolicyPlanDeletionTrigger
getDeletionTrigger()
Gets the deletionTrigger.String
getHref()
Gets the href.String
getId()
Gets the id.String
getLifecycleState()
Gets the lifecycleState.String
getName()
Gets the name.List<BackupPolicyPlanRemoteRegionPolicy>
getRemoteRegionPolicies()
Gets the remoteRegionPolicies.String
getResourceType()
Gets the resourceType.Boolean
isActive()
Gets the active.Boolean
isCopyUserTags()
Gets the copyUserTags.
-
-
-
Method Detail
-
isActive
public Boolean isActive()
Gets the active. Indicates whether the plan is active.- Returns:
- the active
-
getAttachUserTags
public List<String> getAttachUserTags()
Gets the attachUserTags. The user tags to attach to backups (snapshots) created by this plan.- Returns:
- the attachUserTags
-
getClonePolicy
public BackupPolicyPlanClonePolicy getClonePolicy()
Gets the clonePolicy.- Returns:
- the clonePolicy
-
isCopyUserTags
public Boolean isCopyUserTags()
Gets the copyUserTags. Indicates whether to copy the source's user tags to the created backups (snapshots).- Returns:
- the copyUserTags
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time that the backup policy plan was created.- Returns:
- the createdAt
-
getCronSpec
public String getCronSpec()
Gets the cronSpec. The cron specification for the backup schedule. The backup policy jobs (which create and delete backups for this plan) will not start until this time, and may start for up to 90 minutes after this time. All backup schedules for plans in the same policy must be at least an hour apart.- Returns:
- the cronSpec
-
getDeletionTrigger
public BackupPolicyPlanDeletionTrigger getDeletionTrigger()
Gets the deletionTrigger.- Returns:
- the deletionTrigger
-
getHref
public String getHref()
Gets the href. The URL for this backup policy plan.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this backup policy plan.- Returns:
- the id
-
getLifecycleState
public String getLifecycleState()
Gets the lifecycleState. The lifecycle state of this backup policy plan.- Returns:
- the lifecycleState
-
getName
public String getName()
Gets the name. The name for this backup policy plan. The name is unique across all plans in the backup policy.- Returns:
- the name
-
getRemoteRegionPolicies
public List<BackupPolicyPlanRemoteRegionPolicy> getRemoteRegionPolicies()
Gets the remoteRegionPolicies. The policies for additional backups in remote regions.- Returns:
- the remoteRegionPolicies
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
-