Struct aws_sdk_glue::operation::update_usage_profile::builders::UpdateUsageProfileInputBuilder
source · #[non_exhaustive]pub struct UpdateUsageProfileInputBuilder { /* private fields */ }Expand description
A builder for UpdateUsageProfileInput.
Implementations§
source§impl UpdateUsageProfileInputBuilder
impl UpdateUsageProfileInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the usage profile.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the usage profile.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the usage profile.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the usage profile.
sourcepub fn configuration(self, input: ProfileConfiguration) -> Self
pub fn configuration(self, input: ProfileConfiguration) -> Self
A ProfileConfiguration object specifying the job and session values for the profile.
sourcepub fn set_configuration(self, input: Option<ProfileConfiguration>) -> Self
pub fn set_configuration(self, input: Option<ProfileConfiguration>) -> Self
A ProfileConfiguration object specifying the job and session values for the profile.
sourcepub fn get_configuration(&self) -> &Option<ProfileConfiguration>
pub fn get_configuration(&self) -> &Option<ProfileConfiguration>
A ProfileConfiguration object specifying the job and session values for the profile.
sourcepub fn build(self) -> Result<UpdateUsageProfileInput, BuildError>
pub fn build(self) -> Result<UpdateUsageProfileInput, BuildError>
Consumes the builder and constructs a UpdateUsageProfileInput.
source§impl UpdateUsageProfileInputBuilder
impl UpdateUsageProfileInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateUsageProfileOutput, SdkError<UpdateUsageProfileError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateUsageProfileOutput, SdkError<UpdateUsageProfileError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateUsageProfileInputBuilder
impl Clone for UpdateUsageProfileInputBuilder
source§fn clone(&self) -> UpdateUsageProfileInputBuilder
fn clone(&self) -> UpdateUsageProfileInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for UpdateUsageProfileInputBuilder
impl Default for UpdateUsageProfileInputBuilder
source§fn default() -> UpdateUsageProfileInputBuilder
fn default() -> UpdateUsageProfileInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateUsageProfileInputBuilder
impl PartialEq for UpdateUsageProfileInputBuilder
source§fn eq(&self, other: &UpdateUsageProfileInputBuilder) -> bool
fn eq(&self, other: &UpdateUsageProfileInputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateUsageProfileInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateUsageProfileInputBuilder
impl RefUnwindSafe for UpdateUsageProfileInputBuilder
impl Send for UpdateUsageProfileInputBuilder
impl Sync for UpdateUsageProfileInputBuilder
impl Unpin for UpdateUsageProfileInputBuilder
impl UnwindSafe for UpdateUsageProfileInputBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.