Class SshKeyState.Builder

  • Enclosing class:
    SshKeyState

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

      • Builder

        public Builder()
    • Method Detail

      • encoding

        public SshKeyState.Builder encoding​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> encoding)
        Parameters:
        encoding - Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, use `SSH`. To retrieve the public key in PEM format, use `PEM`.
        Returns:
        builder
      • encoding

        public SshKeyState.Builder encoding​(java.lang.String encoding)
        Parameters:
        encoding - Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, use `SSH`. To retrieve the public key in PEM format, use `PEM`.
        Returns:
        builder
      • fingerprint

        public SshKeyState.Builder fingerprint​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> fingerprint)
        Parameters:
        fingerprint - The MD5 message digest of the SSH public key.
        Returns:
        builder
      • fingerprint

        public SshKeyState.Builder fingerprint​(java.lang.String fingerprint)
        Parameters:
        fingerprint - The MD5 message digest of the SSH public key.
        Returns:
        builder
      • publicKey

        public SshKeyState.Builder publicKey​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> publicKey)
        Parameters:
        publicKey - The SSH public key. The public key must be encoded in ssh-rsa format or PEM format.
        Returns:
        builder
      • publicKey

        public SshKeyState.Builder publicKey​(java.lang.String publicKey)
        Parameters:
        publicKey - The SSH public key. The public key must be encoded in ssh-rsa format or PEM format.
        Returns:
        builder
      • sshPublicKeyId

        public SshKeyState.Builder sshPublicKeyId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> sshPublicKeyId)
        Parameters:
        sshPublicKeyId - The unique identifier for the SSH public key.
        Returns:
        builder
      • sshPublicKeyId

        public SshKeyState.Builder sshPublicKeyId​(java.lang.String sshPublicKeyId)
        Parameters:
        sshPublicKeyId - The unique identifier for the SSH public key.
        Returns:
        builder
      • status

        public SshKeyState.Builder status​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - The status to assign to the SSH public key. Active means the key can be used for authentication with an AWS CodeCommit repository. Inactive means the key cannot be used. Default is `active`.
        Returns:
        builder
      • status

        public SshKeyState.Builder status​(java.lang.String status)
        Parameters:
        status - The status to assign to the SSH public key. Active means the key can be used for authentication with an AWS CodeCommit repository. Inactive means the key cannot be used. Default is `active`.
        Returns:
        builder
      • username

        public SshKeyState.Builder username​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> username)
        Parameters:
        username - The name of the IAM user to associate the SSH public key with.
        Returns:
        builder
      • username

        public SshKeyState.Builder username​(java.lang.String username)
        Parameters:
        username - The name of the IAM user to associate the SSH public key with.
        Returns:
        builder