@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableCustomConnectorProfileConfiguration extends Object implements CustomConnectorProfileConfiguration
CustomConnectorProfileConfiguration.
Use the builder to create immutable instances:
ImmutableCustomConnectorProfileConfiguration.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableCustomConnectorProfileConfiguration.Builder
Builds instances of type
ImmutableCustomConnectorProfileConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationType |
authenticationType() |
static ImmutableCustomConnectorProfileConfiguration.Builder |
builder()
Creates a builder for
ImmutableCustomConnectorProfileConfiguration. |
Optional<String> |
connectorName() |
static ImmutableCustomConnectorProfileConfiguration |
copyOf(CustomConnectorProfileConfiguration instance)
Creates an immutable copy of a
CustomConnectorProfileConfiguration value. |
Optional<String> |
defaultApiVersion() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableCustomConnectorProfileConfiguration that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
secretsManagerArn, name, oAuth2Properties, connectorName, profileProperties, authenticationType, defaultApiVersion. |
String |
name() |
Optional<com.amazonaws.services.appflow.model.OAuth2Properties> |
oAuth2Properties() |
Optional<Map<String,String>> |
profileProperties() |
Optional<String> |
secretsManagerArn() |
String |
toString()
Prints the immutable value
CustomConnectorProfileConfiguration with attribute values. |
ImmutableCustomConnectorProfileConfiguration |
withAuthenticationType(AuthenticationType value)
Copy the current immutable object by setting a value for the
authenticationType attribute. |
ImmutableCustomConnectorProfileConfiguration |
withConnectorName(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
connectorName attribute. |
ImmutableCustomConnectorProfileConfiguration |
withConnectorName(String value)
Copy the current immutable object by setting a present value for the optional
connectorName attribute. |
ImmutableCustomConnectorProfileConfiguration |
withDefaultApiVersion(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
defaultApiVersion attribute. |
ImmutableCustomConnectorProfileConfiguration |
withDefaultApiVersion(String value)
Copy the current immutable object by setting a present value for the optional
defaultApiVersion attribute. |
ImmutableCustomConnectorProfileConfiguration |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableCustomConnectorProfileConfiguration |
withOAuth2Properties(com.amazonaws.services.appflow.model.OAuth2Properties value)
Copy the current immutable object by setting a present value for the optional
oAuth2Properties attribute. |
ImmutableCustomConnectorProfileConfiguration |
withOAuth2Properties(Optional<? extends com.amazonaws.services.appflow.model.OAuth2Properties> optional)
Copy the current immutable object by setting an optional value for the
oAuth2Properties attribute. |
ImmutableCustomConnectorProfileConfiguration |
withProfileProperties(Map<String,String> value)
Copy the current immutable object by setting a present value for the optional
profileProperties attribute. |
ImmutableCustomConnectorProfileConfiguration |
withProfileProperties(Optional<? extends Map<String,String>> optional)
Copy the current immutable object by setting an optional value for the
profileProperties attribute. |
ImmutableCustomConnectorProfileConfiguration |
withSecretsManagerArn(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
secretsManagerArn attribute. |
ImmutableCustomConnectorProfileConfiguration |
withSecretsManagerArn(String value)
Copy the current immutable object by setting a present value for the optional
secretsManagerArn attribute. |
public Optional<String> secretsManagerArn()
secretsManagerArn in interface CustomConnectorProfileConfigurationsecretsManagerArn attributepublic String name()
name in interface CustomConnectorProfileConfigurationname attributepublic Optional<com.amazonaws.services.appflow.model.OAuth2Properties> oAuth2Properties()
oAuth2Properties in interface CustomConnectorProfileConfigurationoAuth2Properties attributepublic Optional<String> connectorName()
connectorName in interface CustomConnectorProfileConfigurationconnectorName attributepublic Optional<Map<String,String>> profileProperties()
profileProperties in interface CustomConnectorProfileConfigurationprofileProperties attributepublic AuthenticationType authenticationType()
authenticationType in interface CustomConnectorProfileConfigurationauthenticationType attributepublic Optional<String> defaultApiVersion()
defaultApiVersion in interface CustomConnectorProfileConfigurationdefaultApiVersion attributepublic final ImmutableCustomConnectorProfileConfiguration withSecretsManagerArn(String value)
secretsManagerArn attribute.value - The value for secretsManagerArnthis objectpublic final ImmutableCustomConnectorProfileConfiguration withSecretsManagerArn(Optional<String> optional)
secretsManagerArn attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for secretsManagerArnthis objectpublic final ImmutableCustomConnectorProfileConfiguration withName(String value)
name attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for namethis objectpublic final ImmutableCustomConnectorProfileConfiguration withOAuth2Properties(com.amazonaws.services.appflow.model.OAuth2Properties value)
oAuth2Properties attribute.value - The value for oAuth2Propertiesthis objectpublic final ImmutableCustomConnectorProfileConfiguration withOAuth2Properties(Optional<? extends com.amazonaws.services.appflow.model.OAuth2Properties> optional)
oAuth2Properties attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for oAuth2Propertiesthis objectpublic final ImmutableCustomConnectorProfileConfiguration withConnectorName(String value)
connectorName attribute.value - The value for connectorNamethis objectpublic final ImmutableCustomConnectorProfileConfiguration withConnectorName(Optional<String> optional)
connectorName attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for connectorNamethis objectpublic final ImmutableCustomConnectorProfileConfiguration withProfileProperties(Map<String,String> value)
profileProperties attribute.value - The value for profilePropertiesthis objectpublic final ImmutableCustomConnectorProfileConfiguration withProfileProperties(Optional<? extends Map<String,String>> optional)
profileProperties attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for profilePropertiesthis objectpublic final ImmutableCustomConnectorProfileConfiguration withAuthenticationType(AuthenticationType value)
authenticationType attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for authenticationTypethis objectpublic final ImmutableCustomConnectorProfileConfiguration withDefaultApiVersion(String value)
defaultApiVersion attribute.value - The value for defaultApiVersionthis objectpublic final ImmutableCustomConnectorProfileConfiguration withDefaultApiVersion(Optional<String> optional)
defaultApiVersion attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for defaultApiVersionthis objectpublic boolean equals(@Nullable Object another)
ImmutableCustomConnectorProfileConfiguration that have equal attribute values.public int hashCode()
secretsManagerArn, name, oAuth2Properties, connectorName, profileProperties, authenticationType, defaultApiVersion.public String toString()
CustomConnectorProfileConfiguration with attribute values.public static ImmutableCustomConnectorProfileConfiguration copyOf(CustomConnectorProfileConfiguration instance)
CustomConnectorProfileConfiguration 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 ImmutableCustomConnectorProfileConfiguration.Builder builder()
ImmutableCustomConnectorProfileConfiguration.
ImmutableCustomConnectorProfileConfiguration.builder()
.secretsManagerArn(String) // optional secretsManagerArn
.name(String) // required name
.oAuth2Properties(com.amazonaws.services.appflow.model.OAuth2Properties) // optional oAuth2Properties
.connectorName(String) // optional connectorName
.profileProperties(Map<String, String>) // optional profileProperties
.authenticationType(com.amazonaws.appflow.custom.connector.integ.providers.AuthenticationType) // required authenticationType
.defaultApiVersion(String) // optional defaultApiVersion
.build();
Copyright © 2021–2022 Amazon Web Services. All rights reserved.