Class CustomImageState.Builder
- java.lang.Object
-
- com.pulumi.alicloud.simpleapplicationserver.inputs.CustomImageState.Builder
-
- Enclosing class:
- CustomImageState
public static final class CustomImageState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(CustomImageState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomImageState
build()
CustomImageState.Builder
customImageName(com.pulumi.core.Output<java.lang.String> customImageName)
CustomImageState.Builder
customImageName(java.lang.String customImageName)
CustomImageState.Builder
description(com.pulumi.core.Output<java.lang.String> description)
CustomImageState.Builder
description(java.lang.String description)
CustomImageState.Builder
instanceId(com.pulumi.core.Output<java.lang.String> instanceId)
CustomImageState.Builder
instanceId(java.lang.String instanceId)
CustomImageState.Builder
status(com.pulumi.core.Output<java.lang.String> status)
CustomImageState.Builder
status(java.lang.String status)
CustomImageState.Builder
systemSnapshotId(com.pulumi.core.Output<java.lang.String> systemSnapshotId)
CustomImageState.Builder
systemSnapshotId(java.lang.String systemSnapshotId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(CustomImageState defaults)
-
-
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
-
build
public CustomImageState build()
-
-