Package com.pulumi.alicloud.ecs
Class EcsSnapshotGroupArgs.Builder
- java.lang.Object
-
- com.pulumi.alicloud.ecs.EcsSnapshotGroupArgs.Builder
-
- Enclosing class:
- EcsSnapshotGroupArgs
public static final class EcsSnapshotGroupArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(EcsSnapshotGroupArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EcsSnapshotGroupArgs
build()
EcsSnapshotGroupArgs.Builder
description(com.pulumi.core.Output<java.lang.String> description)
EcsSnapshotGroupArgs.Builder
description(java.lang.String description)
EcsSnapshotGroupArgs.Builder
diskIds(com.pulumi.core.Output<java.util.List<java.lang.String>> diskIds)
EcsSnapshotGroupArgs.Builder
diskIds(java.lang.String... diskIds)
EcsSnapshotGroupArgs.Builder
diskIds(java.util.List<java.lang.String> diskIds)
EcsSnapshotGroupArgs.Builder
excludeDiskIds(com.pulumi.core.Output<java.util.List<java.lang.String>> excludeDiskIds)
EcsSnapshotGroupArgs.Builder
excludeDiskIds(java.lang.String... excludeDiskIds)
EcsSnapshotGroupArgs.Builder
excludeDiskIds(java.util.List<java.lang.String> excludeDiskIds)
EcsSnapshotGroupArgs.Builder
instanceId(com.pulumi.core.Output<java.lang.String> instanceId)
EcsSnapshotGroupArgs.Builder
instanceId(java.lang.String instanceId)
EcsSnapshotGroupArgs.Builder
instantAccess(com.pulumi.core.Output<java.lang.Boolean> instantAccess)
EcsSnapshotGroupArgs.Builder
instantAccess(java.lang.Boolean instantAccess)
EcsSnapshotGroupArgs.Builder
instantAccessRetentionDays(com.pulumi.core.Output<java.lang.Integer> instantAccessRetentionDays)
EcsSnapshotGroupArgs.Builder
instantAccessRetentionDays(java.lang.Integer instantAccessRetentionDays)
EcsSnapshotGroupArgs.Builder
resourceGroupId(com.pulumi.core.Output<java.lang.String> resourceGroupId)
EcsSnapshotGroupArgs.Builder
resourceGroupId(java.lang.String resourceGroupId)
EcsSnapshotGroupArgs.Builder
snapshotGroupName(com.pulumi.core.Output<java.lang.String> snapshotGroupName)
EcsSnapshotGroupArgs.Builder
snapshotGroupName(java.lang.String snapshotGroupName)
EcsSnapshotGroupArgs.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> tags)
EcsSnapshotGroupArgs.Builder
tags(java.util.Map<java.lang.String,java.lang.Object> tags)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(EcsSnapshotGroupArgs defaults)
-
-
Method Detail
-
description
public EcsSnapshotGroupArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- The description of the snapshot-consistent group. The description must be 2 to 256 characters in length and cannot start with http:// or https://.- Returns:
- builder
-
description
public EcsSnapshotGroupArgs.Builder description(java.lang.String description)
- Parameters:
description
- The description of the snapshot-consistent group. The description must be 2 to 256 characters in length and cannot start with http:// or https://.- Returns:
- builder
-
diskIds
public EcsSnapshotGroupArgs.Builder diskIds(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> diskIds)
- Parameters:
diskIds
- The ID of disk for which to create snapshots. You can specify multiple disk IDs across instances with the same zone.- Returns:
- builder
-
diskIds
public EcsSnapshotGroupArgs.Builder diskIds(java.util.List<java.lang.String> diskIds)
- Parameters:
diskIds
- The ID of disk for which to create snapshots. You can specify multiple disk IDs across instances with the same zone.- Returns:
- builder
-
diskIds
public EcsSnapshotGroupArgs.Builder diskIds(java.lang.String... diskIds)
- Parameters:
diskIds
- The ID of disk for which to create snapshots. You can specify multiple disk IDs across instances with the same zone.- Returns:
- builder
-
excludeDiskIds
public EcsSnapshotGroupArgs.Builder excludeDiskIds(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> excludeDiskIds)
- Parameters:
excludeDiskIds
- The ID of disk N for which you do not need to create snapshots. After this parameter is specified, the created snapshot-consistent group does not contain snapshots of the disk.- Returns:
- builder
-
excludeDiskIds
public EcsSnapshotGroupArgs.Builder excludeDiskIds(java.util.List<java.lang.String> excludeDiskIds)
- Parameters:
excludeDiskIds
- The ID of disk N for which you do not need to create snapshots. After this parameter is specified, the created snapshot-consistent group does not contain snapshots of the disk.- Returns:
- builder
-
excludeDiskIds
public EcsSnapshotGroupArgs.Builder excludeDiskIds(java.lang.String... excludeDiskIds)
- Parameters:
excludeDiskIds
- The ID of disk N for which you do not need to create snapshots. After this parameter is specified, the created snapshot-consistent group does not contain snapshots of the disk.- Returns:
- builder
-
instanceId
public EcsSnapshotGroupArgs.Builder instanceId(@Nullable com.pulumi.core.Output<java.lang.String> instanceId)
- Parameters:
instanceId
- The ID of the instance.- Returns:
- builder
-
instanceId
public EcsSnapshotGroupArgs.Builder instanceId(java.lang.String instanceId)
- Parameters:
instanceId
- The ID of the instance.- Returns:
- builder
-
instantAccess
public EcsSnapshotGroupArgs.Builder instantAccess(@Nullable com.pulumi.core.Output<java.lang.Boolean> instantAccess)
- Parameters:
instantAccess
- Specifies whether to enable the instant access feature.- Returns:
- builder
-
instantAccess
public EcsSnapshotGroupArgs.Builder instantAccess(java.lang.Boolean instantAccess)
- Parameters:
instantAccess
- Specifies whether to enable the instant access feature.- Returns:
- builder
-
instantAccessRetentionDays
public EcsSnapshotGroupArgs.Builder instantAccessRetentionDays(@Nullable com.pulumi.core.Output<java.lang.Integer> instantAccessRetentionDays)
- Parameters:
instantAccessRetentionDays
- Specify the number of days for which the instant access feature is available. Unit: days. Valid values: `1` to `65535`.- Returns:
- builder
-
instantAccessRetentionDays
public EcsSnapshotGroupArgs.Builder instantAccessRetentionDays(java.lang.Integer instantAccessRetentionDays)
- Parameters:
instantAccessRetentionDays
- Specify the number of days for which the instant access feature is available. Unit: days. Valid values: `1` to `65535`.- Returns:
- builder
-
resourceGroupId
public EcsSnapshotGroupArgs.Builder resourceGroupId(@Nullable com.pulumi.core.Output<java.lang.String> resourceGroupId)
- Parameters:
resourceGroupId
- The ID of the resource group to which the snapshot consistency group belongs.- Returns:
- builder
-
resourceGroupId
public EcsSnapshotGroupArgs.Builder resourceGroupId(java.lang.String resourceGroupId)
- Parameters:
resourceGroupId
- The ID of the resource group to which the snapshot consistency group belongs.- Returns:
- builder
-
snapshotGroupName
public EcsSnapshotGroupArgs.Builder snapshotGroupName(@Nullable com.pulumi.core.Output<java.lang.String> snapshotGroupName)
- Parameters:
snapshotGroupName
- The name of the snapshot-consistent group. The name must be `2` to `128` characters in length, and can contain letters, digits, periods (.), underscores (_), hyphens (-), and colons (:). It must start with a letter or a digit and cannot start with `http://` or `https://`.- Returns:
- builder
-
snapshotGroupName
public EcsSnapshotGroupArgs.Builder snapshotGroupName(java.lang.String snapshotGroupName)
- Parameters:
snapshotGroupName
- The name of the snapshot-consistent group. The name must be `2` to `128` characters in length, and can contain letters, digits, periods (.), underscores (_), hyphens (-), and colons (:). It must start with a letter or a digit and cannot start with `http://` or `https://`.- Returns:
- builder
-
tags
public EcsSnapshotGroupArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> tags)
- Parameters:
tags
- A mapping of tags to assign to the snapshot group.- Returns:
- builder
-
tags
public EcsSnapshotGroupArgs.Builder tags(java.util.Map<java.lang.String,java.lang.Object> tags)
- Parameters:
tags
- A mapping of tags to assign to the snapshot group.- Returns:
- builder
-
build
public EcsSnapshotGroupArgs build()
-
-