@Generated(value="OracleSDKGenerator", comments="API Version: 20220101") public final class RealtimeMessageAuthenticationCredentials extends RealtimeMessageAuthentication
The payload for credential-based authentication.
Note: Objects should always be created or deserialized using the RealtimeMessageAuthenticationCredentials.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 RealtimeMessageAuthenticationCredentials.Builder
, which maintain a
set of all explicitly set fields called RealtimeMessageAuthenticationCredentials.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
).
Modifier and Type | Class and Description |
---|---|
static class |
RealtimeMessageAuthenticationCredentials.Builder |
RealtimeMessageAuthentication.AuthenticationType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
RealtimeMessageAuthenticationCredentials(String compartmentId,
Map<String,String> headers)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RealtimeMessageAuthenticationCredentials.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Map<String,String> |
getHeaders()
The signed request header object.
|
int |
hashCode() |
RealtimeMessageAuthenticationCredentials.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getCompartmentId
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public RealtimeMessageAuthenticationCredentials(String compartmentId, Map<String,String> headers)
public static RealtimeMessageAuthenticationCredentials.Builder builder()
Create a new builder.
public RealtimeMessageAuthenticationCredentials.Builder toBuilder()
public Map<String,String> getHeaders()
The signed request header object.
public String toString()
toString
in class RealtimeMessageAuthentication
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class RealtimeMessageAuthentication
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class RealtimeMessageAuthentication
public int hashCode()
hashCode
in class RealtimeMessageAuthentication
Copyright © 2016–2024. All rights reserved.