Package com.ibm.cloud.is.vpc.v1.model
Class SnapshotConsistencyGroup
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.SnapshotConsistencyGroup
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SnapshotConsistencyGroup extends com.ibm.cloud.sdk.core.service.model.GenericModel
SnapshotConsistencyGroup.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SnapshotConsistencyGroup.LifecycleState
The lifecycle state of this snapshot consistency group.static interface
SnapshotConsistencyGroup.ResourceType
The resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupPolicyPlanReference
getBackupPolicyPlan()
Gets the backupPolicyPlan.Date
getCreatedAt()
Gets the createdAt.String
getCrn()
Gets the crn.String
getHref()
Gets the href.String
getId()
Gets the id.String
getLifecycleState()
Gets the lifecycleState.String
getName()
Gets the name.ResourceGroupReference
getResourceGroup()
Gets the resourceGroup.String
getResourceType()
Gets the resourceType.List<String>
getServiceTags()
Gets the serviceTags.List<SnapshotReference>
getSnapshots()
Gets the snapshots.Boolean
isDeleteSnapshotsOnDelete()
Gets the deleteSnapshotsOnDelete.
-
-
-
Method Detail
-
getBackupPolicyPlan
public BackupPolicyPlanReference getBackupPolicyPlan()
Gets the backupPolicyPlan. If present, the backup policy plan which created this snapshot consistency group.- Returns:
- the backupPolicyPlan
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time that this snapshot consistency group was created.- Returns:
- the createdAt
-
getCrn
public String getCrn()
Gets the crn. The CRN of this snapshot consistency group.- Returns:
- the crn
-
isDeleteSnapshotsOnDelete
public Boolean isDeleteSnapshotsOnDelete()
Gets the deleteSnapshotsOnDelete. Indicates whether deleting the snapshot consistency group will also delete the snapshots in the group.- Returns:
- the deleteSnapshotsOnDelete
-
getHref
public String getHref()
Gets the href. The URL for this snapshot consistency group.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this snapshot consistency group.- Returns:
- the id
-
getLifecycleState
public String getLifecycleState()
Gets the lifecycleState. The lifecycle state of this snapshot consistency group.- Returns:
- the lifecycleState
-
getName
public String getName()
Gets the name. The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.- Returns:
- the name
-
getResourceGroup
public ResourceGroupReference getResourceGroup()
Gets the resourceGroup. The resource group for this snapshot consistency group.- Returns:
- the resourceGroup
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
getServiceTags
public List<String> getServiceTags()
Gets the serviceTags. The [service tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this snapshot consistency group. Each tag is prefixed with [is.instance:](https://cloud.ibm.com/docs/vpc?topic=vpc-snapshots-vpc-faqs).- Returns:
- the serviceTags
-
getSnapshots
public List<SnapshotReference> getSnapshots()
Gets the snapshots. The member snapshots that are data-consistent with respect to captured time. (may be [deleted](https://cloud.ibm.com/apidocs/vpc#deleted-resources)).- Returns:
- the snapshots
-
-