Class Export.Builder

  • Enclosing class:
    Export

    public static class Export.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • exportOptions

        public Export.Builder exportOptions​(List<ClientOptions> exportOptions)
        Policies that apply to NFS requests made through this export.

        exportOptions contains a sequential list of ClientOptions. Each ClientOptions item defines the export options that are applied to a specified set of clients.

        For each NFS request, the first ClientOptions option in the list whose source attribute matches the source IP address of the request is applied.

        If a client source IP address does not match the source property of any ClientOptions in the list, then the export will be invisible to that client. This export will not be returned by MOUNTPROC_EXPORT calls made by the client and any attempt to mount or access the file system through this export will result in an error.

        *Exports without defined ClientOptions are invisible to all clients.**

        If one export is invisible to a particular client, associated file systems may still be accessible through other exports on the same or different mount targets. To completely deny client access to a file system, be sure that the client source IP address is not included in any export for any mount target associated with the file system.

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

        public Export.Builder exportSetId​(String exportSetId)
        The OCID of this export’s export set.
        Parameters:
        exportSetId - the value to set
        Returns:
        this builder
      • fileSystemId

        public Export.Builder fileSystemId​(String fileSystemId)
        The OCID of this export’s file system.
        Parameters:
        fileSystemId - the value to set
        Returns:
        this builder
      • id

        public Export.Builder id​(String id)
        The OCID of this export.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • lifecycleState

        public Export.Builder lifecycleState​(Export.LifecycleState lifecycleState)
        The current state of this export.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • path

        public Export.Builder path​(String path)
        Path used to access the associated file system.

        Avoid entering confidential information.

        Example: /accounting

        Parameters:
        path - the value to set
        Returns:
        this builder
      • isIdmapGroupsForSysAuth

        public Export.Builder isIdmapGroupsForSysAuth​(Boolean isIdmapGroupsForSysAuth)
        Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request’s RPC header.

        When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.

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

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

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

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

        public Export.Builder locks​(List<ResourceLock> locks)
        Locks associated with this resource.
        Parameters:
        locks - the value to set
        Returns:
        this builder
      • build

        public Export build()