Class SnapshotImportState.Builder

  • Enclosing class:
    SnapshotImportState

    public static final class SnapshotImportState.Builder
    extends java.lang.Object
    • Method Detail

      • arn

        public SnapshotImportState.Builder arn​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the EBS Snapshot.
        Returns:
        builder
      • dataEncryptionKeyId

        public SnapshotImportState.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 SnapshotImportState.Builder dataEncryptionKeyId​(java.lang.String dataEncryptionKeyId)
        Parameters:
        dataEncryptionKeyId - The data encryption key identifier for the snapshot.
        Returns:
        builder
      • description

        public SnapshotImportState.Builder description​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - The description string for the import snapshot task.
        Returns:
        builder
      • description

        public SnapshotImportState.Builder description​(java.lang.String description)
        Parameters:
        description - The description string for the import snapshot task.
        Returns:
        builder
      • encrypted

        public SnapshotImportState.Builder encrypted​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Boolean> encrypted)
        Parameters:
        encrypted - Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId.
        Returns:
        builder
      • encrypted

        public SnapshotImportState.Builder encrypted​(java.lang.Boolean encrypted)
        Parameters:
        encrypted - Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using KmsKeyId.
        Returns:
        builder
      • kmsKeyId

        public SnapshotImportState.Builder kmsKeyId​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - An identifier for the symmetric KMS key to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is specified, the Encrypted flag must also be set.
        Returns:
        builder
      • kmsKeyId

        public SnapshotImportState.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - An identifier for the symmetric KMS key to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a KmsKeyId is specified, the Encrypted flag must also be set.
        Returns:
        builder
      • ownerAlias

        public SnapshotImportState.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 SnapshotImportState.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 SnapshotImportState.Builder ownerId​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> ownerId)
        Parameters:
        ownerId - The AWS account ID of the EBS snapshot owner.
        Returns:
        builder
      • ownerId

        public SnapshotImportState.Builder ownerId​(java.lang.String ownerId)
        Parameters:
        ownerId - The AWS account ID of the EBS snapshot owner.
        Returns:
        builder
      • permanentRestore

        public SnapshotImportState.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 SnapshotImportState.Builder permanentRestore​(java.lang.Boolean permanentRestore)
        Parameters:
        permanentRestore - Indicates whether to permanently restore an archived snapshot.
        Returns:
        builder
      • region

        public SnapshotImportState.Builder region​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public SnapshotImportState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • roleName

        public SnapshotImportState.Builder roleName​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> roleName)
        Parameters:
        roleName - The name of the IAM Role the VM Import/Export service will assume. This role needs certain permissions. See https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-role. Default: `vmimport`
        Returns:
        builder
      • roleName

        public SnapshotImportState.Builder roleName​(java.lang.String roleName)
        Parameters:
        roleName - The name of the IAM Role the VM Import/Export service will assume. This role needs certain permissions. See https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-role. Default: `vmimport`
        Returns:
        builder
      • storageTier

        public SnapshotImportState.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 SnapshotImportState.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 SnapshotImportState.Builder tags​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the snapshot.
        Returns:
        builder
      • tags

        public SnapshotImportState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the snapshot.
        Returns:
        builder
      • tagsAll

        public SnapshotImportState.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 `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public SnapshotImportState.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 `defaultTags` configuration block.
        Returns:
        builder
      • temporaryRestoreDays

        public SnapshotImportState.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 SnapshotImportState.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
      • volumeSize

        public SnapshotImportState.Builder volumeSize​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Integer> volumeSize)
        Parameters:
        volumeSize - The size of the drive in GiBs.
        Returns:
        builder
      • volumeSize

        public SnapshotImportState.Builder volumeSize​(java.lang.Integer volumeSize)
        Parameters:
        volumeSize - The size of the drive in GiBs.
        Returns:
        builder