Class ShareArgs.Builder

  • Enclosing class:
    ShareArgs

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

      • Builder

        public Builder()
      • Builder

        public Builder​(ShareArgs defaults)
    • Method Detail

      • availabilityZone

        public ShareArgs.Builder availabilityZone​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> availabilityZone)
        Parameters:
        availabilityZone - The share availability zone. Changing this creates a new share.
        Returns:
        builder
      • availabilityZone

        public ShareArgs.Builder availabilityZone​(java.lang.String availabilityZone)
        Parameters:
        availabilityZone - The share availability zone. Changing this creates a new share.
        Returns:
        builder
      • description

        public ShareArgs.Builder description​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - The human-readable description for the share. Changing this updates the description of the existing share.
        Returns:
        builder
      • description

        public ShareArgs.Builder description​(java.lang.String description)
        Parameters:
        description - The human-readable description for the share. Changing this updates the description of the existing share.
        Returns:
        builder
      • isPublic

        public ShareArgs.Builder isPublic​(@Nullable
                                          com.pulumi.core.Output<java.lang.Boolean> isPublic)
        Parameters:
        isPublic - The level of visibility for the share. Set to true to make share public. Set to false to make it private. Default value is false. Changing this updates the existing share.
        Returns:
        builder
      • isPublic

        public ShareArgs.Builder isPublic​(java.lang.Boolean isPublic)
        Parameters:
        isPublic - The level of visibility for the share. Set to true to make share public. Set to false to make it private. Default value is false. Changing this updates the existing share.
        Returns:
        builder
      • metadata

        public ShareArgs.Builder metadata​(@Nullable
                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> metadata)
        Parameters:
        metadata - One or more metadata key and value pairs as a dictionary of strings.
        Returns:
        builder
      • metadata

        public ShareArgs.Builder metadata​(java.util.Map<java.lang.String,​java.lang.Object> metadata)
        Parameters:
        metadata - One or more metadata key and value pairs as a dictionary of strings.
        Returns:
        builder
      • name

        public ShareArgs.Builder name​(@Nullable
                                      com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the share. Changing this updates the name of the existing share.
        Returns:
        builder
      • name

        public ShareArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the share. Changing this updates the name of the existing share.
        Returns:
        builder
      • region

        public ShareArgs.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. Changing this creates a new share.
        Returns:
        builder
      • region

        public ShareArgs.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. Changing this creates a new share.
        Returns:
        builder
      • shareNetworkId

        public ShareArgs.Builder shareNetworkId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> shareNetworkId)
        Parameters:
        shareNetworkId - The UUID of a share network where the share server exists or will be created. If `share_network_id` is not set and you provide a `snapshot_id`, the share_network_id value from the snapshot is used. Changing this creates a new share.
        Returns:
        builder
      • shareNetworkId

        public ShareArgs.Builder shareNetworkId​(java.lang.String shareNetworkId)
        Parameters:
        shareNetworkId - The UUID of a share network where the share server exists or will be created. If `share_network_id` is not set and you provide a `snapshot_id`, the share_network_id value from the snapshot is used. Changing this creates a new share.
        Returns:
        builder
      • shareProto

        public ShareArgs.Builder shareProto​(com.pulumi.core.Output<java.lang.String> shareProto)
        Parameters:
        shareProto - The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
        Returns:
        builder
      • shareProto

        public ShareArgs.Builder shareProto​(java.lang.String shareProto)
        Parameters:
        shareProto - The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
        Returns:
        builder
      • shareType

        public ShareArgs.Builder shareType​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> shareType)
        Parameters:
        shareType - The share type name. If you omit this parameter, the default share type is used.
        Returns:
        builder
      • shareType

        public ShareArgs.Builder shareType​(java.lang.String shareType)
        Parameters:
        shareType - The share type name. If you omit this parameter, the default share type is used.
        Returns:
        builder
      • size

        public ShareArgs.Builder size​(com.pulumi.core.Output<java.lang.Integer> size)
        Parameters:
        size - The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.
        Returns:
        builder
      • size

        public ShareArgs.Builder size​(java.lang.Integer size)
        Parameters:
        size - The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.
        Returns:
        builder
      • snapshotId

        public ShareArgs.Builder snapshotId​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> snapshotId)
        Parameters:
        snapshotId - The UUID of the share's base snapshot. Changing this creates a new share.
        Returns:
        builder
      • snapshotId

        public ShareArgs.Builder snapshotId​(java.lang.String snapshotId)
        Parameters:
        snapshotId - The UUID of the share's base snapshot. Changing this creates a new share.
        Returns:
        builder