Package com.oracle.bmc.filestorage.model
Class FilesystemSnapshotPolicy.Builder
- java.lang.Object
- 
- com.oracle.bmc.filestorage.model.FilesystemSnapshotPolicy.Builder
 
- 
- Enclosing class:
- FilesystemSnapshotPolicy
 
 public static class FilesystemSnapshotPolicy.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description FilesystemSnapshotPolicy.BuilderavailabilityDomain(String availabilityDomain)The availability domain that the file system snapshot policy is in.FilesystemSnapshotPolicybuild()FilesystemSnapshotPolicy.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the file system snapshot policy.FilesystemSnapshotPolicy.Buildercopy(FilesystemSnapshotPolicy model)FilesystemSnapshotPolicy.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.FilesystemSnapshotPolicy.BuilderdisplayName(String displayName)A user-friendly name.FilesystemSnapshotPolicy.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.FilesystemSnapshotPolicy.Builderid(String id)The OCID of the file system snapshot policy.FilesystemSnapshotPolicy.BuilderlifecycleState(FilesystemSnapshotPolicy.LifecycleState lifecycleState)The current state of the file system snapshot policy.FilesystemSnapshotPolicy.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.FilesystemSnapshotPolicy.BuilderpolicyPrefix(String policyPrefix)The prefix to apply to all snapshots created by this policy.FilesystemSnapshotPolicy.Builderschedules(List<SnapshotSchedule> schedules)The list of associated snapshot schedules.FilesystemSnapshotPolicy.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.FilesystemSnapshotPolicy.BuildertimeCreated(Date timeCreated)The date and time the file system snapshot policy was created, expressed in RFC 3339 timestamp format.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic FilesystemSnapshotPolicy.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the file system snapshot policy.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
availabilityDomainpublic FilesystemSnapshotPolicy.Builder availabilityDomain(String availabilityDomain) The availability domain that the file system snapshot policy is in.May be unset using a blank or NULL value. Example: Uocm:PHX-AD-2 - Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
idpublic FilesystemSnapshotPolicy.Builder id(String id) The OCID of the file system snapshot policy.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic FilesystemSnapshotPolicy.Builder lifecycleState(FilesystemSnapshotPolicy.LifecycleState lifecycleState) The current state of the file system snapshot policy.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic FilesystemSnapshotPolicy.Builder timeCreated(Date timeCreated) The date and time the file system snapshot policy was created, expressed in RFC 3339 timestamp format.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic FilesystemSnapshotPolicy.Builder displayName(String displayName) A user-friendly name.It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: policy1 - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
policyPrefixpublic FilesystemSnapshotPolicy.Builder policyPrefix(String policyPrefix) The prefix to apply to all snapshots created by this policy.Example: acme - Parameters:
- policyPrefix- the value to set
- Returns:
- this builder
 
 - 
schedulespublic FilesystemSnapshotPolicy.Builder schedules(List<SnapshotSchedule> schedules) The list of associated snapshot schedules.A maximum of 10 schedules can be associated with a policy. - Parameters:
- schedules- the value to set
- Returns:
- this builder
 
 - 
lockspublic FilesystemSnapshotPolicy.Builder locks(List<ResourceLock> locks) Locks associated with this resource.- Parameters:
- locks- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic FilesystemSnapshotPolicy.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic FilesystemSnapshotPolicy.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic FilesystemSnapshotPolicy.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.System tags are applied to resources by internal OCI services. - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic FilesystemSnapshotPolicy build() 
 - 
copypublic FilesystemSnapshotPolicy.Builder copy(FilesystemSnapshotPolicy model) 
 
- 
 
-