@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OAuthProperties extends Object implements Serializable, Cloneable, StructuredPojo
The OAuth properties required for OAuth type authentication.
Constructor and Description |
---|
OAuthProperties() |
Modifier and Type | Method and Description |
---|---|
OAuthProperties |
clone() |
boolean |
equals(Object obj) |
String |
getAuthCodeUrl()
The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type
authentication.
|
List<String> |
getOAuthScopes()
The OAuth scopes required for OAuth type authentication.
|
String |
getTokenUrl()
The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access
token using refresh token.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthCodeUrl(String authCodeUrl)
The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type
authentication.
|
void |
setOAuthScopes(Collection<String> oAuthScopes)
The OAuth scopes required for OAuth type authentication.
|
void |
setTokenUrl(String tokenUrl)
The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access
token using refresh token.
|
String |
toString()
Returns a string representation of this object.
|
OAuthProperties |
withAuthCodeUrl(String authCodeUrl)
The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type
authentication.
|
OAuthProperties |
withOAuthScopes(Collection<String> oAuthScopes)
The OAuth scopes required for OAuth type authentication.
|
OAuthProperties |
withOAuthScopes(String... oAuthScopes)
The OAuth scopes required for OAuth type authentication.
|
OAuthProperties |
withTokenUrl(String tokenUrl)
The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access
token using refresh token.
|
public void setTokenUrl(String tokenUrl)
The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.
tokenUrl
- The token url required to fetch access/refresh tokens using authorization code and also to refresh expired
access token using refresh token.public String getTokenUrl()
The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.
public OAuthProperties withTokenUrl(String tokenUrl)
The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.
tokenUrl
- The token url required to fetch access/refresh tokens using authorization code and also to refresh expired
access token using refresh token.public void setAuthCodeUrl(String authCodeUrl)
The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.
authCodeUrl
- The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth
type authentication.public String getAuthCodeUrl()
The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.
public OAuthProperties withAuthCodeUrl(String authCodeUrl)
The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.
authCodeUrl
- The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth
type authentication.public List<String> getOAuthScopes()
The OAuth scopes required for OAuth type authentication.
public void setOAuthScopes(Collection<String> oAuthScopes)
The OAuth scopes required for OAuth type authentication.
oAuthScopes
- The OAuth scopes required for OAuth type authentication.public OAuthProperties withOAuthScopes(String... oAuthScopes)
The OAuth scopes required for OAuth type authentication.
NOTE: This method appends the values to the existing list (if any). Use
setOAuthScopes(java.util.Collection)
or withOAuthScopes(java.util.Collection)
if you want to
override the existing values.
oAuthScopes
- The OAuth scopes required for OAuth type authentication.public OAuthProperties withOAuthScopes(Collection<String> oAuthScopes)
The OAuth scopes required for OAuth type authentication.
oAuthScopes
- The OAuth scopes required for OAuth type authentication.public String toString()
toString
in class Object
Object.toString()
public OAuthProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.