@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableValidateCredentialsResponse extends Object implements ValidateCredentialsResponse
ValidateCredentialsResponse.
Use the builder to create immutable instances:
ImmutableValidateCredentialsResponse.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableValidateCredentialsResponse.Builder
Builds instances of type
ImmutableValidateCredentialsResponse. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableValidateCredentialsResponse.Builder |
builder()
Creates a builder for
ImmutableValidateCredentialsResponse. |
static ImmutableValidateCredentialsResponse |
copyOf(ValidateCredentialsResponse instance)
Creates an immutable copy of a
ValidateCredentialsResponse value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableValidateCredentialsResponse that have equal attribute values. |
ErrorDetails |
errorDetails()
Error details if the Operation is unsuccessful.
|
int |
hashCode()
Computes a hash code from attributes:
isSuccess, errorDetails. |
boolean |
isSuccess()
Specifies if the operation is successful or not.
|
String |
toString()
Prints the immutable value
ValidateCredentialsResponse with attribute values. |
ImmutableValidateCredentialsResponse |
withErrorDetails(ErrorDetails value)
Copy the current immutable object by setting a value for the
errorDetails attribute. |
ImmutableValidateCredentialsResponse |
withIsSuccess(boolean value)
Copy the current immutable object by setting a value for the
isSuccess attribute. |
public boolean isSuccess()
isSuccess in interface ValidateCredentialsResponse@Nullable public ErrorDetails errorDetails()
errorDetails in interface ValidateCredentialsResponsepublic final ImmutableValidateCredentialsResponse 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 ImmutableValidateCredentialsResponse 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)
ImmutableValidateCredentialsResponse that have equal attribute values.public int hashCode()
isSuccess, errorDetails.public String toString()
ValidateCredentialsResponse with attribute values.public static ImmutableValidateCredentialsResponse copyOf(ValidateCredentialsResponse instance)
ValidateCredentialsResponse 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 ImmutableValidateCredentialsResponse.Builder builder()
ImmutableValidateCredentialsResponse.
ImmutableValidateCredentialsResponse.builder()
.isSuccess(boolean) // required isSuccess
.errorDetails(com.amazonaws.appflow.custom.connector.model.ErrorDetails | null) // nullable errorDetails
.build();
Copyright © 2021–2022 Amazon Web Services. All rights reserved.