@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OAuth2Defaults extends Object implements Serializable, Cloneable, StructuredPojo
Contains the default values required for OAuth 2.0 authentication.
Constructor and Description |
---|
OAuth2Defaults() |
Modifier and Type | Method and Description |
---|---|
OAuth2Defaults |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAuthCodeUrls()
Auth code URLs that can be used for OAuth 2.0 authentication.
|
List<OAuth2CustomParameter> |
getOauth2CustomProperties()
List of custom parameters required for OAuth 2.0 authentication.
|
List<String> |
getOauth2GrantTypesSupported()
OAuth 2.0 grant types supported by the connector.
|
List<String> |
getOauthScopes()
OAuth 2.0 scopes that the connector supports.
|
List<String> |
getTokenUrls()
Token URLs that can be used for OAuth 2.0 authentication.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthCodeUrls(Collection<String> authCodeUrls)
Auth code URLs that can be used for OAuth 2.0 authentication.
|
void |
setOauth2CustomProperties(Collection<OAuth2CustomParameter> oauth2CustomProperties)
List of custom parameters required for OAuth 2.0 authentication.
|
void |
setOauth2GrantTypesSupported(Collection<String> oauth2GrantTypesSupported)
OAuth 2.0 grant types supported by the connector.
|
void |
setOauthScopes(Collection<String> oauthScopes)
OAuth 2.0 scopes that the connector supports.
|
void |
setTokenUrls(Collection<String> tokenUrls)
Token URLs that can be used for OAuth 2.0 authentication.
|
String |
toString()
Returns a string representation of this object.
|
OAuth2Defaults |
withAuthCodeUrls(Collection<String> authCodeUrls)
Auth code URLs that can be used for OAuth 2.0 authentication.
|
OAuth2Defaults |
withAuthCodeUrls(String... authCodeUrls)
Auth code URLs that can be used for OAuth 2.0 authentication.
|
OAuth2Defaults |
withOauth2CustomProperties(Collection<OAuth2CustomParameter> oauth2CustomProperties)
List of custom parameters required for OAuth 2.0 authentication.
|
OAuth2Defaults |
withOauth2CustomProperties(OAuth2CustomParameter... oauth2CustomProperties)
List of custom parameters required for OAuth 2.0 authentication.
|
OAuth2Defaults |
withOauth2GrantTypesSupported(Collection<String> oauth2GrantTypesSupported)
OAuth 2.0 grant types supported by the connector.
|
OAuth2Defaults |
withOauth2GrantTypesSupported(OAuth2GrantType... oauth2GrantTypesSupported)
OAuth 2.0 grant types supported by the connector.
|
OAuth2Defaults |
withOauth2GrantTypesSupported(String... oauth2GrantTypesSupported)
OAuth 2.0 grant types supported by the connector.
|
OAuth2Defaults |
withOauthScopes(Collection<String> oauthScopes)
OAuth 2.0 scopes that the connector supports.
|
OAuth2Defaults |
withOauthScopes(String... oauthScopes)
OAuth 2.0 scopes that the connector supports.
|
OAuth2Defaults |
withTokenUrls(Collection<String> tokenUrls)
Token URLs that can be used for OAuth 2.0 authentication.
|
OAuth2Defaults |
withTokenUrls(String... tokenUrls)
Token URLs that can be used for OAuth 2.0 authentication.
|
public List<String> getOauthScopes()
OAuth 2.0 scopes that the connector supports.
public void setOauthScopes(Collection<String> oauthScopes)
OAuth 2.0 scopes that the connector supports.
oauthScopes
- OAuth 2.0 scopes that the connector supports.public OAuth2Defaults withOauthScopes(String... oauthScopes)
OAuth 2.0 scopes that the connector supports.
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
- OAuth 2.0 scopes that the connector supports.public OAuth2Defaults withOauthScopes(Collection<String> oauthScopes)
OAuth 2.0 scopes that the connector supports.
oauthScopes
- OAuth 2.0 scopes that the connector supports.public List<String> getTokenUrls()
Token URLs that can be used for OAuth 2.0 authentication.
public void setTokenUrls(Collection<String> tokenUrls)
Token URLs that can be used for OAuth 2.0 authentication.
tokenUrls
- Token URLs that can be used for OAuth 2.0 authentication.public OAuth2Defaults withTokenUrls(String... tokenUrls)
Token URLs that can be used for OAuth 2.0 authentication.
NOTE: This method appends the values to the existing list (if any). Use
setTokenUrls(java.util.Collection)
or withTokenUrls(java.util.Collection)
if you want to
override the existing values.
tokenUrls
- Token URLs that can be used for OAuth 2.0 authentication.public OAuth2Defaults withTokenUrls(Collection<String> tokenUrls)
Token URLs that can be used for OAuth 2.0 authentication.
tokenUrls
- Token URLs that can be used for OAuth 2.0 authentication.public List<String> getAuthCodeUrls()
Auth code URLs that can be used for OAuth 2.0 authentication.
public void setAuthCodeUrls(Collection<String> authCodeUrls)
Auth code URLs that can be used for OAuth 2.0 authentication.
authCodeUrls
- Auth code URLs that can be used for OAuth 2.0 authentication.public OAuth2Defaults withAuthCodeUrls(String... authCodeUrls)
Auth code URLs that can be used for OAuth 2.0 authentication.
NOTE: This method appends the values to the existing list (if any). Use
setAuthCodeUrls(java.util.Collection)
or withAuthCodeUrls(java.util.Collection)
if you want to
override the existing values.
authCodeUrls
- Auth code URLs that can be used for OAuth 2.0 authentication.public OAuth2Defaults withAuthCodeUrls(Collection<String> authCodeUrls)
Auth code URLs that can be used for OAuth 2.0 authentication.
authCodeUrls
- Auth code URLs that can be used for OAuth 2.0 authentication.public List<String> getOauth2GrantTypesSupported()
OAuth 2.0 grant types supported by the connector.
OAuth2GrantType
public void setOauth2GrantTypesSupported(Collection<String> oauth2GrantTypesSupported)
OAuth 2.0 grant types supported by the connector.
oauth2GrantTypesSupported
- OAuth 2.0 grant types supported by the connector.OAuth2GrantType
public OAuth2Defaults withOauth2GrantTypesSupported(String... oauth2GrantTypesSupported)
OAuth 2.0 grant types supported by the connector.
NOTE: This method appends the values to the existing list (if any). Use
setOauth2GrantTypesSupported(java.util.Collection)
or
withOauth2GrantTypesSupported(java.util.Collection)
if you want to override the existing values.
oauth2GrantTypesSupported
- OAuth 2.0 grant types supported by the connector.OAuth2GrantType
public OAuth2Defaults withOauth2GrantTypesSupported(Collection<String> oauth2GrantTypesSupported)
OAuth 2.0 grant types supported by the connector.
oauth2GrantTypesSupported
- OAuth 2.0 grant types supported by the connector.OAuth2GrantType
public OAuth2Defaults withOauth2GrantTypesSupported(OAuth2GrantType... oauth2GrantTypesSupported)
OAuth 2.0 grant types supported by the connector.
oauth2GrantTypesSupported
- OAuth 2.0 grant types supported by the connector.OAuth2GrantType
public List<OAuth2CustomParameter> getOauth2CustomProperties()
List of custom parameters required for OAuth 2.0 authentication.
public void setOauth2CustomProperties(Collection<OAuth2CustomParameter> oauth2CustomProperties)
List of custom parameters required for OAuth 2.0 authentication.
oauth2CustomProperties
- List of custom parameters required for OAuth 2.0 authentication.public OAuth2Defaults withOauth2CustomProperties(OAuth2CustomParameter... oauth2CustomProperties)
List of custom parameters required for OAuth 2.0 authentication.
NOTE: This method appends the values to the existing list (if any). Use
setOauth2CustomProperties(java.util.Collection)
or
withOauth2CustomProperties(java.util.Collection)
if you want to override the existing values.
oauth2CustomProperties
- List of custom parameters required for OAuth 2.0 authentication.public OAuth2Defaults withOauth2CustomProperties(Collection<OAuth2CustomParameter> oauth2CustomProperties)
List of custom parameters required for OAuth 2.0 authentication.
oauth2CustomProperties
- List of custom parameters required for OAuth 2.0 authentication.public String toString()
toString
in class Object
Object.toString()
public OAuth2Defaults clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.