@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GenerativeAiSettings extends Object implements Serializable, Cloneable, StructuredPojo
The generative AI settings for the SageMaker Canvas application.
Configure these settings for Canvas users starting chats with generative AI foundation models. For more information, see Use generative AI with foundation models.
Constructor and Description |
---|
GenerativeAiSettings() |
Modifier and Type | Method and Description |
---|---|
GenerativeAiSettings |
clone() |
boolean |
equals(Object obj) |
String |
getAmazonBedrockRoleArn()
The ARN of an Amazon Web Services IAM role that allows fine-tuning of large language models (LLMs) in Amazon
Bedrock.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAmazonBedrockRoleArn(String amazonBedrockRoleArn)
The ARN of an Amazon Web Services IAM role that allows fine-tuning of large language models (LLMs) in Amazon
Bedrock.
|
String |
toString()
Returns a string representation of this object.
|
GenerativeAiSettings |
withAmazonBedrockRoleArn(String amazonBedrockRoleArn)
The ARN of an Amazon Web Services IAM role that allows fine-tuning of large language models (LLMs) in Amazon
Bedrock.
|
public void setAmazonBedrockRoleArn(String amazonBedrockRoleArn)
The ARN of an Amazon Web Services IAM role that allows fine-tuning of large language models (LLMs) in Amazon
Bedrock. The IAM role should have Amazon S3 read and write permissions, as well as a trust relationship that
establishes bedrock.amazonaws.com
as a service principal.
amazonBedrockRoleArn
- The ARN of an Amazon Web Services IAM role that allows fine-tuning of large language models (LLMs) in
Amazon Bedrock. The IAM role should have Amazon S3 read and write permissions, as well as a trust
relationship that establishes bedrock.amazonaws.com
as a service principal.public String getAmazonBedrockRoleArn()
The ARN of an Amazon Web Services IAM role that allows fine-tuning of large language models (LLMs) in Amazon
Bedrock. The IAM role should have Amazon S3 read and write permissions, as well as a trust relationship that
establishes bedrock.amazonaws.com
as a service principal.
bedrock.amazonaws.com
as a service principal.public GenerativeAiSettings withAmazonBedrockRoleArn(String amazonBedrockRoleArn)
The ARN of an Amazon Web Services IAM role that allows fine-tuning of large language models (LLMs) in Amazon
Bedrock. The IAM role should have Amazon S3 read and write permissions, as well as a trust relationship that
establishes bedrock.amazonaws.com
as a service principal.
amazonBedrockRoleArn
- The ARN of an Amazon Web Services IAM role that allows fine-tuning of large language models (LLMs) in
Amazon Bedrock. The IAM role should have Amazon S3 read and write permissions, as well as a trust
relationship that establishes bedrock.amazonaws.com
as a service principal.public String toString()
toString
in class Object
Object.toString()
public GenerativeAiSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.