@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableCustomConnectorConfiguration extends Object implements CustomConnectorConfiguration
CustomConnectorConfiguration.
Use the builder to create immutable instances:
ImmutableCustomConnectorConfiguration.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableCustomConnectorConfiguration.Builder
Builds instances of type
ImmutableCustomConnectorConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableCustomConnectorConfiguration.Builder |
builder()
Creates a builder for
ImmutableCustomConnectorConfiguration. |
static ImmutableCustomConnectorConfiguration |
copyOf(CustomConnectorConfiguration instance)
Creates an immutable copy of a
CustomConnectorConfiguration value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableCustomConnectorConfiguration that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
lambdaArn, name, validationFileName. |
String |
lambdaArn() |
String |
name() |
String |
toString()
Prints the immutable value
CustomConnectorConfiguration with attribute values. |
Optional<String> |
validationFileName() |
ImmutableCustomConnectorConfiguration |
withLambdaArn(String value)
Copy the current immutable object by setting a value for the
lambdaArn attribute. |
ImmutableCustomConnectorConfiguration |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableCustomConnectorConfiguration |
withValidationFileName(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
validationFileName attribute. |
ImmutableCustomConnectorConfiguration |
withValidationFileName(String value)
Copy the current immutable object by setting a present value for the optional
validationFileName attribute. |
public String lambdaArn()
lambdaArn in interface CustomConnectorConfigurationlambdaArn attributepublic String name()
name in interface CustomConnectorConfigurationname attributepublic Optional<String> validationFileName()
validationFileName in interface CustomConnectorConfigurationvalidationFileName attributepublic final ImmutableCustomConnectorConfiguration withLambdaArn(String value)
lambdaArn attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for lambdaArnthis objectpublic final ImmutableCustomConnectorConfiguration 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 ImmutableCustomConnectorConfiguration withValidationFileName(String value)
validationFileName attribute.value - The value for validationFileNamethis objectpublic final ImmutableCustomConnectorConfiguration withValidationFileName(Optional<String> optional)
validationFileName attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for validationFileNamethis objectpublic boolean equals(@Nullable Object another)
ImmutableCustomConnectorConfiguration that have equal attribute values.public int hashCode()
lambdaArn, name, validationFileName.public String toString()
CustomConnectorConfiguration with attribute values.public static ImmutableCustomConnectorConfiguration copyOf(CustomConnectorConfiguration instance)
CustomConnectorConfiguration 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 ImmutableCustomConnectorConfiguration.Builder builder()
ImmutableCustomConnectorConfiguration.
ImmutableCustomConnectorConfiguration.builder()
.lambdaArn(String) // required lambdaArn
.name(String) // required name
.validationFileName(String) // optional validationFileName
.build();
Copyright © 2021–2022 Amazon Web Services. All rights reserved.