@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableDescribeEntityResponse extends Object implements DescribeEntityResponse
DescribeEntityResponse.
Use the builder to create immutable instances:
ImmutableDescribeEntityResponse.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableDescribeEntityResponse.Builder
Builds instances of type
ImmutableDescribeEntityResponse. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableDescribeEntityResponse.Builder |
builder()
Creates a builder for
ImmutableDescribeEntityResponse. |
CacheControl |
cacheControl()
Caching policy for the entity.
|
static ImmutableDescribeEntityResponse |
copyOf(DescribeEntityResponse instance)
Creates an immutable copy of a
DescribeEntityResponse value. |
EntityDefinition |
entityDefinition()
Data model of the entity.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableDescribeEntityResponse that have equal attribute values. |
ErrorDetails |
errorDetails()
Error details if the Operation is unsuccessful.
|
int |
hashCode()
Computes a hash code from attributes:
isSuccess, errorDetails, entityDefinition, cacheControl. |
boolean |
isSuccess()
Specifies if the operation is successful or not.
|
String |
toString()
Prints the immutable value
DescribeEntityResponse with attribute values. |
ImmutableDescribeEntityResponse |
withCacheControl(CacheControl value)
Copy the current immutable object by setting a value for the
cacheControl attribute. |
ImmutableDescribeEntityResponse |
withEntityDefinition(EntityDefinition value)
Copy the current immutable object by setting a value for the
entityDefinition attribute. |
ImmutableDescribeEntityResponse |
withErrorDetails(ErrorDetails value)
Copy the current immutable object by setting a value for the
errorDetails attribute. |
ImmutableDescribeEntityResponse |
withIsSuccess(boolean value)
Copy the current immutable object by setting a value for the
isSuccess attribute. |
public boolean isSuccess()
isSuccess in interface DescribeEntityResponse@Nullable public ErrorDetails errorDetails()
errorDetails in interface DescribeEntityResponse@Nullable public EntityDefinition entityDefinition()
entityDefinition in interface DescribeEntityResponse@Nullable public CacheControl cacheControl()
cacheControl in interface DescribeEntityResponsepublic final ImmutableDescribeEntityResponse 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 ImmutableDescribeEntityResponse 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 final ImmutableDescribeEntityResponse withEntityDefinition(@Nullable EntityDefinition value)
entityDefinition attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for entityDefinition (can be null)this objectpublic final ImmutableDescribeEntityResponse withCacheControl(@Nullable CacheControl value)
cacheControl attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for cacheControl (can be null)this objectpublic boolean equals(@Nullable Object another)
ImmutableDescribeEntityResponse that have equal attribute values.public int hashCode()
isSuccess, errorDetails, entityDefinition, cacheControl.public String toString()
DescribeEntityResponse with attribute values.public static ImmutableDescribeEntityResponse copyOf(DescribeEntityResponse instance)
DescribeEntityResponse 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 ImmutableDescribeEntityResponse.Builder builder()
ImmutableDescribeEntityResponse.
ImmutableDescribeEntityResponse.builder()
.isSuccess(boolean) // required isSuccess
.errorDetails(com.amazonaws.appflow.custom.connector.model.ErrorDetails | null) // nullable errorDetails
.entityDefinition(com.amazonaws.appflow.custom.connector.model.metadata.EntityDefinition | null) // nullable entityDefinition
.cacheControl(com.amazonaws.appflow.custom.connector.model.CacheControl | null) // nullable cacheControl
.build();
Copyright © 2021–2022 Amazon Web Services. All rights reserved.