Package com.oracle.bmc.filestorage.model
Class FilesystemSnapshotPolicySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.filestorage.model.FilesystemSnapshotPolicySummary.Builder
-
- Enclosing class:
- FilesystemSnapshotPolicySummary
public static class FilesystemSnapshotPolicySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
availabilityDomain
public FilesystemSnapshotPolicySummary.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
-
compartmentId
public FilesystemSnapshotPolicySummary.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
-
id
public FilesystemSnapshotPolicySummary.Builder id(String id)
The OCID of the file system snapshot policy.- Parameters:
id
- the value to set- Returns:
- this builder
-
lifecycleState
public FilesystemSnapshotPolicySummary.Builder lifecycleState(FilesystemSnapshotPolicySummary.LifecycleState lifecycleState)
The current state of this file system snapshot policy.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
displayName
public FilesystemSnapshotPolicySummary.Builder displayName(String displayName)
A user-friendly name.It does not have to be unique, and it is changeable. Avoid entering confidential information.
Example: My Filesystem Snapshot Policy
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
timeCreated
public FilesystemSnapshotPolicySummary.Builder timeCreated(Date timeCreated)
The date and time that the file system snapshot policy was created in RFC 3339 timestamp format.Example: 2020-02-04T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
locks
public FilesystemSnapshotPolicySummary.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
policyPrefix
public FilesystemSnapshotPolicySummary.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
-
freeformTags
public FilesystemSnapshotPolicySummary.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
-
definedTags
public FilesystemSnapshotPolicySummary.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
-
systemTags
public FilesystemSnapshotPolicySummary.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
-
build
public FilesystemSnapshotPolicySummary build()
-
copy
public FilesystemSnapshotPolicySummary.Builder copy(FilesystemSnapshotPolicySummary model)
-
-