Class KMSServerSideEncryptionIntegration

java.lang.Object
software.amazon.awssdk.services.devopsguru.model.KMSServerSideEncryptionIntegration
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<KMSServerSideEncryptionIntegration.Builder,KMSServerSideEncryptionIntegration>

@Generated("software.amazon.awssdk:codegen") public final class KMSServerSideEncryptionIntegration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KMSServerSideEncryptionIntegration.Builder,KMSServerSideEncryptionIntegration>

Information about the KMS encryption used with DevOps Guru.

See Also:
  • Method Details

    • 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

    • optInStatus

      public final OptInStatus optInStatus()

      Specifies if DevOps Guru is enabled for customer managed keys.

      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 customer managed keys.
      See Also:
    • optInStatusAsString

      public final String optInStatusAsString()

      Specifies if DevOps Guru is enabled for customer managed keys.

      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 customer managed keys.
      See Also:
    • 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:
    • 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:
    • toBuilder

      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<KMSServerSideEncryptionIntegration.Builder,KMSServerSideEncryptionIntegration>
      Returns:
      a builder for type T
    • builder

    • serializableBuilderClass

      public static Class<? extends KMSServerSideEncryptionIntegration.Builder> serializableBuilderClass()
    • hashCode

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

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

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.