Class UpdateTestSetResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response
-
- software.amazon.awssdk.services.lexmodelsv2.model.UpdateTestSetResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateTestSetResponse.Builder,UpdateTestSetResponse>
@Generated("software.amazon.awssdk:codegen") public final class UpdateTestSetResponse extends LexModelsV2Response implements ToCopyableBuilder<UpdateTestSetResponse.Builder,UpdateTestSetResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateTestSetResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateTestSetResponse.Builderbuilder()InstantcreationDateTime()The creation date and time for the updated test set.Stringdescription()The test set description for the updated test set.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedDateTime()The date and time of the last update for the updated test set.TestSetModalitymodality()Indicates whether audio or text is used for the updated test set.StringmodalityAsString()Indicates whether audio or text is used for the updated test set.IntegernumTurns()The number of conversation turns from the updated test set.StringroleArn()The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.List<SdkField<?>>sdkFields()static Class<? extends UpdateTestSetResponse.Builder>serializableBuilderClass()TestSetStatusstatus()The status for the updated test set.StringstatusAsString()The status for the updated test set.TestSetStorageLocationstorageLocation()The Amazon S3 storage location for the updated test set.StringtestSetId()The test set Id for which update test operation to be performed.StringtestSetName()The test set name for the updated test set.UpdateTestSetResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response
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
-
testSetId
public final String testSetId()
The test set Id for which update test operation to be performed.
- Returns:
- The test set Id for which update test operation to be performed.
-
testSetName
public final String testSetName()
The test set name for the updated test set.
- Returns:
- The test set name for the updated test set.
-
description
public final String description()
The test set description for the updated test set.
- Returns:
- The test set description for the updated test set.
-
modality
public final TestSetModality modality()
Indicates whether audio or text is used for the updated test set.
If the service returns an enum value that is not available in the current SDK version,
modalitywill returnTestSetModality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodalityAsString().- Returns:
- Indicates whether audio or text is used for the updated test set.
- See Also:
TestSetModality
-
modalityAsString
public final String modalityAsString()
Indicates whether audio or text is used for the updated test set.
If the service returns an enum value that is not available in the current SDK version,
modalitywill returnTestSetModality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodalityAsString().- Returns:
- Indicates whether audio or text is used for the updated test set.
- See Also:
TestSetModality
-
status
public final TestSetStatus status()
The status for the updated test set.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTestSetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status for the updated test set.
- See Also:
TestSetStatus
-
statusAsString
public final String statusAsString()
The status for the updated test set.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTestSetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status for the updated test set.
- See Also:
TestSetStatus
-
roleArn
public final String roleArn()
The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.
- Returns:
- The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.
-
numTurns
public final Integer numTurns()
The number of conversation turns from the updated test set.
- Returns:
- The number of conversation turns from the updated test set.
-
storageLocation
public final TestSetStorageLocation storageLocation()
The Amazon S3 storage location for the updated test set.
- Returns:
- The Amazon S3 storage location for the updated test set.
-
creationDateTime
public final Instant creationDateTime()
The creation date and time for the updated test set.
- Returns:
- The creation date and time for the updated test set.
-
lastUpdatedDateTime
public final Instant lastUpdatedDateTime()
The date and time of the last update for the updated test set.
- Returns:
- The date and time of the last update for the updated test set.
-
toBuilder
public UpdateTestSetResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateTestSetResponse.Builder,UpdateTestSetResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static UpdateTestSetResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateTestSetResponse.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
-
-