@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OAuth2Properties extends Object implements Serializable, Cloneable, StructuredPojo
The OAuth 2.0 properties required for OAuth 2.0 authentication.
Constructor and Description |
---|
OAuth2Properties() |
Modifier and Type | Method and Description |
---|---|
OAuth2Properties |
addTokenUrlCustomPropertiesEntry(String key,
String value)
Add a single TokenUrlCustomProperties entry
|
OAuth2Properties |
clearTokenUrlCustomPropertiesEntries()
Removes all the entries added into TokenUrlCustomProperties.
|
OAuth2Properties |
clone() |
boolean |
equals(Object obj) |
String |
getOAuth2GrantType()
The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
|
String |
getTokenUrl()
The token URL required for OAuth 2.0 authentication.
|
Map<String,String> |
getTokenUrlCustomProperties()
Associates your token URL with a map of properties that you define.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOAuth2GrantType(String oAuth2GrantType)
The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
|
void |
setTokenUrl(String tokenUrl)
The token URL required for OAuth 2.0 authentication.
|
void |
setTokenUrlCustomProperties(Map<String,String> tokenUrlCustomProperties)
Associates your token URL with a map of properties that you define.
|
String |
toString()
Returns a string representation of this object.
|
OAuth2Properties |
withOAuth2GrantType(OAuth2GrantType oAuth2GrantType)
The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
|
OAuth2Properties |
withOAuth2GrantType(String oAuth2GrantType)
The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
|
OAuth2Properties |
withTokenUrl(String tokenUrl)
The token URL required for OAuth 2.0 authentication.
|
OAuth2Properties |
withTokenUrlCustomProperties(Map<String,String> tokenUrlCustomProperties)
Associates your token URL with a map of properties that you define.
|
public void setTokenUrl(String tokenUrl)
The token URL required for OAuth 2.0 authentication.
tokenUrl
- The token URL required for OAuth 2.0 authentication.public String getTokenUrl()
The token URL required for OAuth 2.0 authentication.
public OAuth2Properties withTokenUrl(String tokenUrl)
The token URL required for OAuth 2.0 authentication.
tokenUrl
- The token URL required for OAuth 2.0 authentication.public void setOAuth2GrantType(String oAuth2GrantType)
The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
oAuth2GrantType
- The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.OAuth2GrantType
public String getOAuth2GrantType()
The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
OAuth2GrantType
public OAuth2Properties withOAuth2GrantType(String oAuth2GrantType)
The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
oAuth2GrantType
- The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.OAuth2GrantType
public OAuth2Properties withOAuth2GrantType(OAuth2GrantType oAuth2GrantType)
The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
oAuth2GrantType
- The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.OAuth2GrantType
public Map<String,String> getTokenUrlCustomProperties()
Associates your token URL with a map of properties that you define. Use this parameter to provide any additional details that the connector requires to authenticate your request.
public void setTokenUrlCustomProperties(Map<String,String> tokenUrlCustomProperties)
Associates your token URL with a map of properties that you define. Use this parameter to provide any additional details that the connector requires to authenticate your request.
tokenUrlCustomProperties
- Associates your token URL with a map of properties that you define. Use this parameter to provide any
additional details that the connector requires to authenticate your request.public OAuth2Properties withTokenUrlCustomProperties(Map<String,String> tokenUrlCustomProperties)
Associates your token URL with a map of properties that you define. Use this parameter to provide any additional details that the connector requires to authenticate your request.
tokenUrlCustomProperties
- Associates your token URL with a map of properties that you define. Use this parameter to provide any
additional details that the connector requires to authenticate your request.public OAuth2Properties addTokenUrlCustomPropertiesEntry(String key, String value)
public OAuth2Properties clearTokenUrlCustomPropertiesEntries()
public String toString()
toString
in class Object
Object.toString()
public OAuth2Properties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.