#[non_exhaustive]pub struct GenerativeAiSettingsBuilder { /* private fields */ }
Expand description
A builder for GenerativeAiSettings
.
Implementations§
source§impl GenerativeAiSettingsBuilder
impl GenerativeAiSettingsBuilder
sourcepub fn amazon_bedrock_role_arn(self, input: impl Into<String>) -> Self
pub fn amazon_bedrock_role_arn(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_amazon_bedrock_role_arn(self, input: Option<String>) -> Self
pub fn set_amazon_bedrock_role_arn(self, input: Option<String>) -> Self
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.
sourcepub fn get_amazon_bedrock_role_arn(&self) -> &Option<String>
pub fn get_amazon_bedrock_role_arn(&self) -> &Option<String>
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.
sourcepub fn build(self) -> GenerativeAiSettings
pub fn build(self) -> GenerativeAiSettings
Consumes the builder and constructs a GenerativeAiSettings
.
Trait Implementations§
source§impl Clone for GenerativeAiSettingsBuilder
impl Clone for GenerativeAiSettingsBuilder
source§fn clone(&self) -> GenerativeAiSettingsBuilder
fn clone(&self) -> GenerativeAiSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GenerativeAiSettingsBuilder
impl Debug for GenerativeAiSettingsBuilder
source§impl Default for GenerativeAiSettingsBuilder
impl Default for GenerativeAiSettingsBuilder
source§fn default() -> GenerativeAiSettingsBuilder
fn default() -> GenerativeAiSettingsBuilder
source§impl PartialEq for GenerativeAiSettingsBuilder
impl PartialEq for GenerativeAiSettingsBuilder
source§fn eq(&self, other: &GenerativeAiSettingsBuilder) -> bool
fn eq(&self, other: &GenerativeAiSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.