@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableOAuth2Defaults extends Object implements OAuth2Defaults
OAuth2Defaults.
Use the builder to create immutable instances:
ImmutableOAuth2Defaults.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableOAuth2Defaults.Builder
Builds instances of type
ImmutableOAuth2Defaults. |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<String> |
authURL()
Auth URLs.
|
static ImmutableOAuth2Defaults.Builder |
builder()
Creates a builder for
ImmutableOAuth2Defaults. |
static ImmutableOAuth2Defaults |
copyOf(OAuth2Defaults instance)
Creates an immutable copy of a
OAuth2Defaults value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableOAuth2Defaults that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
oAuthScopes, tokenURL, authURL, oAuth2GrantTypesSupported. |
com.google.common.collect.ImmutableList<OAuth2GrantType> |
oAuth2GrantTypesSupported()
OAuth2 Grant types supported by connector.
|
com.google.common.collect.ImmutableList<String> |
oAuthScopes()
OAuth Scopes.
|
com.google.common.collect.ImmutableList<String> |
tokenURL()
Token URLs.
|
String |
toString()
Prints the immutable value
OAuth2Defaults with attribute values. |
ImmutableOAuth2Defaults |
withAuthURL(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
authURL. |
ImmutableOAuth2Defaults |
withAuthURL(String... elements)
Copy the current immutable object with elements that replace the content of
authURL. |
ImmutableOAuth2Defaults |
withOAuth2GrantTypesSupported(Iterable<? extends OAuth2GrantType> elements)
Copy the current immutable object with elements that replace the content of
oAuth2GrantTypesSupported. |
ImmutableOAuth2Defaults |
withOAuth2GrantTypesSupported(OAuth2GrantType... elements)
Copy the current immutable object with elements that replace the content of
oAuth2GrantTypesSupported. |
ImmutableOAuth2Defaults |
withOAuthScopes(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
oAuthScopes. |
ImmutableOAuth2Defaults |
withOAuthScopes(String... elements)
Copy the current immutable object with elements that replace the content of
oAuthScopes. |
ImmutableOAuth2Defaults |
withTokenURL(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
tokenURL. |
ImmutableOAuth2Defaults |
withTokenURL(String... elements)
Copy the current immutable object with elements that replace the content of
tokenURL. |
@Nullable public com.google.common.collect.ImmutableList<String> oAuthScopes()
oAuthScopes in interface OAuth2Defaultspublic com.google.common.collect.ImmutableList<String> tokenURL()
tokenURL in interface OAuth2Defaults@Nullable public com.google.common.collect.ImmutableList<String> authURL()
authURL in interface OAuth2Defaultspublic com.google.common.collect.ImmutableList<OAuth2GrantType> oAuth2GrantTypesSupported()
oAuth2GrantTypesSupported in interface OAuth2Defaultspublic final ImmutableOAuth2Defaults withOAuthScopes(@Nullable String... elements)
oAuthScopes.elements - The elements to setthis objectpublic final ImmutableOAuth2Defaults withOAuthScopes(@Nullable Iterable<String> elements)
oAuthScopes.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of oAuthScopes elements to setthis objectpublic final ImmutableOAuth2Defaults withTokenURL(String... elements)
tokenURL.elements - The elements to setthis objectpublic final ImmutableOAuth2Defaults withTokenURL(Iterable<String> elements)
tokenURL.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of tokenURL elements to setthis objectpublic final ImmutableOAuth2Defaults withAuthURL(@Nullable String... elements)
authURL.elements - The elements to setthis objectpublic final ImmutableOAuth2Defaults withAuthURL(@Nullable Iterable<String> elements)
authURL.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of authURL elements to setthis objectpublic final ImmutableOAuth2Defaults withOAuth2GrantTypesSupported(OAuth2GrantType... elements)
oAuth2GrantTypesSupported.elements - The elements to setthis objectpublic final ImmutableOAuth2Defaults withOAuth2GrantTypesSupported(Iterable<? extends OAuth2GrantType> elements)
oAuth2GrantTypesSupported.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of oAuth2GrantTypesSupported elements to setthis objectpublic boolean equals(@Nullable Object another)
ImmutableOAuth2Defaults that have equal attribute values.public int hashCode()
oAuthScopes, tokenURL, authURL, oAuth2GrantTypesSupported.public String toString()
OAuth2Defaults with attribute values.public static ImmutableOAuth2Defaults copyOf(OAuth2Defaults instance)
OAuth2Defaults value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableOAuth2Defaults.Builder builder()
ImmutableOAuth2Defaults.
ImmutableOAuth2Defaults.builder()
.oAuthScopes(List<String> | null) // nullable oAuthScopes
.addTokenURL|addAllTokenURL(String) // tokenURL elements
.authURL(List<String> | null) // nullable authURL
.addOAuth2GrantTypesSupported|addAllOAuth2GrantTypesSupported(com.amazonaws.appflow.custom.connector.model.connectorconfiguration.auth.OAuth2GrantType) // oAuth2GrantTypesSupported elements
.build();
Copyright © 2021–2022 Amazon Web Services. All rights reserved.