@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableValidateConnectorRuntimeSettingsResponse extends Object implements ValidateConnectorRuntimeSettingsResponse
ValidateConnectorRuntimeSettingsResponse.
Use the builder to create immutable instances:
ImmutableValidateConnectorRuntimeSettingsResponse.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableValidateConnectorRuntimeSettingsResponse.Builder
Builds instances of type
ImmutableValidateConnectorRuntimeSettingsResponse. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableValidateConnectorRuntimeSettingsResponse.Builder |
builder()
Creates a builder for
ImmutableValidateConnectorRuntimeSettingsResponse. |
static ImmutableValidateConnectorRuntimeSettingsResponse |
copyOf(ValidateConnectorRuntimeSettingsResponse instance)
Creates an immutable copy of a
ValidateConnectorRuntimeSettingsResponse value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableValidateConnectorRuntimeSettingsResponse that have equal attribute values. |
ErrorDetails |
errorDetails()
Error details contains ErrorCode and ErrorMessage if the Operation is unsuccessful.
|
com.google.common.collect.ImmutableMap<String,String> |
errorsByInputField()
Error message for the invalid connector settings keys.
|
int |
hashCode()
Computes a hash code from attributes:
isSuccess, errorsByInputField, errorDetails. |
boolean |
isSuccess()
Specifies if the operation is successful or not.
|
String |
toString()
Prints the immutable value
ValidateConnectorRuntimeSettingsResponse with attribute values. |
ImmutableValidateConnectorRuntimeSettingsResponse |
withErrorDetails(ErrorDetails value)
Copy the current immutable object by setting a value for the
errorDetails attribute. |
ImmutableValidateConnectorRuntimeSettingsResponse |
withErrorsByInputField(Map<String,? extends String> entries)
Copy the current immutable object by replacing the
errorsByInputField map with the specified map. |
ImmutableValidateConnectorRuntimeSettingsResponse |
withIsSuccess(boolean value)
Copy the current immutable object by setting a value for the
isSuccess attribute. |
public boolean isSuccess()
isSuccess in interface ValidateConnectorRuntimeSettingsResponse@Nullable public com.google.common.collect.ImmutableMap<String,String> errorsByInputField()
ConnectorRuntimeSetting.key()
provided as input and value will be the error message.errorsByInputField in interface ValidateConnectorRuntimeSettingsResponse@Nullable public ErrorDetails errorDetails()
errorDetails in interface ValidateConnectorRuntimeSettingsResponsepublic final ImmutableValidateConnectorRuntimeSettingsResponse withIsSuccess(boolean value)
isSuccess attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for isSuccessthis objectpublic final ImmutableValidateConnectorRuntimeSettingsResponse withErrorsByInputField(@Nullable Map<String,? extends String> entries)
errorsByInputField 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 errorsByInputField mapthis objectpublic final ImmutableValidateConnectorRuntimeSettingsResponse withErrorDetails(@Nullable ErrorDetails value)
errorDetails attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for errorDetails (can be null)this objectpublic boolean equals(@Nullable Object another)
ImmutableValidateConnectorRuntimeSettingsResponse that have equal attribute values.public int hashCode()
isSuccess, errorsByInputField, errorDetails.public String toString()
ValidateConnectorRuntimeSettingsResponse with attribute values.public static ImmutableValidateConnectorRuntimeSettingsResponse copyOf(ValidateConnectorRuntimeSettingsResponse instance)
ValidateConnectorRuntimeSettingsResponse 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 ImmutableValidateConnectorRuntimeSettingsResponse.Builder builder()
ImmutableValidateConnectorRuntimeSettingsResponse.
ImmutableValidateConnectorRuntimeSettingsResponse.builder()
.isSuccess(boolean) // required isSuccess
.errorsByInputField(Map<String, String> | null) // nullable errorsByInputField
.errorDetails(com.amazonaws.appflow.custom.connector.model.ErrorDetails | null) // nullable errorDetails
.build();
Copyright © 2021–2022 Amazon Web Services. All rights reserved.