Class KeyState.Builder

  • Enclosing class:
    KeyState

    public static final class KeyState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
      • Builder

        public Builder​(KeyState defaults)
    • Method Detail

      • arn

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

        public KeyState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the key.
        Returns:
        builder
      • deletionWindowInDays

        public KeyState.Builder deletionWindowInDays​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Integer> deletionWindowInDays)
        Parameters:
        deletionWindowInDays - Number of days between 3 and 180 to wait after the resource is deleted before the key is deleted.
        Returns:
        builder
      • deletionWindowInDays

        public KeyState.Builder deletionWindowInDays​(java.lang.Integer deletionWindowInDays)
        Parameters:
        deletionWindowInDays - Number of days between 3 and 180 to wait after the resource is deleted before the key is deleted.
        Returns:
        builder
      • enabled

        public KeyState.Builder enabled​(@Nullable
                                        com.pulumi.core.Output<java.lang.Boolean> enabled)
        Parameters:
        enabled - Whether to enable the key.
        Returns:
        builder
      • enabled

        public KeyState.Builder enabled​(java.lang.Boolean enabled)
        Parameters:
        enabled - Whether to enable the key.
        Returns:
        builder
      • exportable

        public KeyState.Builder exportable​(@Nullable
                                           com.pulumi.core.Output<java.lang.Boolean> exportable)
        Parameters:
        exportable - Whether the key is exportable from the service.
        Returns:
        builder
      • exportable

        public KeyState.Builder exportable​(java.lang.Boolean exportable)
        Parameters:
        exportable - Whether the key is exportable from the service.
        Returns:
        builder
      • keyAttributes

        public KeyState.Builder keyAttributes​(@Nullable
                                              com.pulumi.core.Output<java.util.List<KeyKeyAttributeArgs>> keyAttributes)
        Parameters:
        keyAttributes - Role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. The following arguments are optional:
        Returns:
        builder
      • keyAttributes

        public KeyState.Builder keyAttributes​(java.util.List<KeyKeyAttributeArgs> keyAttributes)
        Parameters:
        keyAttributes - Role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. The following arguments are optional:
        Returns:
        builder
      • keyAttributes

        public KeyState.Builder keyAttributes​(KeyKeyAttributeArgs... keyAttributes)
        Parameters:
        keyAttributes - Role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. The following arguments are optional:
        Returns:
        builder
      • keyCheckValue

        public KeyState.Builder keyCheckValue​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> keyCheckValue)
        Parameters:
        keyCheckValue - Key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.
        Returns:
        builder
      • keyCheckValue

        public KeyState.Builder keyCheckValue​(java.lang.String keyCheckValue)
        Parameters:
        keyCheckValue - Key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.
        Returns:
        builder
      • keyCheckValueAlgorithm

        public KeyState.Builder keyCheckValueAlgorithm​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> keyCheckValueAlgorithm)
        Parameters:
        keyCheckValueAlgorithm - Algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV).
        Returns:
        builder
      • keyCheckValueAlgorithm

        public KeyState.Builder keyCheckValueAlgorithm​(java.lang.String keyCheckValueAlgorithm)
        Parameters:
        keyCheckValueAlgorithm - Algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV).
        Returns:
        builder
      • keyOrigin

        public KeyState.Builder keyOrigin​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> keyOrigin)
        Parameters:
        keyOrigin - Source of the key material.
        Returns:
        builder
      • keyOrigin

        public KeyState.Builder keyOrigin​(java.lang.String keyOrigin)
        Parameters:
        keyOrigin - Source of the key material.
        Returns:
        builder
      • keyState

        public KeyState.Builder keyState​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> keyState)
        Parameters:
        keyState - State of key that is being created or deleted.
        Returns:
        builder
      • keyState

        public KeyState.Builder keyState​(java.lang.String keyState)
        Parameters:
        keyState - State of key that is being created or deleted.
        Returns:
        builder
      • region

        public KeyState.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 KeyState.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
      • tags

        public KeyState.Builder tags​(@Nullable
                                     com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags assigned to the key. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public KeyState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags assigned to the key. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public KeyState.Builder tagsAll​(@Nullable
                                        com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public KeyState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder