Class CfnDataSource.CredentialPairProperty.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class CfnDataSource.CredentialPairProperty.Jsii$Proxy extends implements CfnDataSource.CredentialPairProperty
  • Constructor Details

    • Jsii$Proxy

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

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

    • getPassword

      public final String getPassword()
      Description copied from interface: CfnDataSource.CredentialPairProperty
      Specified by:
      getPassword in interface CfnDataSource.CredentialPairProperty
    • getUsername

      public final String getUsername()
      Description copied from interface: CfnDataSource.CredentialPairProperty
      User name.
      Specified by:
      getUsername in interface CfnDataSource.CredentialPairProperty
    • getAlternateDataSourceParameters

      public final Object getAlternateDataSourceParameters()
      Description copied from interface: CfnDataSource.CredentialPairProperty
      A set of alternate data source parameters that you want to share for these credentials.

      The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters structure that's in the request with the structures in the AlternateDataSourceParameters allow list. If the structures are an exact match, the request is allowed to use the new data source with the existing credentials. If the AlternateDataSourceParameters list is null, the DataSourceParameters originally used with these Credentials is automatically allowed.

      Specified by:
      getAlternateDataSourceParameters in interface CfnDataSource.CredentialPairProperty
    • $jsii$toJson

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

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

      public final int hashCode()
      hashCode in class Object