@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableConnectorRuntimeSetting extends Object implements ConnectorRuntimeSetting
ConnectorRuntimeSetting.
Use the builder to create immutable instances:
ImmutableConnectorRuntimeSetting.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableConnectorRuntimeSetting.Builder
Builds instances of type
ImmutableConnectorRuntimeSetting. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableConnectorRuntimeSetting.Builder |
builder()
Creates a builder for
ImmutableConnectorRuntimeSetting. |
com.google.common.collect.ImmutableList<String> |
connectorSuppliedValueOptions()
Optional connector supplied value options (with matching data type) that the user can pick from as a value for
this runtime setting.
|
static ImmutableConnectorRuntimeSetting |
copyOf(ConnectorRuntimeSetting instance)
Creates an immutable copy of a
ConnectorRuntimeSetting value. |
ConnectorRuntimeSettingDataType |
dataType()
Data type for the connector runtime setting.
|
String |
description()
Description of the connector runtime setting.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableConnectorRuntimeSetting that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
key, dataType, required, label, description, scope, connectorSuppliedValueOptions. |
String |
key()
Unique identifier for the connector runtime setting.
|
String |
label()
Label for the connector runtime setting.
|
boolean |
required()
Specifies if this setting is required or not.
|
ConnectorRuntimeSettingScope |
scope()
Scope of the runtime setting needed for CONNECTOR_PROFILE, SOURCE, DESTINATION etc.
|
String |
toString()
Prints the immutable value
ConnectorRuntimeSetting with attribute values. |
ImmutableConnectorRuntimeSetting |
withConnectorSuppliedValueOptions(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
connectorSuppliedValueOptions. |
ImmutableConnectorRuntimeSetting |
withConnectorSuppliedValueOptions(String... elements)
Copy the current immutable object with elements that replace the content of
connectorSuppliedValueOptions. |
ImmutableConnectorRuntimeSetting |
withDataType(ConnectorRuntimeSettingDataType value)
Copy the current immutable object by setting a value for the
dataType attribute. |
ImmutableConnectorRuntimeSetting |
withDescription(String value)
Copy the current immutable object by setting a value for the
description attribute. |
ImmutableConnectorRuntimeSetting |
withKey(String value)
Copy the current immutable object by setting a value for the
key attribute. |
ImmutableConnectorRuntimeSetting |
withLabel(String value)
Copy the current immutable object by setting a value for the
label attribute. |
ImmutableConnectorRuntimeSetting |
withRequired(boolean value)
Copy the current immutable object by setting a value for the
required attribute. |
ImmutableConnectorRuntimeSetting |
withScope(ConnectorRuntimeSettingScope value)
Copy the current immutable object by setting a value for the
scope attribute. |
public String key()
key in interface ConnectorRuntimeSettingpublic ConnectorRuntimeSettingDataType dataType()
dataType in interface ConnectorRuntimeSettingpublic boolean required()
required in interface ConnectorRuntimeSettingpublic String label()
label in interface ConnectorRuntimeSettingpublic String description()
description in interface ConnectorRuntimeSettingpublic ConnectorRuntimeSettingScope scope()
scope in interface ConnectorRuntimeSetting@Nullable public com.google.common.collect.ImmutableList<String> connectorSuppliedValueOptions()
connectorSuppliedValueOptions in interface ConnectorRuntimeSettingpublic final ImmutableConnectorRuntimeSetting withKey(String value)
key attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for keythis objectpublic final ImmutableConnectorRuntimeSetting withDataType(ConnectorRuntimeSettingDataType value)
dataType attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for dataTypethis objectpublic final ImmutableConnectorRuntimeSetting withRequired(boolean value)
required attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for requiredthis objectpublic final ImmutableConnectorRuntimeSetting withLabel(String value)
label attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for labelthis objectpublic final ImmutableConnectorRuntimeSetting withDescription(String value)
description attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for descriptionthis objectpublic final ImmutableConnectorRuntimeSetting withScope(ConnectorRuntimeSettingScope value)
scope attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for scopethis objectpublic final ImmutableConnectorRuntimeSetting withConnectorSuppliedValueOptions(@Nullable String... elements)
connectorSuppliedValueOptions.elements - The elements to setthis objectpublic final ImmutableConnectorRuntimeSetting withConnectorSuppliedValueOptions(@Nullable Iterable<String> elements)
connectorSuppliedValueOptions.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of connectorSuppliedValueOptions elements to setthis objectpublic boolean equals(@Nullable Object another)
ImmutableConnectorRuntimeSetting that have equal attribute values.public int hashCode()
key, dataType, required, label, description, scope, connectorSuppliedValueOptions.public String toString()
ConnectorRuntimeSetting with attribute values.public static ImmutableConnectorRuntimeSetting copyOf(ConnectorRuntimeSetting instance)
ConnectorRuntimeSetting 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 ImmutableConnectorRuntimeSetting.Builder builder()
ImmutableConnectorRuntimeSetting.
ImmutableConnectorRuntimeSetting.builder()
.key(String) // required key
.dataType(com.amazonaws.appflow.custom.connector.model.settings.ConnectorRuntimeSettingDataType) // required dataType
.required(boolean) // required required
.label(String) // required label
.description(String) // required description
.scope(com.amazonaws.appflow.custom.connector.model.settings.ConnectorRuntimeSettingScope) // required scope
.connectorSuppliedValueOptions(List<String> | null) // nullable connectorSuppliedValueOptions
.build();
Copyright © 2021–2022 Amazon Web Services. All rights reserved.