Class InstanceState.Builder

  • Enclosing class:
    InstanceState

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

      • Builder

        public Builder()
    • Method Detail

      • createTime

        public InstanceState.Builder createTime​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> createTime)
        Parameters:
        createTime - Creation timestamp in RFC3339 text format.
        Returns:
        builder
      • createTime

        public InstanceState.Builder createTime​(java.lang.String createTime)
        Parameters:
        createTime - Creation timestamp in RFC3339 text format.
        Returns:
        builder
      • description

        public InstanceState.Builder description​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A description of the instance.
        Returns:
        builder
      • description

        public InstanceState.Builder description​(java.lang.String description)
        Parameters:
        description - A description of the instance.
        Returns:
        builder
      • etag

        public InstanceState.Builder etag​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> etag)
        Parameters:
        etag - Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.
        Returns:
        builder
      • etag

        public InstanceState.Builder etag​(java.lang.String etag)
        Parameters:
        etag - Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.
        Returns:
        builder
      • fileShares

        public InstanceState.Builder fileShares​(@Nullable
                                                com.pulumi.core.Output<InstanceFileSharesArgs> fileShares)
        Parameters:
        fileShares - File system shares on the instance. For this version, only a single file share is supported. Structure is documented below.
        Returns:
        builder
      • fileShares

        public InstanceState.Builder fileShares​(InstanceFileSharesArgs fileShares)
        Parameters:
        fileShares - File system shares on the instance. For this version, only a single file share is supported. Structure is documented below.
        Returns:
        builder
      • kmsKeyName

        public InstanceState.Builder kmsKeyName​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> kmsKeyName)
        Parameters:
        kmsKeyName - KMS key name used for data encryption.
        Returns:
        builder
      • kmsKeyName

        public InstanceState.Builder kmsKeyName​(java.lang.String kmsKeyName)
        Parameters:
        kmsKeyName - KMS key name used for data encryption.
        Returns:
        builder
      • labels

        public InstanceState.Builder labels​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> labels)
        Parameters:
        labels - Resource labels to represent user-provided metadata.
        Returns:
        builder
      • labels

        public InstanceState.Builder labels​(java.util.Map<java.lang.String,​java.lang.String> labels)
        Parameters:
        labels - Resource labels to represent user-provided metadata.
        Returns:
        builder
      • location

        public InstanceState.Builder location​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> location)
        Parameters:
        location - The name of the location of the instance. This can be a region for ENTERPRISE tier instances.
        Returns:
        builder
      • location

        public InstanceState.Builder location​(java.lang.String location)
        Parameters:
        location - The name of the location of the instance. This can be a region for ENTERPRISE tier instances.
        Returns:
        builder
      • name

        public InstanceState.Builder name​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The resource name of the instance.
        Returns:
        builder
      • name

        public InstanceState.Builder name​(java.lang.String name)
        Parameters:
        name - The resource name of the instance.
        Returns:
        builder
      • networks

        public InstanceState.Builder networks​(@Nullable
                                              com.pulumi.core.Output<java.util.List<InstanceNetworkArgs>> networks)
        Parameters:
        networks - VPC networks to which the instance is connected. For this version, only a single network is supported. Structure is documented below.
        Returns:
        builder
      • networks

        public InstanceState.Builder networks​(java.util.List<InstanceNetworkArgs> networks)
        Parameters:
        networks - VPC networks to which the instance is connected. For this version, only a single network is supported. Structure is documented below.
        Returns:
        builder
      • networks

        public InstanceState.Builder networks​(InstanceNetworkArgs... networks)
        Parameters:
        networks - VPC networks to which the instance is connected. For this version, only a single network is supported. Structure is documented below.
        Returns:
        builder
      • project

        public InstanceState.Builder project​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • project

        public InstanceState.Builder project​(java.lang.String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • tier

        public InstanceState.Builder tier​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> tier)
        Parameters:
        tier - The service tier of the instance. Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD and ENTERPRISE
        Returns:
        builder
      • tier

        public InstanceState.Builder tier​(java.lang.String tier)
        Parameters:
        tier - The service tier of the instance. Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD and ENTERPRISE
        Returns:
        builder
      • zone

        @Deprecated
        public InstanceState.Builder zone​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> zone)
        Deprecated.
        `zone` is deprecated and will be removed in a future major release. Use `location` instead.
        Parameters:
        zone - (Optional, Deprecated) The name of the Filestore zone of the instance. > **Warning:** `zone` is deprecated and will be removed in a future major release. Use `location` instead.
        Returns:
        builder
      • zone

        @Deprecated
        public InstanceState.Builder zone​(java.lang.String zone)
        Deprecated.
        `zone` is deprecated and will be removed in a future major release. Use `location` instead.
        Parameters:
        zone - (Optional, Deprecated) The name of the Filestore zone of the instance. > **Warning:** `zone` is deprecated and will be removed in a future major release. Use `location` instead.
        Returns:
        builder