Struct aws_sdk_glue::operation::create_usage_profile::builders::CreateUsageProfileInputBuilder
source · #[non_exhaustive]pub struct CreateUsageProfileInputBuilder { /* private fields */ }Expand description
A builder for CreateUsageProfileInput.
Implementations§
source§impl CreateUsageProfileInputBuilder
impl CreateUsageProfileInputBuilder
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.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
A list of tags applied to the usage profile.
A list of tags applied to the usage profile.
A list of tags applied to the usage profile.
sourcepub fn build(self) -> Result<CreateUsageProfileInput, BuildError>
pub fn build(self) -> Result<CreateUsageProfileInput, BuildError>
Consumes the builder and constructs a CreateUsageProfileInput.
source§impl CreateUsageProfileInputBuilder
impl CreateUsageProfileInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateUsageProfileOutput, SdkError<CreateUsageProfileError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateUsageProfileOutput, SdkError<CreateUsageProfileError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateUsageProfileInputBuilder
impl Clone for CreateUsageProfileInputBuilder
source§fn clone(&self) -> CreateUsageProfileInputBuilder
fn clone(&self) -> CreateUsageProfileInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateUsageProfileInputBuilder
impl Default for CreateUsageProfileInputBuilder
source§fn default() -> CreateUsageProfileInputBuilder
fn default() -> CreateUsageProfileInputBuilder
source§impl PartialEq for CreateUsageProfileInputBuilder
impl PartialEq for CreateUsageProfileInputBuilder
source§fn eq(&self, other: &CreateUsageProfileInputBuilder) -> bool
fn eq(&self, other: &CreateUsageProfileInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateUsageProfileInputBuilder
Auto Trait Implementations§
impl Freeze for CreateUsageProfileInputBuilder
impl RefUnwindSafe for CreateUsageProfileInputBuilder
impl Send for CreateUsageProfileInputBuilder
impl Sync for CreateUsageProfileInputBuilder
impl Unpin for CreateUsageProfileInputBuilder
impl UnwindSafe for CreateUsageProfileInputBuilder
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