Class SnapshotImportArgs.Builder

  • Enclosing class:
    SnapshotImportArgs

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

      • description

        public SnapshotImportArgs.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 SnapshotImportArgs.Builder description​(java.lang.String description)
        Parameters:
        description - The description string for the import snapshot task.
        Returns:
        builder
      • encrypted

        public SnapshotImportArgs.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 SnapshotImportArgs.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 SnapshotImportArgs.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 SnapshotImportArgs.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
      • permanentRestore

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

        public SnapshotImportArgs.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 SnapshotImportArgs.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 SnapshotImportArgs.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 SnapshotImportArgs.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 SnapshotImportArgs.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 SnapshotImportArgs.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
      • temporaryRestoreDays

        public SnapshotImportArgs.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 SnapshotImportArgs.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