Class EncryptionKey

    • Constructor Detail

      • EncryptionKey

        public EncryptionKey()
    • Method Detail

      • setId

        public void setId​(String id)

        The ID used to identify the key. For an AWS KMS key, this is the key ID or key ARN.

        Parameters:
        id - The ID used to identify the key. For an AWS KMS key, this is the key ID or key ARN.
      • getId

        public String getId()

        The ID used to identify the key. For an AWS KMS key, this is the key ID or key ARN.

        Returns:
        The ID used to identify the key. For an AWS KMS key, this is the key ID or key ARN.
      • withId

        public EncryptionKey withId​(String id)

        The ID used to identify the key. For an AWS KMS key, this is the key ID or key ARN.

        Parameters:
        id - The ID used to identify the key. For an AWS KMS key, this is the key ID or key ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setType

        public void setType​(String type)

        The type of encryption key, such as an AWS Key Management Service (AWS KMS) key. When creating or updating a pipeline, the value must be set to 'KMS'.

        Parameters:
        type - The type of encryption key, such as an AWS Key Management Service (AWS KMS) key. When creating or updating a pipeline, the value must be set to 'KMS'.
        See Also:
        EncryptionKeyType
      • getType

        public String getType()

        The type of encryption key, such as an AWS Key Management Service (AWS KMS) key. When creating or updating a pipeline, the value must be set to 'KMS'.

        Returns:
        The type of encryption key, such as an AWS Key Management Service (AWS KMS) key. When creating or updating a pipeline, the value must be set to 'KMS'.
        See Also:
        EncryptionKeyType
      • withType

        public EncryptionKey withType​(String type)

        The type of encryption key, such as an AWS Key Management Service (AWS KMS) key. When creating or updating a pipeline, the value must be set to 'KMS'.

        Parameters:
        type - The type of encryption key, such as an AWS Key Management Service (AWS KMS) key. When creating or updating a pipeline, the value must be set to 'KMS'.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EncryptionKeyType
      • setType

        public void setType​(EncryptionKeyType type)

        The type of encryption key, such as an AWS Key Management Service (AWS KMS) key. When creating or updating a pipeline, the value must be set to 'KMS'.

        Parameters:
        type - The type of encryption key, such as an AWS Key Management Service (AWS KMS) key. When creating or updating a pipeline, the value must be set to 'KMS'.
        See Also:
        EncryptionKeyType
      • withType

        public EncryptionKey withType​(EncryptionKeyType type)

        The type of encryption key, such as an AWS Key Management Service (AWS KMS) key. When creating or updating a pipeline, the value must be set to 'KMS'.

        Parameters:
        type - The type of encryption key, such as an AWS Key Management Service (AWS KMS) key. When creating or updating a pipeline, the value must be set to 'KMS'.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EncryptionKeyType
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object