@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableCustomAuthConfig extends Object implements CustomAuthConfig
CustomAuthConfig.
Use the builder to create immutable instances:
ImmutableCustomAuthConfig.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableCustomAuthConfig.Builder
Builds instances of type
ImmutableCustomAuthConfig. |
| Modifier and Type | Method and Description |
|---|---|
String |
authenticationType()
AuthenticationType string value defined by Connector.
|
com.google.common.collect.ImmutableList<AuthParameter> |
authParameters()
List of Auth Parameters.
|
static ImmutableCustomAuthConfig.Builder |
builder()
Creates a builder for
ImmutableCustomAuthConfig. |
static ImmutableCustomAuthConfig |
copyOf(CustomAuthConfig instance)
Creates an immutable copy of a
CustomAuthConfig value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableCustomAuthConfig that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
authenticationType, authParameters. |
String |
toString()
Prints the immutable value
CustomAuthConfig with attribute values. |
ImmutableCustomAuthConfig |
withAuthenticationType(String value)
Copy the current immutable object by setting a value for the
authenticationType attribute. |
ImmutableCustomAuthConfig |
withAuthParameters(AuthParameter... elements)
Copy the current immutable object with elements that replace the content of
authParameters. |
ImmutableCustomAuthConfig |
withAuthParameters(Iterable<? extends AuthParameter> elements)
Copy the current immutable object with elements that replace the content of
authParameters. |
public String authenticationType()
authenticationType in interface CustomAuthConfigpublic com.google.common.collect.ImmutableList<AuthParameter> authParameters()
authParameters in interface CustomAuthConfigpublic final ImmutableCustomAuthConfig withAuthenticationType(String value)
authenticationType attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for authenticationTypethis objectpublic final ImmutableCustomAuthConfig withAuthParameters(AuthParameter... elements)
authParameters.elements - The elements to setthis objectpublic final ImmutableCustomAuthConfig withAuthParameters(Iterable<? extends AuthParameter> elements)
authParameters.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of authParameters elements to setthis objectpublic boolean equals(@Nullable Object another)
ImmutableCustomAuthConfig that have equal attribute values.public int hashCode()
authenticationType, authParameters.public String toString()
CustomAuthConfig with attribute values.public static ImmutableCustomAuthConfig copyOf(CustomAuthConfig instance)
CustomAuthConfig 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 ImmutableCustomAuthConfig.Builder builder()
ImmutableCustomAuthConfig.
ImmutableCustomAuthConfig.builder()
.authenticationType(String) // required authenticationType
.addAuthParameters|addAllAuthParameters(com.amazonaws.appflow.custom.connector.model.connectorconfiguration.auth.AuthParameter) // authParameters elements
.build();
Copyright © 2021–2022 Amazon Web Services. All rights reserved.