Struct aws_sdk_inspector::operation::create_resource_group::builders::CreateResourceGroupOutputBuilder
source · #[non_exhaustive]pub struct CreateResourceGroupOutputBuilder { /* private fields */ }Expand description
A builder for CreateResourceGroupOutput.
Implementations§
source§impl CreateResourceGroupOutputBuilder
impl CreateResourceGroupOutputBuilder
sourcepub fn resource_group_arn(self, input: impl Into<String>) -> Self
pub fn resource_group_arn(self, input: impl Into<String>) -> Self
The ARN that specifies the resource group that is created.
This field is required.sourcepub fn set_resource_group_arn(self, input: Option<String>) -> Self
pub fn set_resource_group_arn(self, input: Option<String>) -> Self
The ARN that specifies the resource group that is created.
sourcepub fn get_resource_group_arn(&self) -> &Option<String>
pub fn get_resource_group_arn(&self) -> &Option<String>
The ARN that specifies the resource group that is created.
sourcepub fn build(self) -> Result<CreateResourceGroupOutput, BuildError>
pub fn build(self) -> Result<CreateResourceGroupOutput, BuildError>
Consumes the builder and constructs a CreateResourceGroupOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateResourceGroupOutputBuilder
impl Clone for CreateResourceGroupOutputBuilder
source§fn clone(&self) -> CreateResourceGroupOutputBuilder
fn clone(&self) -> CreateResourceGroupOutputBuilder
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 CreateResourceGroupOutputBuilder
impl Default for CreateResourceGroupOutputBuilder
source§fn default() -> CreateResourceGroupOutputBuilder
fn default() -> CreateResourceGroupOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateResourceGroupOutputBuilder
impl PartialEq for CreateResourceGroupOutputBuilder
source§fn eq(&self, other: &CreateResourceGroupOutputBuilder) -> bool
fn eq(&self, other: &CreateResourceGroupOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateResourceGroupOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateResourceGroupOutputBuilder
impl Send for CreateResourceGroupOutputBuilder
impl Sync for CreateResourceGroupOutputBuilder
impl Unpin for CreateResourceGroupOutputBuilder
impl UnwindSafe for CreateResourceGroupOutputBuilder
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> 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>
Creates a shared type from an unshared type.