@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableAuthenticationConfig extends Object implements AuthenticationConfig
AuthenticationConfig.
Use the builder to create immutable instances:
ImmutableAuthenticationConfig.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableAuthenticationConfig.Builder
Builds instances of type
ImmutableAuthenticationConfig. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableAuthenticationConfig.Builder |
builder()
Creates a builder for
ImmutableAuthenticationConfig. |
static ImmutableAuthenticationConfig |
copyOf(AuthenticationConfig instance)
Creates an immutable copy of a
AuthenticationConfig value. |
com.google.common.collect.ImmutableList<CustomAuthConfig> |
customAuthConfig()
Configuration for custom Authentication defined by the connector.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableAuthenticationConfig that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
isBasicAuthSupported, isApiKeyAuthSupported, isOAuth2Supported, isCustomAuthSupported, oAuth2Defaults, customAuthConfig. |
Boolean |
isApiKeyAuthSupported()
Specifies if the ApiKey Auth is supported by connector.
|
Boolean |
isBasicAuthSupported()
Specifies if the Basic Auth is supported by connector.
|
Boolean |
isCustomAuthSupported()
Specifies if the Custom Authentication is supported by connector.
|
Boolean |
isOAuth2Supported()
Specifies if the OAuth2 is supported by connector.
|
OAuth2Defaults |
oAuth2Defaults()
OAuth2 default values provided by the connector.
|
String |
toString()
Prints the immutable value
AuthenticationConfig with attribute values. |
ImmutableAuthenticationConfig |
withCustomAuthConfig(CustomAuthConfig... elements)
Copy the current immutable object with elements that replace the content of
customAuthConfig. |
ImmutableAuthenticationConfig |
withCustomAuthConfig(Iterable<? extends CustomAuthConfig> elements)
Copy the current immutable object with elements that replace the content of
customAuthConfig. |
ImmutableAuthenticationConfig |
withIsApiKeyAuthSupported(Boolean value)
Copy the current immutable object by setting a value for the
isApiKeyAuthSupported attribute. |
ImmutableAuthenticationConfig |
withIsBasicAuthSupported(Boolean value)
Copy the current immutable object by setting a value for the
isBasicAuthSupported attribute. |
ImmutableAuthenticationConfig |
withIsCustomAuthSupported(Boolean value)
Copy the current immutable object by setting a value for the
isCustomAuthSupported attribute. |
ImmutableAuthenticationConfig |
withIsOAuth2Supported(Boolean value)
Copy the current immutable object by setting a value for the
isOAuth2Supported attribute. |
ImmutableAuthenticationConfig |
withOAuth2Defaults(OAuth2Defaults value)
Copy the current immutable object by setting a value for the
oAuth2Defaults attribute. |
@Nullable public Boolean isBasicAuthSupported()
isBasicAuthSupported in interface AuthenticationConfig@Nullable public Boolean isApiKeyAuthSupported()
isApiKeyAuthSupported in interface AuthenticationConfig@Nullable public Boolean isOAuth2Supported()
isOAuth2Supported in interface AuthenticationConfig@Nullable public Boolean isCustomAuthSupported()
isCustomAuthSupported in interface AuthenticationConfig@Nullable public OAuth2Defaults oAuth2Defaults()
oAuth2Defaults in interface AuthenticationConfig@Nullable public com.google.common.collect.ImmutableList<CustomAuthConfig> customAuthConfig()
customAuthConfig in interface AuthenticationConfigpublic final ImmutableAuthenticationConfig withIsBasicAuthSupported(@Nullable Boolean value)
isBasicAuthSupported attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for isBasicAuthSupported (can be null)this objectpublic final ImmutableAuthenticationConfig withIsApiKeyAuthSupported(@Nullable Boolean value)
isApiKeyAuthSupported attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for isApiKeyAuthSupported (can be null)this objectpublic final ImmutableAuthenticationConfig withIsOAuth2Supported(@Nullable Boolean value)
isOAuth2Supported attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for isOAuth2Supported (can be null)this objectpublic final ImmutableAuthenticationConfig withIsCustomAuthSupported(@Nullable Boolean value)
isCustomAuthSupported attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for isCustomAuthSupported (can be null)this objectpublic final ImmutableAuthenticationConfig withOAuth2Defaults(@Nullable OAuth2Defaults value)
oAuth2Defaults attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for oAuth2Defaults (can be null)this objectpublic final ImmutableAuthenticationConfig withCustomAuthConfig(@Nullable CustomAuthConfig... elements)
customAuthConfig.elements - The elements to setthis objectpublic final ImmutableAuthenticationConfig withCustomAuthConfig(@Nullable Iterable<? extends CustomAuthConfig> elements)
customAuthConfig.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of customAuthConfig elements to setthis objectpublic boolean equals(@Nullable Object another)
ImmutableAuthenticationConfig that have equal attribute values.public int hashCode()
isBasicAuthSupported, isApiKeyAuthSupported, isOAuth2Supported, isCustomAuthSupported, oAuth2Defaults, customAuthConfig.public String toString()
AuthenticationConfig with attribute values.public static ImmutableAuthenticationConfig copyOf(AuthenticationConfig instance)
AuthenticationConfig 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 ImmutableAuthenticationConfig.Builder builder()
ImmutableAuthenticationConfig.
ImmutableAuthenticationConfig.builder()
.isBasicAuthSupported(Boolean | null) // nullable isBasicAuthSupported
.isApiKeyAuthSupported(Boolean | null) // nullable isApiKeyAuthSupported
.isOAuth2Supported(Boolean | null) // nullable isOAuth2Supported
.isCustomAuthSupported(Boolean | null) // nullable isCustomAuthSupported
.oAuth2Defaults(com.amazonaws.appflow.custom.connector.model.connectorconfiguration.auth.OAuth2Defaults | null) // nullable oAuth2Defaults
.customAuthConfig(List<com.amazonaws.appflow.custom.connector.model.connectorconfiguration.auth.CustomAuthConfig> | null) // nullable customAuthConfig
.build();
Copyright © 2021–2022 Amazon Web Services. All rights reserved.