Class ShareAccessState.Builder

  • Enclosing class:
    ShareAccessState

    public static final class ShareAccessState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • accessKey

        public ShareAccessState.Builder accessKey​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> accessKey)
        Parameters:
        accessKey - The access credential of the entity granted access.
        Returns:
        builder
      • accessKey

        public ShareAccessState.Builder accessKey​(java.lang.String accessKey)
        Parameters:
        accessKey - The access credential of the entity granted access.
        Returns:
        builder
      • accessLevel

        public ShareAccessState.Builder accessLevel​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> accessLevel)
        Parameters:
        accessLevel - The access level to the share. Can either be `rw` or `ro`.
        Returns:
        builder
      • accessLevel

        public ShareAccessState.Builder accessLevel​(java.lang.String accessLevel)
        Parameters:
        accessLevel - The access level to the share. Can either be `rw` or `ro`.
        Returns:
        builder
      • accessTo

        public ShareAccessState.Builder accessTo​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> accessTo)
        Parameters:
        accessTo - The value that defines the access. Can either be an IP address or a username verified by configured Security Service of the Share Network.
        Returns:
        builder
      • accessTo

        public ShareAccessState.Builder accessTo​(java.lang.String accessTo)
        Parameters:
        accessTo - The value that defines the access. Can either be an IP address or a username verified by configured Security Service of the Share Network.
        Returns:
        builder
      • accessType

        public ShareAccessState.Builder accessType​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> accessType)
        Parameters:
        accessType - The access rule type. Can either be an ip, user, cert, or cephx. cephx support requires an OpenStack environment that supports Shared Filesystem microversion 2.13 (Mitaka) or later.
        Returns:
        builder
      • accessType

        public ShareAccessState.Builder accessType​(java.lang.String accessType)
        Parameters:
        accessType - The access rule type. Can either be an ip, user, cert, or cephx. cephx support requires an OpenStack environment that supports Shared Filesystem microversion 2.13 (Mitaka) or later.
        Returns:
        builder
      • region

        public ShareAccessState.Builder region​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - The region in which to obtain the V2 Shared File System client. A Shared File System client is needed to create a share access. Changing this creates a new share access.
        Returns:
        builder
      • region

        public ShareAccessState.Builder region​(java.lang.String region)
        Parameters:
        region - The region in which to obtain the V2 Shared File System client. A Shared File System client is needed to create a share access. Changing this creates a new share access.
        Returns:
        builder
      • shareId

        public ShareAccessState.Builder shareId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> shareId)
        Parameters:
        shareId - The UUID of the share to which you are granted access.
        Returns:
        builder
      • shareId

        public ShareAccessState.Builder shareId​(java.lang.String shareId)
        Parameters:
        shareId - The UUID of the share to which you are granted access.
        Returns:
        builder
      • state

        public ShareAccessState.Builder state​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> state)
        Parameters:
        state - The share access state.
        Returns:
        builder
      • state

        public ShareAccessState.Builder state​(java.lang.String state)
        Parameters:
        state - The share access state.
        Returns:
        builder