Class GetAsyncInvokeResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.bedrockruntime.model.BedrockRuntimeResponse
-
- software.amazon.awssdk.services.bedrockruntime.model.GetAsyncInvokeResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetAsyncInvokeResponse.Builder,GetAsyncInvokeResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetAsyncInvokeResponse extends BedrockRuntimeResponse implements ToCopyableBuilder<GetAsyncInvokeResponse.Builder,GetAsyncInvokeResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetAsyncInvokeResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetAsyncInvokeResponse.Builderbuilder()StringclientRequestToken()The invocation's idempotency token.InstantendTime()When the invocation ended.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureMessage()An error message.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinvocationArn()The invocation's ARN.InstantlastModifiedTime()The invocation's last modified time.StringmodelArn()The invocation's model ARN.AsyncInvokeOutputDataConfigoutputDataConfig()Output data settings.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetAsyncInvokeResponse.Builder>serializableBuilderClass()AsyncInvokeStatusstatus()The invocation's status.StringstatusAsString()The invocation's status.InstantsubmitTime()When the invocation request was submitted.GetAsyncInvokeResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.bedrockruntime.model.BedrockRuntimeResponse
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
-
invocationArn
public final String invocationArn()
The invocation's ARN.
- Returns:
- The invocation's ARN.
-
modelArn
public final String modelArn()
The invocation's model ARN.
- Returns:
- The invocation's model ARN.
-
clientRequestToken
public final String clientRequestToken()
The invocation's idempotency token.
- Returns:
- The invocation's idempotency token.
-
status
public final AsyncInvokeStatus status()
The invocation's status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAsyncInvokeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The invocation's status.
- See Also:
AsyncInvokeStatus
-
statusAsString
public final String statusAsString()
The invocation's status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAsyncInvokeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The invocation's status.
- See Also:
AsyncInvokeStatus
-
failureMessage
public final String failureMessage()
An error message.
- Returns:
- An error message.
-
submitTime
public final Instant submitTime()
When the invocation request was submitted.
- Returns:
- When the invocation request was submitted.
-
lastModifiedTime
public final Instant lastModifiedTime()
The invocation's last modified time.
- Returns:
- The invocation's last modified time.
-
endTime
public final Instant endTime()
When the invocation ended.
- Returns:
- When the invocation ended.
-
outputDataConfig
public final AsyncInvokeOutputDataConfig outputDataConfig()
Output data settings.
- Returns:
- Output data settings.
-
toBuilder
public GetAsyncInvokeResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetAsyncInvokeResponse.Builder,GetAsyncInvokeResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetAsyncInvokeResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetAsyncInvokeResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-