public static class FileSystemSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FileSystemSummary.Builder |
availabilityDomain(String availabilityDomain)
The availability domain the file system is in.
|
FileSystemSummary |
build() |
FileSystemSummary.Builder |
cloneAttachStatus(FileSystemSummary.CloneAttachStatus cloneAttachStatus)
Specifies whether the file system is attached to its parent file system.
|
FileSystemSummary.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment that contains the file system.
|
FileSystemSummary.Builder |
copy(FileSystemSummary model) |
FileSystemSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
FileSystemSummary.Builder |
displayName(String displayName)
A user-friendly name.
|
FileSystemSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
FileSystemSummary.Builder |
id(String id)
The OCID of the
file system.
|
FileSystemSummary.Builder |
isCloneParent(Boolean isCloneParent)
Specifies whether the file system has been cloned.
|
FileSystemSummary.Builder |
isHydrated(Boolean isHydrated)
Specifies whether the data has finished copying from the source to the clone.
|
FileSystemSummary.Builder |
kmsKeyId(String kmsKeyId)
The OCID of the
KMS key used to encrypt the encryption keys associated with this file system.
|
FileSystemSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current ‘lifecycleState’.
|
FileSystemSummary.Builder |
lifecycleState(FileSystemSummary.LifecycleState lifecycleState)
The current state of the file system.
|
FileSystemSummary.Builder |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
FileSystemSummary.Builder |
meteredBytes(Long meteredBytes)
The number of bytes consumed by the file system, including any snapshots.
|
FileSystemSummary.Builder |
sourceDetails(SourceDetails sourceDetails) |
FileSystemSummary.Builder |
timeCreated(Date timeCreated)
The date and time the file system was created, expressed in RFC
3339 timestamp format.
|
public FileSystemSummary.Builder availabilityDomain(String availabilityDomain)
The availability domain the file system is in. May be unset as a blank or NULL value.
Example: Uocm:PHX-AD-1
availabilityDomain
- the value to setpublic FileSystemSummary.Builder meteredBytes(Long meteredBytes)
The number of bytes consumed by the file system, including any snapshots. This number reflects the metered size of the file system and is updated asynchronously with respect to updates to the file system.
meteredBytes
- the value to setpublic FileSystemSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the file system.
compartmentId
- the value to setpublic FileSystemSummary.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 file system
displayName
- the value to setpublic FileSystemSummary.Builder id(String id)
The OCID of the file system.
id
- the value to setpublic FileSystemSummary.Builder lifecycleState(FileSystemSummary.LifecycleState lifecycleState)
The current state of the file system.
lifecycleState
- the value to setpublic FileSystemSummary.Builder timeCreated(Date timeCreated)
The date and time the file system was created, expressed in RFC 3339 timestamp format.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic FileSystemSummary.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic FileSystemSummary.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"}
freeformTags
- the value to setpublic FileSystemSummary.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"}}
definedTags
- the value to setpublic FileSystemSummary.Builder kmsKeyId(String kmsKeyId)
The OCID of the KMS key used to encrypt the encryption keys associated with this file system.
kmsKeyId
- the value to setpublic FileSystemSummary.Builder sourceDetails(SourceDetails sourceDetails)
public FileSystemSummary.Builder isCloneParent(Boolean isCloneParent)
Specifies whether the file system has been cloned. See Cloning a File System.
isCloneParent
- the value to setpublic FileSystemSummary.Builder isHydrated(Boolean isHydrated)
Specifies whether the data has finished copying from the source to the clone. Hydration can take up to several hours to complete depending on the size of the source. The source and clone remain available during hydration, but there may be some performance impact. See Cloning a File System.
isHydrated
- the value to setpublic FileSystemSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current ‘lifecycleState’.
lifecycleDetails
- the value to setpublic FileSystemSummary.Builder cloneAttachStatus(FileSystemSummary.CloneAttachStatus cloneAttachStatus)
Specifies whether the file system is attached to its parent file system.
cloneAttachStatus
- the value to setpublic FileSystemSummary build()
public FileSystemSummary.Builder copy(FileSystemSummary model)
Copyright © 2016–2024. All rights reserved.