Class CustomImageState.Builder

  • Enclosing class:
    CustomImageState

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

      • Builder

        public Builder()
    • Method Detail

      • customImageName

        public CustomImageState.Builder customImageName​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> customImageName)
        Parameters:
        customImageName - The name of the resource. The name must be `2` to `128` characters in length. It must start with a letter or a number. It can contain letters, digits, colons (:), underscores (_) and hyphens (-).
        Returns:
        builder
      • customImageName

        public CustomImageState.Builder customImageName​(java.lang.String customImageName)
        Parameters:
        customImageName - The name of the resource. The name must be `2` to `128` characters in length. It must start with a letter or a number. It can contain letters, digits, colons (:), underscores (_) and hyphens (-).
        Returns:
        builder
      • description

        public CustomImageState.Builder description​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - The description of the Custom Image.
        Returns:
        builder
      • description

        public CustomImageState.Builder description​(java.lang.String description)
        Parameters:
        description - The description of the Custom Image.
        Returns:
        builder
      • instanceId

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

        public CustomImageState.Builder instanceId​(java.lang.String instanceId)
        Parameters:
        instanceId - The ID of the instance.
        Returns:
        builder
      • status

        public CustomImageState.Builder status​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - The Shared status of the Custom Image. Valid values: `Share`, `UnShare`. **NOTE:** The `status` will be automatically change to `UnShare` when the resource is deleted, please operate with caution.
        Returns:
        builder
      • status

        public CustomImageState.Builder status​(java.lang.String status)
        Parameters:
        status - The Shared status of the Custom Image. Valid values: `Share`, `UnShare`. **NOTE:** The `status` will be automatically change to `UnShare` when the resource is deleted, please operate with caution.
        Returns:
        builder
      • systemSnapshotId

        public CustomImageState.Builder systemSnapshotId​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> systemSnapshotId)
        Parameters:
        systemSnapshotId - The ID of the system snapshot.
        Returns:
        builder
      • systemSnapshotId

        public CustomImageState.Builder systemSnapshotId​(java.lang.String systemSnapshotId)
        Parameters:
        systemSnapshotId - The ID of the system snapshot.
        Returns:
        builder