Class UpdateAdapterRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.textract.model.TextractRequest
-
- software.amazon.awssdk.services.textract.model.UpdateAdapterRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<UpdateAdapterRequest.Builder,UpdateAdapterRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateAdapterRequest extends TextractRequest implements ToCopyableBuilder<UpdateAdapterRequest.Builder,UpdateAdapterRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
UpdateAdapterRequest.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 will be updated.String
adapterName()
The new name to be applied to the adapter.AutoUpdate
autoUpdate()
The new auto-update status to be applied to the adapter.String
autoUpdateAsString()
The new auto-update status to be applied to the adapter.static UpdateAdapterRequest.Builder
builder()
String
description()
The new description to be applied to the adapter.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends UpdateAdapterRequest.Builder>
serializableBuilderClass()
UpdateAdapterRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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 will be updated.
- Returns:
- A string containing a unique ID for the adapter that will be updated.
-
description
public final String description()
The new description to be applied to the adapter.
- Returns:
- The new description to be applied to the adapter.
-
adapterName
public final String adapterName()
The new name to be applied to the adapter.
- Returns:
- The new name to be applied to the adapter.
-
autoUpdate
public final AutoUpdate autoUpdate()
The new auto-update status to be applied to the adapter.
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 new auto-update status to be applied to the adapter.
- See Also:
AutoUpdate
-
autoUpdateAsString
public final String autoUpdateAsString()
The new auto-update status to be applied to the adapter.
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 new auto-update status to be applied to the adapter.
- See Also:
AutoUpdate
-
toBuilder
public UpdateAdapterRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<UpdateAdapterRequest.Builder,UpdateAdapterRequest>
- Specified by:
toBuilder
in classTextractRequest
-
builder
public static UpdateAdapterRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateAdapterRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
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 classSdkRequest
-
-