Package com.oracle.bmc.filestorage.model
Class CreateFilesystemSnapshotPolicyDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.filestorage.model.CreateFilesystemSnapshotPolicyDetails.Builder
 
- 
- Enclosing class:
- CreateFilesystemSnapshotPolicyDetails
 
 public static class CreateFilesystemSnapshotPolicyDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
availabilityDomainpublic CreateFilesystemSnapshotPolicyDetails.Builder availabilityDomain(String availabilityDomain) The availability domain that the file system snapshot policy is in.Example: Uocm:PHX-AD-1 - Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CreateFilesystemSnapshotPolicyDetails.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
 
 - 
displayNamepublic CreateFilesystemSnapshotPolicyDetails.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 CreateFilesystemSnapshotPolicyDetails.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 CreateFilesystemSnapshotPolicyDetails.Builder schedules(List<SnapshotSchedule> schedules) The list of associated snapshot schedules.A maximum of 10 schedules can be associated with a policy. If using the CLI, provide the schedule as a list of JSON strings, with the list wrapped in quotation marks, i.e. --schedules '[{"timeZone":"UTC","period":"DAILY","hourOfDay":18},{"timeZone":"UTC","period":"HOURLY"}]' - Parameters:
- schedules- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreateFilesystemSnapshotPolicyDetails.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 CreateFilesystemSnapshotPolicyDetails.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
 
 - 
lockspublic CreateFilesystemSnapshotPolicyDetails.Builder locks(List<ResourceLock> locks) Locks associated with this resource.- Parameters:
- locks- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateFilesystemSnapshotPolicyDetails build() 
 - 
copypublic CreateFilesystemSnapshotPolicyDetails.Builder copy(CreateFilesystemSnapshotPolicyDetails model) 
 
- 
 
-