@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableCustomAuthCredentials extends Object implements CustomAuthCredentials
CustomAuthCredentials.
Use the builder to create immutable instances:
ImmutableCustomAuthCredentials.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableCustomAuthCredentials.Builder
Builds instances of type
ImmutableCustomAuthCredentials. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableCustomAuthCredentials.Builder |
builder()
Creates a builder for
ImmutableCustomAuthCredentials. |
static ImmutableCustomAuthCredentials |
copyOf(CustomAuthCredentials instance)
Creates an immutable copy of a
CustomAuthCredentials value. |
String |
customAuthenticationType()
Authentication Type defined by Connector.
|
com.google.common.collect.ImmutableMap<String,String> |
customCredentials()
Custom Credentials provided by connector user.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableCustomAuthCredentials that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
customAuthenticationType, customCredentials. |
String |
toString()
Prints the immutable value
CustomAuthCredentials with attribute values. |
ImmutableCustomAuthCredentials |
withCustomAuthenticationType(String value)
Copy the current immutable object by setting a value for the
customAuthenticationType attribute. |
ImmutableCustomAuthCredentials |
withCustomCredentials(Map<String,? extends String> entries)
Copy the current immutable object by replacing the
customCredentials map with the specified map. |
public String customAuthenticationType()
customAuthenticationType in interface CustomAuthCredentialspublic com.google.common.collect.ImmutableMap<String,String> customCredentials()
AuthParameter.key() and value will be the
input provided by user.customCredentials in interface CustomAuthCredentialspublic final ImmutableCustomAuthCredentials withCustomAuthenticationType(String value)
customAuthenticationType attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for customAuthenticationTypethis objectpublic final ImmutableCustomAuthCredentials withCustomCredentials(Map<String,? extends String> entries)
customCredentials map with the specified map.
Nulls are not permitted as keys or values.
A shallow reference equality check is used to prevent copying of the same value by returning this.entries - The entries to be added to the customCredentials mapthis objectpublic boolean equals(@Nullable Object another)
ImmutableCustomAuthCredentials that have equal attribute values.public int hashCode()
customAuthenticationType, customCredentials.public String toString()
CustomAuthCredentials with attribute values.public static ImmutableCustomAuthCredentials copyOf(CustomAuthCredentials instance)
CustomAuthCredentials 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 ImmutableCustomAuthCredentials.Builder builder()
ImmutableCustomAuthCredentials.
ImmutableCustomAuthCredentials.builder()
.customAuthenticationType(String) // required customAuthenticationType
.putCustomCredentials|putAllCustomCredentials(String => String) // customCredentials mappings
.build();
Copyright © 2021–2022 Amazon Web Services. All rights reserved.