@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class RequestAuthenticationDetails extends Object
Details for request HTTP authentication.
Note: Objects should always be created or deserialized using the RequestAuthenticationDetails.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 RequestAuthenticationDetails.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
RequestAuthenticationDetails.Builder |
Constructor and Description |
---|
RequestAuthenticationDetails(OAuthSchemes oauthScheme,
String authUserName,
String authUserPassword,
String authToken,
String authUrl,
List<Header> authHeaders,
RequestMethods authRequestMethod,
String authRequestPostBody)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RequestAuthenticationDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
List<Header> |
getAuthHeaders()
List of authentication headers.
|
RequestMethods |
getAuthRequestMethod()
Request method.
|
String |
getAuthRequestPostBody()
Request post body.
|
String |
getAuthToken()
Authentication token.
|
String |
getAuthUrl()
URL to get authetication token.
|
String |
getAuthUserName()
Username for authentication.
|
String |
getAuthUserPassword()
User password for authentication.
|
OAuthSchemes |
getOauthScheme()
Request http oauth scheme.
|
int |
hashCode() |
RequestAuthenticationDetails.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"oauthScheme","authUserName","authUserPassword","authToken","authUrl","authHeaders","authRequestMethod","authRequestPostBody"}) @Deprecated public RequestAuthenticationDetails(OAuthSchemes oauthScheme, String authUserName, String authUserPassword, String authToken, String authUrl, List<Header> authHeaders, RequestMethods authRequestMethod, String authRequestPostBody)
public static RequestAuthenticationDetails.Builder builder()
Create a new builder.
public RequestAuthenticationDetails.Builder toBuilder()
public OAuthSchemes getOauthScheme()
Request http oauth scheme.
public String getAuthUserName()
Username for authentication.
public String getAuthUserPassword()
User password for authentication.
public String getAuthToken()
Authentication token.
public String getAuthUrl()
URL to get authetication token.
public List<Header> getAuthHeaders()
List of authentication headers. Example: [{"headerName": "content-type", "headerValue":"json"}]
public RequestMethods getAuthRequestMethod()
Request method.
public String getAuthRequestPostBody()
Request post body.
Copyright © 2016–2022. All rights reserved.