@NotThreadSafe public static final class ImmutableCustomAuthCredentials.Builder extends Object
ImmutableCustomAuthCredentials.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
public final ImmutableCustomAuthCredentials.Builder from(CustomAuthCredentials instance)
CustomAuthCredentials instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableCustomAuthCredentials.Builder customAuthenticationType(String customAuthenticationType)
customAuthenticationType attribute.customAuthenticationType - The value for customAuthenticationTypethis builder for use in a chained invocationpublic final ImmutableCustomAuthCredentials.Builder putCustomCredentials(String key, String value)
customCredentials map.key - The key in the customCredentials mapvalue - The associated value in the customCredentials mapthis builder for use in a chained invocationpublic final ImmutableCustomAuthCredentials.Builder putCustomCredentials(Map.Entry<String,? extends String> entry)
customCredentials map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final ImmutableCustomAuthCredentials.Builder customCredentials(Map<String,? extends String> entries)
customCredentials map. Nulls are not permittedentries - The entries that will be added to the customCredentials mapthis builder for use in a chained invocationpublic final ImmutableCustomAuthCredentials.Builder putAllCustomCredentials(Map<String,? extends String> entries)
customCredentials map. Nulls are not permittedentries - The entries that will be added to the customCredentials mapthis builder for use in a chained invocationpublic ImmutableCustomAuthCredentials build()
ImmutableCustomAuthCredentials.IllegalStateException - if any required attributes are missingCopyright © 2021–2022 Amazon Web Services. All rights reserved.