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 ==
.