@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetrieveAndGenerateSessionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains configuration about the session with the knowledge base.
This data type is used in the following API operations:
RetrieveAndGenerate request – in the sessionConfiguration
field
Constructor and Description |
---|
RetrieveAndGenerateSessionConfiguration() |
Modifier and Type | Method and Description |
---|---|
RetrieveAndGenerateSessionConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getKmsKeyArn()
The ARN of the KMS key encrypting the session.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key encrypting the session.
|
String |
toString()
Returns a string representation of this object.
|
RetrieveAndGenerateSessionConfiguration |
withKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key encrypting the session.
|
public RetrieveAndGenerateSessionConfiguration()
public void setKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key encrypting the session.
kmsKeyArn
- The ARN of the KMS key encrypting the session.public String getKmsKeyArn()
The ARN of the KMS key encrypting the session.
public RetrieveAndGenerateSessionConfiguration withKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key encrypting the session.
kmsKeyArn
- The ARN of the KMS key encrypting the session.public String toString()
toString
in class Object
Object.toString()
public RetrieveAndGenerateSessionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.