@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 |
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.
|
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.
|
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.
|
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 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.