Class ShareState.Builder

  • Enclosing class:
    ShareState

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

      • Builder

        public Builder()
      • Builder

        public Builder​(ShareState defaults)
    • Method Detail

      • allMetadata

        public ShareState.Builder allMetadata​(@Nullable
                                              com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> allMetadata)
        Parameters:
        allMetadata - The map of metadata, assigned on the share, which has been explicitly and implicitly added.
        Returns:
        builder
      • allMetadata

        public ShareState.Builder allMetadata​(java.util.Map<java.lang.String,​java.lang.Object> allMetadata)
        Parameters:
        allMetadata - The map of metadata, assigned on the share, which has been explicitly and implicitly added.
        Returns:
        builder
      • availabilityZone

        public ShareState.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 ShareState.Builder availabilityZone​(java.lang.String availabilityZone)
        Parameters:
        availabilityZone - The share availability zone. Changing this creates a new share.
        Returns:
        builder
      • description

        public ShareState.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 ShareState.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
      • exportLocations

        public ShareState.Builder exportLocations​(@Nullable
                                                  com.pulumi.core.Output<java.util.List<ShareExportLocationArgs>> exportLocations)
        Parameters:
        exportLocations - A list of export locations. For example, when a share server has more than one network interface, it can have multiple export locations.
        Returns:
        builder
      • exportLocations

        public ShareState.Builder exportLocations​(java.util.List<ShareExportLocationArgs> exportLocations)
        Parameters:
        exportLocations - A list of export locations. For example, when a share server has more than one network interface, it can have multiple export locations.
        Returns:
        builder
      • exportLocations

        public ShareState.Builder exportLocations​(ShareExportLocationArgs... exportLocations)
        Parameters:
        exportLocations - A list of export locations. For example, when a share server has more than one network interface, it can have multiple export locations.
        Returns:
        builder
      • hasReplicas

        public ShareState.Builder hasReplicas​(@Nullable
                                              com.pulumi.core.Output<java.lang.Boolean> hasReplicas)
        Parameters:
        hasReplicas - Indicates whether a share has replicas or not.
        Returns:
        builder
      • hasReplicas

        public ShareState.Builder hasReplicas​(java.lang.Boolean hasReplicas)
        Parameters:
        hasReplicas - Indicates whether a share has replicas or not.
        Returns:
        builder
      • host

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

        public ShareState.Builder host​(java.lang.String host)
        Parameters:
        host - The share host name.
        Returns:
        builder
      • isPublic

        public ShareState.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 ShareState.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 ShareState.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 ShareState.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 ShareState.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 ShareState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the share. Changing this updates the name of the existing share.
        Returns:
        builder
      • projectId

        public ShareState.Builder projectId​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> projectId)
        Parameters:
        projectId - The owner of the Share.
        Returns:
        builder
      • projectId

        public ShareState.Builder projectId​(java.lang.String projectId)
        Parameters:
        projectId - The owner of the Share.
        Returns:
        builder
      • region

        public ShareState.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 ShareState.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
      • replicationType

        public ShareState.Builder replicationType​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> replicationType)
        Parameters:
        replicationType - The share replication type.
        Returns:
        builder
      • replicationType

        public ShareState.Builder replicationType​(java.lang.String replicationType)
        Parameters:
        replicationType - The share replication type.
        Returns:
        builder
      • shareNetworkId

        public ShareState.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 ShareState.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 ShareState.Builder shareProto​(@Nullable
                                             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 ShareState.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
      • shareServerId

        public ShareState.Builder shareServerId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> shareServerId)
        Parameters:
        shareServerId - The UUID of the share server.
        Returns:
        builder
      • shareServerId

        public ShareState.Builder shareServerId​(java.lang.String shareServerId)
        Parameters:
        shareServerId - The UUID of the share server.
        Returns:
        builder
      • shareType

        public ShareState.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 ShareState.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 ShareState.Builder size​(@Nullable
                                       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 ShareState.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 ShareState.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 ShareState.Builder snapshotId​(java.lang.String snapshotId)
        Parameters:
        snapshotId - The UUID of the share's base snapshot. Changing this creates a new share.
        Returns:
        builder