Class SandboxCredentialInjectionHeader
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.generativeai.model.SandboxCredentialInjectionHeader
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20231130") public final class SandboxCredentialInjectionHeader extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe HTTP request header and OCI Vault secret used by a credential injection rule.
Note: Objects should always be created or deserialized using theSandboxCredentialInjectionHeader.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 theSandboxCredentialInjectionHeader.Builder, which maintain a set of all explicitly set fields calledSandboxCredentialInjectionHeader.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSandboxCredentialInjectionHeader.Builder
-
Constructor Summary
Constructors Constructor Description SandboxCredentialInjectionHeader(String name, String prefix, String vaultSecretId)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SandboxCredentialInjectionHeader.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetName()The end-to-end HTTP request header to replace.StringgetPrefix()Optional UTF-8 text prepended unchanged to the decoded Vault secret value.StringgetVaultSecretId()The OCID of the OCI Vault secret read at the CURRENT stage for every selected request.inthashCode()SandboxCredentialInjectionHeader.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
SandboxCredentialInjectionHeader
@Deprecated @ConstructorProperties({"name","prefix","vaultSecretId"}) public SandboxCredentialInjectionHeader(String name, String prefix, String vaultSecretId)
Deprecated.
-
-
Method Detail
-
builder
public static SandboxCredentialInjectionHeader.Builder builder()
Create a new builder.
-
toBuilder
public SandboxCredentialInjectionHeader.Builder toBuilder()
-
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:
toStringin classcom.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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-