Class GetKeyArgs.Builder

  • Enclosing class:
    GetKeyArgs

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

      • Builder

        public Builder()
      • Builder

        public Builder​(GetKeyArgs defaults)
    • Method Detail

      • grantTokens

        public GetKeyArgs.Builder grantTokens​(@Nullable
                                              com.pulumi.core.Output<java.util.List<java.lang.String>> grantTokens)
        Parameters:
        grantTokens - List of grant tokens
        Returns:
        builder
      • grantTokens

        public GetKeyArgs.Builder grantTokens​(java.util.List<java.lang.String> grantTokens)
        Parameters:
        grantTokens - List of grant tokens
        Returns:
        builder
      • grantTokens

        public GetKeyArgs.Builder grantTokens​(java.lang.String... grantTokens)
        Parameters:
        grantTokens - List of grant tokens
        Returns:
        builder
      • keyId

        public GetKeyArgs.Builder keyId​(com.pulumi.core.Output<java.lang.String> keyId)
        Parameters:
        keyId - Key identifier which can be one of the following format: * Key ID. E.g: `1234abcd-12ab-34cd-56ef-1234567890ab` * Key ARN. E.g.: `arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` * Alias name. E.g.: `alias/my-key` * Alias ARN: E.g.: `arn:aws:kms:us-east-1:111122223333:alias/my-key`
        Returns:
        builder
      • keyId

        public GetKeyArgs.Builder keyId​(java.lang.String keyId)
        Parameters:
        keyId - Key identifier which can be one of the following format: * Key ID. E.g: `1234abcd-12ab-34cd-56ef-1234567890ab` * Key ARN. E.g.: `arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` * Alias name. E.g.: `alias/my-key` * Alias ARN: E.g.: `arn:aws:kms:us-east-1:111122223333:alias/my-key`
        Returns:
        builder