Package com.pulumi.aws.ebs.inputs
Class SnapshotCopyState.Builder
- java.lang.Object
-
- com.pulumi.aws.ebs.inputs.SnapshotCopyState.Builder
-
- Enclosing class:
- SnapshotCopyState
public static final class SnapshotCopyState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(SnapshotCopyState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotCopyState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
SnapshotCopyState.Builder
arn(java.lang.String arn)
SnapshotCopyState
build()
SnapshotCopyState.Builder
dataEncryptionKeyId(com.pulumi.core.Output<java.lang.String> dataEncryptionKeyId)
SnapshotCopyState.Builder
dataEncryptionKeyId(java.lang.String dataEncryptionKeyId)
SnapshotCopyState.Builder
description(com.pulumi.core.Output<java.lang.String> description)
SnapshotCopyState.Builder
description(java.lang.String description)
SnapshotCopyState.Builder
encrypted(com.pulumi.core.Output<java.lang.Boolean> encrypted)
SnapshotCopyState.Builder
encrypted(java.lang.Boolean encrypted)
SnapshotCopyState.Builder
kmsKeyId(com.pulumi.core.Output<java.lang.String> kmsKeyId)
SnapshotCopyState.Builder
kmsKeyId(java.lang.String kmsKeyId)
SnapshotCopyState.Builder
outpostArn(com.pulumi.core.Output<java.lang.String> outpostArn)
SnapshotCopyState.Builder
outpostArn(java.lang.String outpostArn)
SnapshotCopyState.Builder
ownerAlias(com.pulumi.core.Output<java.lang.String> ownerAlias)
SnapshotCopyState.Builder
ownerAlias(java.lang.String ownerAlias)
SnapshotCopyState.Builder
ownerId(com.pulumi.core.Output<java.lang.String> ownerId)
SnapshotCopyState.Builder
ownerId(java.lang.String ownerId)
SnapshotCopyState.Builder
permanentRestore(com.pulumi.core.Output<java.lang.Boolean> permanentRestore)
SnapshotCopyState.Builder
permanentRestore(java.lang.Boolean permanentRestore)
SnapshotCopyState.Builder
sourceRegion(com.pulumi.core.Output<java.lang.String> sourceRegion)
SnapshotCopyState.Builder
sourceRegion(java.lang.String sourceRegion)
SnapshotCopyState.Builder
sourceSnapshotId(com.pulumi.core.Output<java.lang.String> sourceSnapshotId)
SnapshotCopyState.Builder
sourceSnapshotId(java.lang.String sourceSnapshotId)
SnapshotCopyState.Builder
storageTier(com.pulumi.core.Output<java.lang.String> storageTier)
SnapshotCopyState.Builder
storageTier(java.lang.String storageTier)
SnapshotCopyState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
SnapshotCopyState.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
SnapshotCopyState.Builder
tagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
SnapshotCopyState.Builder
tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
SnapshotCopyState.Builder
temporaryRestoreDays(com.pulumi.core.Output<java.lang.Integer> temporaryRestoreDays)
SnapshotCopyState.Builder
temporaryRestoreDays(java.lang.Integer temporaryRestoreDays)
SnapshotCopyState.Builder
volumeId(com.pulumi.core.Output<java.lang.String> volumeId)
SnapshotCopyState.Builder
volumeId(java.lang.String volumeId)
SnapshotCopyState.Builder
volumeSize(com.pulumi.core.Output<java.lang.Integer> volumeSize)
SnapshotCopyState.Builder
volumeSize(java.lang.Integer volumeSize)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SnapshotCopyState defaults)
-
-
Method Detail
-
arn
public SnapshotCopyState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn
- Amazon Resource Name (ARN) of the EBS Snapshot.- Returns:
- builder
-
arn
public SnapshotCopyState.Builder arn(java.lang.String arn)
- Parameters:
arn
- Amazon Resource Name (ARN) of the EBS Snapshot.- Returns:
- builder
-
dataEncryptionKeyId
public SnapshotCopyState.Builder dataEncryptionKeyId(@Nullable com.pulumi.core.Output<java.lang.String> dataEncryptionKeyId)
- Parameters:
dataEncryptionKeyId
- The data encryption key identifier for the snapshot.- Returns:
- builder
-
dataEncryptionKeyId
public SnapshotCopyState.Builder dataEncryptionKeyId(java.lang.String dataEncryptionKeyId)
- Parameters:
dataEncryptionKeyId
- The data encryption key identifier for the snapshot.- Returns:
- builder
-
description
public SnapshotCopyState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- A description of what the snapshot is.- Returns:
- builder
-
description
public SnapshotCopyState.Builder description(java.lang.String description)
- Parameters:
description
- A description of what the snapshot is.- Returns:
- builder
-
encrypted
public SnapshotCopyState.Builder encrypted(@Nullable com.pulumi.core.Output<java.lang.Boolean> encrypted)
- Parameters:
encrypted
- Whether the snapshot is encrypted.- Returns:
- builder
-
encrypted
public SnapshotCopyState.Builder encrypted(java.lang.Boolean encrypted)
- Parameters:
encrypted
- Whether the snapshot is encrypted.- Returns:
- builder
-
kmsKeyId
public SnapshotCopyState.Builder kmsKeyId(@Nullable com.pulumi.core.Output<java.lang.String> kmsKeyId)
- Parameters:
kmsKeyId
- The ARN for the KMS encryption key.- Returns:
- builder
-
kmsKeyId
public SnapshotCopyState.Builder kmsKeyId(java.lang.String kmsKeyId)
- Parameters:
kmsKeyId
- The ARN for the KMS encryption key.- Returns:
- builder
-
outpostArn
public SnapshotCopyState.Builder outpostArn(@Nullable com.pulumi.core.Output<java.lang.String> outpostArn)
-
outpostArn
public SnapshotCopyState.Builder outpostArn(java.lang.String outpostArn)
-
ownerAlias
public SnapshotCopyState.Builder ownerAlias(@Nullable com.pulumi.core.Output<java.lang.String> ownerAlias)
- Parameters:
ownerAlias
- Value from an Amazon-maintained list (`amazon`, `aws-marketplace`, `microsoft`) of snapshot owners.- Returns:
- builder
-
ownerAlias
public SnapshotCopyState.Builder ownerAlias(java.lang.String ownerAlias)
- Parameters:
ownerAlias
- Value from an Amazon-maintained list (`amazon`, `aws-marketplace`, `microsoft`) of snapshot owners.- Returns:
- builder
-
ownerId
public SnapshotCopyState.Builder ownerId(@Nullable com.pulumi.core.Output<java.lang.String> ownerId)
- Parameters:
ownerId
- The AWS account ID of the snapshot owner.- Returns:
- builder
-
ownerId
public SnapshotCopyState.Builder ownerId(java.lang.String ownerId)
- Parameters:
ownerId
- The AWS account ID of the snapshot owner.- Returns:
- builder
-
permanentRestore
public SnapshotCopyState.Builder permanentRestore(@Nullable com.pulumi.core.Output<java.lang.Boolean> permanentRestore)
- Parameters:
permanentRestore
- Indicates whether to permanently restore an archived snapshot.- Returns:
- builder
-
permanentRestore
public SnapshotCopyState.Builder permanentRestore(java.lang.Boolean permanentRestore)
- Parameters:
permanentRestore
- Indicates whether to permanently restore an archived snapshot.- Returns:
- builder
-
sourceRegion
public SnapshotCopyState.Builder sourceRegion(@Nullable com.pulumi.core.Output<java.lang.String> sourceRegion)
- Parameters:
sourceRegion
- The region of the source snapshot.- Returns:
- builder
-
sourceRegion
public SnapshotCopyState.Builder sourceRegion(java.lang.String sourceRegion)
- Parameters:
sourceRegion
- The region of the source snapshot.- Returns:
- builder
-
sourceSnapshotId
public SnapshotCopyState.Builder sourceSnapshotId(@Nullable com.pulumi.core.Output<java.lang.String> sourceSnapshotId)
- Parameters:
sourceSnapshotId
- The ARN for the snapshot to be copied.- Returns:
- builder
-
sourceSnapshotId
public SnapshotCopyState.Builder sourceSnapshotId(java.lang.String sourceSnapshotId)
- Parameters:
sourceSnapshotId
- The ARN for the snapshot to be copied.- Returns:
- builder
-
storageTier
public SnapshotCopyState.Builder storageTier(@Nullable com.pulumi.core.Output<java.lang.String> storageTier)
- Parameters:
storageTier
- The name of the storage tier. Valid values are `archive` and `standard`. Default value is `standard`.- Returns:
- builder
-
storageTier
public SnapshotCopyState.Builder storageTier(java.lang.String storageTier)
- Parameters:
storageTier
- The name of the storage tier. Valid values are `archive` and `standard`. Default value is `standard`.- Returns:
- builder
-
tags
public SnapshotCopyState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
-
tags
public SnapshotCopyState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
-
tagsAll
public SnapshotCopyState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
tagsAll
public SnapshotCopyState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
temporaryRestoreDays
public SnapshotCopyState.Builder temporaryRestoreDays(@Nullable com.pulumi.core.Output<java.lang.Integer> temporaryRestoreDays)
- Parameters:
temporaryRestoreDays
- Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.- Returns:
- builder
-
temporaryRestoreDays
public SnapshotCopyState.Builder temporaryRestoreDays(java.lang.Integer temporaryRestoreDays)
- Parameters:
temporaryRestoreDays
- Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.- Returns:
- builder
-
volumeId
public SnapshotCopyState.Builder volumeId(@Nullable com.pulumi.core.Output<java.lang.String> volumeId)
-
volumeId
public SnapshotCopyState.Builder volumeId(java.lang.String volumeId)
-
volumeSize
public SnapshotCopyState.Builder volumeSize(@Nullable com.pulumi.core.Output<java.lang.Integer> volumeSize)
- Parameters:
volumeSize
- The size of the drive in GiBs.- Returns:
- builder
-
volumeSize
public SnapshotCopyState.Builder volumeSize(java.lang.Integer volumeSize)
- Parameters:
volumeSize
- The size of the drive in GiBs.- Returns:
- builder
-
build
public SnapshotCopyState build()
-
-