Class InvokeModelWithResponseStreamResponse
- 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.InvokeModelWithResponseStreamResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<InvokeModelWithResponseStreamResponse.Builder,InvokeModelWithResponseStreamResponse>
@Generated("software.amazon.awssdk:codegen") public final class InvokeModelWithResponseStreamResponse extends BedrockRuntimeResponse implements ToCopyableBuilder<InvokeModelWithResponseStreamResponse.Builder,InvokeModelWithResponseStreamResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInvokeModelWithResponseStreamResponse.Builder
-
Method Summary
-
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
-
contentType
public final String contentType()
The MIME type of the inference result.
- Returns:
- The MIME type of the inference result.
-
performanceConfigLatency
public final PerformanceConfigLatency performanceConfigLatency()
Model performance settings for the request.
If the service returns an enum value that is not available in the current SDK version,
performanceConfigLatencywill returnPerformanceConfigLatency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromperformanceConfigLatencyAsString().- Returns:
- Model performance settings for the request.
- See Also:
PerformanceConfigLatency
-
performanceConfigLatencyAsString
public final String performanceConfigLatencyAsString()
Model performance settings for the request.
If the service returns an enum value that is not available in the current SDK version,
performanceConfigLatencywill returnPerformanceConfigLatency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromperformanceConfigLatencyAsString().- Returns:
- Model performance settings for the request.
- See Also:
PerformanceConfigLatency
-
serviceTier
public final ServiceTierType serviceTier()
Specifies the processing tier type used for serving the request.
If the service returns an enum value that is not available in the current SDK version,
serviceTierwill returnServiceTierType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromserviceTierAsString().- Returns:
- Specifies the processing tier type used for serving the request.
- See Also:
ServiceTierType
-
serviceTierAsString
public final String serviceTierAsString()
Specifies the processing tier type used for serving the request.
If the service returns an enum value that is not available in the current SDK version,
serviceTierwill returnServiceTierType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromserviceTierAsString().- Returns:
- Specifies the processing tier type used for serving the request.
- See Also:
ServiceTierType
-
toBuilder
public InvokeModelWithResponseStreamResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InvokeModelWithResponseStreamResponse.Builder,InvokeModelWithResponseStreamResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static InvokeModelWithResponseStreamResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends InvokeModelWithResponseStreamResponse.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
-
-