Class MountTargetSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • availabilityDomain

        public MountTargetSummary.Builder availabilityDomain​(String availabilityDomain)
        The availability domain the mount target is in.

        May be unset as a blank or NULL value.

        Example: Uocm:PHX-AD-1

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

        public MountTargetSummary.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the mount target.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public MountTargetSummary.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 mount target

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

        public MountTargetSummary.Builder exportSetId​(String exportSetId)
        The OCID of the associated export set.

        Controls what file systems will be exported using Network File System (NFS) protocol on this mount target.

        Parameters:
        exportSetId - the value to set
        Returns:
        this builder
      • privateIpIds

        public MountTargetSummary.Builder privateIpIds​(List<String> privateIpIds)
        The OCIDs of the private IP addresses associated with this mount target.
        Parameters:
        privateIpIds - the value to set
        Returns:
        this builder
      • subnetId

        public MountTargetSummary.Builder subnetId​(String subnetId)
        The OCID of the subnet the mount target is in.
        Parameters:
        subnetId - the value to set
        Returns:
        this builder
      • nsgIds

        public MountTargetSummary.Builder nsgIds​(List<String> nsgIds)
        A list of Network Security Group OCIDs associated with this mount target.

        A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the mount target from all NSGs. For more information about NSGs, see Security Rules.

        Parameters:
        nsgIds - the value to set
        Returns:
        this builder
      • timeBillingCycleEnd

        public MountTargetSummary.Builder timeBillingCycleEnd​(Date timeBillingCycleEnd)
        The date and time the mount target current billing cycle will end, expressed in RFC 3339 timestamp format.

        Once a cycle ends, it is updated automatically to next timestamp which is after 30 days.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeBillingCycleEnd - the value to set
        Returns:
        this builder
      • observedThroughput

        public MountTargetSummary.Builder observedThroughput​(Long observedThroughput)
        Current billed throughput for mount target in Gbps.

        This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at Mount Target Performance.

        Parameters:
        observedThroughput - the value to set
        Returns:
        this builder
      • requestedThroughput

        public MountTargetSummary.Builder requestedThroughput​(Long requestedThroughput)
        • New throughput for mount target at the end of billing cycle in Gbps.
        Parameters:
        requestedThroughput - the value to set
        Returns:
        this builder
      • reservedStorageCapacity

        public MountTargetSummary.Builder reservedStorageCapacity​(Long reservedStorageCapacity)
        • Reserved capacity (GB) associated with this mount target.

        Reserved capacity depends on observedThroughput value of mount target. Value is listed at Mount Target Performance.

        Parameters:
        reservedStorageCapacity - the value to set
        Returns:
        this builder
      • timeCreated

        public MountTargetSummary.Builder timeCreated​(Date timeCreated)
        The date and time the mount target was created, expressed in RFC 3339 timestamp format.

        Example: 2016-08-25T21:10:29.600Z

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

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