Class OAuth2ClientCredentials.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrockagentcore.OAuth2ClientCredentials.Jsii$Proxy
All Implemented Interfaces:
OAuth2ClientCredentials, software.amazon.jsii.JsiiSerializable
Enclosing interface:
OAuth2ClientCredentials

@Stability(Stable) @Internal public static final class OAuth2ClientCredentials.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements OAuth2ClientCredentials
An implementation for OAuth2ClientCredentials
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(OAuth2ClientCredentials.Builder builder)
      Constructor that initializes the object based on literal property values passed by the OAuth2ClientCredentials.Builder.
  • Method Details

    • getClientId

      public final String getClientId()
      Description copied from interface: OAuth2ClientCredentials
      OAuth2 client identifier.
      Specified by:
      getClientId in interface OAuth2ClientCredentials
    • getClientSecret

      public final SecretValue getClientSecret()
      Description copied from interface: OAuth2ClientCredentials
      OAuth2 client secret.

      NOTE: The client secret will be included in the CloudFormation template as part of synthesis. The service stores the secret in Secrets Manager after creation, but the value is visible in the template and deployment history. Use SecretValue.unsafePlainText() to explicitly acknowledge plaintext, or pass a reference from another construct to avoid embedding the literal value.

      Specified by:
      getClientSecret in interface OAuth2ClientCredentials
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

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

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