Class SandboxCredentialInjectionHeader


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20231130")
    public final class SandboxCredentialInjectionHeader
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    The HTTP request header and OCI Vault secret used by a credential injection rule.
    Note: Objects should always be created or deserialized using the SandboxCredentialInjectionHeader.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the SandboxCredentialInjectionHeader.Builder, which maintain a set of all explicitly set fields called SandboxCredentialInjectionHeader.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
    • Method Detail

      • getName

        public String getName()
        The end-to-end HTTP request header to replace.

        Routing, connection-specific, forwarding, proxy authentication, and HTTP pseudo-header names are prohibited.

        Returns:
        the value
      • getPrefix

        public String getPrefix()
        Optional UTF-8 text prepended unchanged to the decoded Vault secret value.

        Omitted and empty values both mean no prefix.

        Returns:
        the value
      • getVaultSecretId

        public String getVaultSecretId()
        The OCID of the OCI Vault secret read at the CURRENT stage for every selected request.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel