Class CreateFileSystemDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • availabilityDomain

        public CreateFileSystemDetails.Builder availabilityDomain​(String availabilityDomain)
        The availability domain to create the file system in.

        Example: Uocm:PHX-AD-1

        Parameters:
        availabilityDomain - the value to set
        Returns:
        this builder
      • compartmentId

        public CreateFileSystemDetails.Builder compartmentId​(String compartmentId)
        The OCID of the compartment to create the file system in.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public CreateFileSystemDetails.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

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • freeformTags

        public CreateFileSystemDetails.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 CreateFileSystemDetails.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
      • kmsKeyId

        public CreateFileSystemDetails.Builder kmsKeyId​(String kmsKeyId)
        The OCID of the KMS key used to encrypt the encryption keys associated with this file system.
        Parameters:
        kmsKeyId - the value to set
        Returns:
        this builder
      • cloneAttachStatus

        public CreateFileSystemDetails.Builder cloneAttachStatus​(CreateFileSystemDetails.CloneAttachStatus cloneAttachStatus)
        Specifies whether the clone file system is attached to its parent file system.

        If the value is set to ‘DETACH’, then the file system will be created, which is deep copied from the snapshot specified by sourceSnapshotId, else will remain attached to its parent.

        Parameters:
        cloneAttachStatus - the value to set
        Returns:
        this builder
      • filesystemSnapshotPolicyId

        public CreateFileSystemDetails.Builder filesystemSnapshotPolicyId​(String filesystemSnapshotPolicyId)
        The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.

        May be unset as a blank value.

        Parameters:
        filesystemSnapshotPolicyId - the value to set
        Returns:
        this builder
      • areQuotaRulesEnabled

        public CreateFileSystemDetails.Builder areQuotaRulesEnabled​(Boolean areQuotaRulesEnabled)
        Specifies the enforcement of quota rules on the file system.
        Parameters:
        areQuotaRulesEnabled - the value to set
        Returns:
        this builder