Class KMSServerSideEncryptionIntegrationConfig

    • Method Detail

      • kmsKeyId

        public final String kmsKeyId()

        Describes the specified KMS key.

        To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix it with "alias/". If you specify a predefined Amazon Web Services alias (an Amazon Web Services alias with no key ID), Amazon Web Services KMS associates the alias with an Amazon Web Services managed key and returns its KeyId and Arn in the response. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.

        For example:

        Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

        Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

        Alias name: alias/ExampleAlias

        Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias

        Returns:
        Describes the specified KMS key.

        To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix it with "alias/". If you specify a predefined Amazon Web Services alias (an Amazon Web Services alias with no key ID), Amazon Web Services KMS associates the alias with an Amazon Web Services managed key and returns its KeyId and Arn in the response. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.

        For example:

        Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

        Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

        Alias name: alias/ExampleAlias

        Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias

      • optInStatusAsString

        public final String optInStatusAsString()

        Specifies if DevOps Guru is enabled for KMS integration.

        If the service returns an enum value that is not available in the current SDK version, optInStatus will return OptInStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from optInStatusAsString().

        Returns:
        Specifies if DevOps Guru is enabled for KMS integration.
        See Also:
        OptInStatus
      • type

        public final ServerSideEncryptionType type()

        The type of KMS key used. Customer managed keys are the KMS keys that you create. Amazon Web Services owned keys are keys that are owned and managed by DevOps Guru.

        If the service returns an enum value that is not available in the current SDK version, type will return ServerSideEncryptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        The type of KMS key used. Customer managed keys are the KMS keys that you create. Amazon Web Services owned keys are keys that are owned and managed by DevOps Guru.
        See Also:
        ServerSideEncryptionType
      • typeAsString

        public final String typeAsString()

        The type of KMS key used. Customer managed keys are the KMS keys that you create. Amazon Web Services owned keys are keys that are owned and managed by DevOps Guru.

        If the service returns an enum value that is not available in the current SDK version, type will return ServerSideEncryptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        The type of KMS key used. Customer managed keys are the KMS keys that you create. Amazon Web Services owned keys are keys that are owned and managed by DevOps Guru.
        See Also:
        ServerSideEncryptionType
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)