Class GetSessionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lexruntimev2.model.LexRuntimeV2Request
-
- software.amazon.awssdk.services.lexruntimev2.model.GetSessionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetSessionRequest.Builder,GetSessionRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetSessionRequest extends LexRuntimeV2Request implements ToCopyableBuilder<GetSessionRequest.Builder,GetSessionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetSessionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbotAliasId()The alias identifier in use for the bot that contains the session data.StringbotId()The identifier of the bot that contains the session data.static GetSessionRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlocaleId()The locale where the session is in use.List<SdkField<?>>sdkFields()static Class<? extends GetSessionRequest.Builder>serializableBuilderClass()StringsessionId()The identifier of the session to return.GetSessionRequest.BuildertoBuilder()StringtoString()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
-
botId
public final String botId()
The identifier of the bot that contains the session data.
- Returns:
- The identifier of the bot that contains the session data.
-
botAliasId
public final String botAliasId()
The alias identifier in use for the bot that contains the session data.
- Returns:
- The alias identifier in use for the bot that contains the session data.
-
localeId
public final String localeId()
The locale where the session is in use.
- Returns:
- The locale where the session is in use.
-
sessionId
public final String sessionId()
The identifier of the session to return.
- Returns:
- The identifier of the session to return.
-
toBuilder
public GetSessionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetSessionRequest.Builder,GetSessionRequest>- Specified by:
toBuilderin classLexRuntimeV2Request
-
builder
public static GetSessionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetSessionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
-