Class UpdateAdapterResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.textract.model.TextractResponse
-
- software.amazon.awssdk.services.textract.model.UpdateAdapterResponse
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<UpdateAdapterResponse.Builder,UpdateAdapterResponse>
@Generated("software.amazon.awssdk:codegen") public final class UpdateAdapterResponse extends TextractResponse implements ToCopyableBuilder<UpdateAdapterResponse.Builder,UpdateAdapterResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
UpdateAdapterResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
adapterId()
A string containing a unique ID for the adapter that has been updated.String
adapterName()
A string containing the name of the adapter that has been updated.AutoUpdate
autoUpdate()
The auto-update status of the adapter that has been updated.String
autoUpdateAsString()
The auto-update status of the adapter that has been updated.static UpdateAdapterResponse.Builder
builder()
Instant
creationTime()
An object specifying the creation time of the the adapter that has been updated.String
description()
A string containing the description of the adapter that has been updated.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
List<FeatureType>
featureTypes()
List of the targeted feature types for the updated adapter.List<String>
featureTypesAsStrings()
List of the targeted feature types for the updated adapter.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
boolean
hasFeatureTypes()
For responses, this returns true if the service returned a value for the FeatureTypes property.int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends UpdateAdapterResponse.Builder>
serializableBuilderClass()
UpdateAdapterResponse.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.textract.model.TextractResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
adapterId
public final String adapterId()
A string containing a unique ID for the adapter that has been updated.
- Returns:
- A string containing a unique ID for the adapter that has been updated.
-
adapterName
public final String adapterName()
A string containing the name of the adapter that has been updated.
- Returns:
- A string containing the name of the adapter that has been updated.
-
creationTime
public final Instant creationTime()
An object specifying the creation time of the the adapter that has been updated.
- Returns:
- An object specifying the creation time of the the adapter that has been updated.
-
description
public final String description()
A string containing the description of the adapter that has been updated.
- Returns:
- A string containing the description of the adapter that has been updated.
-
featureTypes
public final List<FeatureType> featureTypes()
List of the targeted feature types for the updated adapter.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasFeatureTypes()
method.- Returns:
- List of the targeted feature types for the updated adapter.
-
hasFeatureTypes
public final boolean hasFeatureTypes()
For responses, this returns true if the service returned a value for the FeatureTypes property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
featureTypesAsStrings
public final List<String> featureTypesAsStrings()
List of the targeted feature types for the updated adapter.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasFeatureTypes()
method.- Returns:
- List of the targeted feature types for the updated adapter.
-
autoUpdate
public final AutoUpdate autoUpdate()
The auto-update status of the adapter that has been updated.
If the service returns an enum value that is not available in the current SDK version,
autoUpdate
will returnAutoUpdate.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromautoUpdateAsString()
.- Returns:
- The auto-update status of the adapter that has been updated.
- See Also:
AutoUpdate
-
autoUpdateAsString
public final String autoUpdateAsString()
The auto-update status of the adapter that has been updated.
If the service returns an enum value that is not available in the current SDK version,
autoUpdate
will returnAutoUpdate.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromautoUpdateAsString()
.- Returns:
- The auto-update status of the adapter that has been updated.
- See Also:
AutoUpdate
-
toBuilder
public UpdateAdapterResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<UpdateAdapterResponse.Builder,UpdateAdapterResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static UpdateAdapterResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateAdapterResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkResponse
-
-