Class AccessKeyState.Builder

  • Enclosing class:
    AccessKeyState

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

      • Builder

        public Builder()
    • Method Detail

      • createDate

        public AccessKeyState.Builder createDate​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> createDate)
        Parameters:
        createDate - Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the access key was created.
        Returns:
        builder
      • createDate

        public AccessKeyState.Builder createDate​(java.lang.String createDate)
        Parameters:
        createDate - Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the access key was created.
        Returns:
        builder
      • encryptedSecret

        public AccessKeyState.Builder encryptedSecret​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> encryptedSecret)
        Parameters:
        encryptedSecret - Encrypted secret, base64 encoded, if `pgpKey` was specified. This attribute is not available for imported resources. The encrypted secret may be decrypted using the command line.
        Returns:
        builder
      • encryptedSecret

        public AccessKeyState.Builder encryptedSecret​(java.lang.String encryptedSecret)
        Parameters:
        encryptedSecret - Encrypted secret, base64 encoded, if `pgpKey` was specified. This attribute is not available for imported resources. The encrypted secret may be decrypted using the command line.
        Returns:
        builder
      • encryptedSesSmtpPasswordV4

        public AccessKeyState.Builder encryptedSesSmtpPasswordV4​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> encryptedSesSmtpPasswordV4)
        Parameters:
        encryptedSesSmtpPasswordV4 - Encrypted SES SMTP password, base64 encoded, if `pgpKey` was specified. This attribute is not available for imported resources. The encrypted password may be decrypted using the command line.
        Returns:
        builder
      • encryptedSesSmtpPasswordV4

        public AccessKeyState.Builder encryptedSesSmtpPasswordV4​(java.lang.String encryptedSesSmtpPasswordV4)
        Parameters:
        encryptedSesSmtpPasswordV4 - Encrypted SES SMTP password, base64 encoded, if `pgpKey` was specified. This attribute is not available for imported resources. The encrypted password may be decrypted using the command line.
        Returns:
        builder
      • keyFingerprint

        public AccessKeyState.Builder keyFingerprint​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> keyFingerprint)
        Parameters:
        keyFingerprint - Fingerprint of the PGP key used to encrypt the secret. This attribute is not available for imported resources.
        Returns:
        builder
      • keyFingerprint

        public AccessKeyState.Builder keyFingerprint​(java.lang.String keyFingerprint)
        Parameters:
        keyFingerprint - Fingerprint of the PGP key used to encrypt the secret. This attribute is not available for imported resources.
        Returns:
        builder
      • pgpKey

        public AccessKeyState.Builder pgpKey​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> pgpKey)
        Parameters:
        pgpKey - Either a base-64 encoded PGP public key, or a keybase username in the form `keybase:some_person_that_exists`, for use in the `encryptedSecret` output attribute. If providing a base-64 encoded PGP public key, make sure to provide the "raw" version and not the "armored" one (e.g. avoid passing the `-a` option to `gpg --export`).
        Returns:
        builder
      • pgpKey

        public AccessKeyState.Builder pgpKey​(java.lang.String pgpKey)
        Parameters:
        pgpKey - Either a base-64 encoded PGP public key, or a keybase username in the form `keybase:some_person_that_exists`, for use in the `encryptedSecret` output attribute. If providing a base-64 encoded PGP public key, make sure to provide the "raw" version and not the "armored" one (e.g. avoid passing the `-a` option to `gpg --export`).
        Returns:
        builder
      • secret

        public AccessKeyState.Builder secret​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> secret)
        Parameters:
        secret - Secret access key. This attribute is not available for imported resources. Note that this will be written to the state file. If you use this, please protect your backend state file judiciously. Alternatively, you may supply a `pgpKey` instead, which will prevent the secret from being stored in plaintext, at the cost of preventing the use of the secret key in automation.
        Returns:
        builder
      • secret

        public AccessKeyState.Builder secret​(java.lang.String secret)
        Parameters:
        secret - Secret access key. This attribute is not available for imported resources. Note that this will be written to the state file. If you use this, please protect your backend state file judiciously. Alternatively, you may supply a `pgpKey` instead, which will prevent the secret from being stored in plaintext, at the cost of preventing the use of the secret key in automation.
        Returns:
        builder
      • sesSmtpPasswordV4

        public AccessKeyState.Builder sesSmtpPasswordV4​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> sesSmtpPasswordV4)
        Parameters:
        sesSmtpPasswordV4 - Secret access key converted into an SES SMTP password by applying [AWS's documented Sigv4 conversion algorithm](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-credentials.html#smtp-credentials-convert). This attribute is not available for imported resources. As SigV4 is region specific, valid Provider regions are `ap-south-1`, `ap-southeast-2`, `eu-central-1`, `eu-west-1`, `us-east-1` and `us-west-2`. See current [AWS SES regions](https://docs.aws.amazon.com/general/latest/gr/rande.html#ses_region).
        Returns:
        builder
      • sesSmtpPasswordV4

        public AccessKeyState.Builder sesSmtpPasswordV4​(java.lang.String sesSmtpPasswordV4)
        Parameters:
        sesSmtpPasswordV4 - Secret access key converted into an SES SMTP password by applying [AWS's documented Sigv4 conversion algorithm](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-credentials.html#smtp-credentials-convert). This attribute is not available for imported resources. As SigV4 is region specific, valid Provider regions are `ap-south-1`, `ap-southeast-2`, `eu-central-1`, `eu-west-1`, `us-east-1` and `us-west-2`. See current [AWS SES regions](https://docs.aws.amazon.com/general/latest/gr/rande.html#ses_region).
        Returns:
        builder
      • status

        public AccessKeyState.Builder status​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - Access key status to apply. Defaults to `Active`. Valid values are `Active` and `Inactive`.
        Returns:
        builder
      • status

        public AccessKeyState.Builder status​(java.lang.String status)
        Parameters:
        status - Access key status to apply. Defaults to `Active`. Valid values are `Active` and `Inactive`.
        Returns:
        builder
      • user

        public AccessKeyState.Builder user​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> user)
        Parameters:
        user - IAM user to associate with this access key.
        Returns:
        builder
      • user

        public AccessKeyState.Builder user​(java.lang.String user)
        Parameters:
        user - IAM user to associate with this access key.
        Returns:
        builder