Struct aws_sdk_codebuild::operation::delete_report_group::builders::DeleteReportGroupInputBuilder
source · #[non_exhaustive]pub struct DeleteReportGroupInputBuilder { /* private fields */ }
Expand description
A builder for DeleteReportGroupInput
.
Implementations§
source§impl DeleteReportGroupInputBuilder
impl DeleteReportGroupInputBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN of the report group to delete.
This field is required.sourcepub fn delete_reports(self, input: bool) -> Self
pub fn delete_reports(self, input: bool) -> Self
If true
, deletes any reports that belong to a report group before deleting the report group.
If false
, you must delete any reports in the report group. Use ListReportsForReportGroup to get the reports in a report group. Use DeleteReport to delete the reports. If you call DeleteReportGroup
for a report group that contains one or more reports, an exception is thrown.
sourcepub fn set_delete_reports(self, input: Option<bool>) -> Self
pub fn set_delete_reports(self, input: Option<bool>) -> Self
If true
, deletes any reports that belong to a report group before deleting the report group.
If false
, you must delete any reports in the report group. Use ListReportsForReportGroup to get the reports in a report group. Use DeleteReport to delete the reports. If you call DeleteReportGroup
for a report group that contains one or more reports, an exception is thrown.
sourcepub fn get_delete_reports(&self) -> &Option<bool>
pub fn get_delete_reports(&self) -> &Option<bool>
If true
, deletes any reports that belong to a report group before deleting the report group.
If false
, you must delete any reports in the report group. Use ListReportsForReportGroup to get the reports in a report group. Use DeleteReport to delete the reports. If you call DeleteReportGroup
for a report group that contains one or more reports, an exception is thrown.
sourcepub fn build(self) -> Result<DeleteReportGroupInput, BuildError>
pub fn build(self) -> Result<DeleteReportGroupInput, BuildError>
Consumes the builder and constructs a DeleteReportGroupInput
.
source§impl DeleteReportGroupInputBuilder
impl DeleteReportGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DeleteReportGroupOutput, SdkError<DeleteReportGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DeleteReportGroupOutput, SdkError<DeleteReportGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteReportGroupInputBuilder
impl Clone for DeleteReportGroupInputBuilder
source§fn clone(&self) -> DeleteReportGroupInputBuilder
fn clone(&self) -> DeleteReportGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeleteReportGroupInputBuilder
impl Default for DeleteReportGroupInputBuilder
source§fn default() -> DeleteReportGroupInputBuilder
fn default() -> DeleteReportGroupInputBuilder
source§impl PartialEq for DeleteReportGroupInputBuilder
impl PartialEq for DeleteReportGroupInputBuilder
source§fn eq(&self, other: &DeleteReportGroupInputBuilder) -> bool
fn eq(&self, other: &DeleteReportGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteReportGroupInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteReportGroupInputBuilder
impl RefUnwindSafe for DeleteReportGroupInputBuilder
impl Send for DeleteReportGroupInputBuilder
impl Sync for DeleteReportGroupInputBuilder
impl Unpin for DeleteReportGroupInputBuilder
impl UnwindSafe for DeleteReportGroupInputBuilder
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> 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