Struct aws_sdk_sagemaker::types::builders::ModelAccessConfigBuilder
source · #[non_exhaustive]pub struct ModelAccessConfigBuilder { /* private fields */ }
Expand description
A builder for ModelAccessConfig
.
Implementations§
source§impl ModelAccessConfigBuilder
impl ModelAccessConfigBuilder
sourcepub fn accept_eula(self, input: bool) -> Self
pub fn accept_eula(self, input: bool) -> Self
Specifies agreement to the model end-user license agreement (EULA). The AcceptEula
value must be explicitly defined as True
in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.
sourcepub fn set_accept_eula(self, input: Option<bool>) -> Self
pub fn set_accept_eula(self, input: Option<bool>) -> Self
Specifies agreement to the model end-user license agreement (EULA). The AcceptEula
value must be explicitly defined as True
in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.
sourcepub fn get_accept_eula(&self) -> &Option<bool>
pub fn get_accept_eula(&self) -> &Option<bool>
Specifies agreement to the model end-user license agreement (EULA). The AcceptEula
value must be explicitly defined as True
in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.
sourcepub fn build(self) -> ModelAccessConfig
pub fn build(self) -> ModelAccessConfig
Consumes the builder and constructs a ModelAccessConfig
.
Trait Implementations§
source§impl Clone for ModelAccessConfigBuilder
impl Clone for ModelAccessConfigBuilder
source§fn clone(&self) -> ModelAccessConfigBuilder
fn clone(&self) -> ModelAccessConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModelAccessConfigBuilder
impl Debug for ModelAccessConfigBuilder
source§impl Default for ModelAccessConfigBuilder
impl Default for ModelAccessConfigBuilder
source§fn default() -> ModelAccessConfigBuilder
fn default() -> ModelAccessConfigBuilder
source§impl PartialEq for ModelAccessConfigBuilder
impl PartialEq for ModelAccessConfigBuilder
impl StructuralPartialEq for ModelAccessConfigBuilder
Auto Trait Implementations§
impl Freeze for ModelAccessConfigBuilder
impl RefUnwindSafe for ModelAccessConfigBuilder
impl Send for ModelAccessConfigBuilder
impl Sync for ModelAccessConfigBuilder
impl Unpin for ModelAccessConfigBuilder
impl UnwindSafe for ModelAccessConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more