Struct aws_sdk_ecr::operation::describe_image_scan_findings::builders::DescribeImageScanFindingsInputBuilder
source · #[non_exhaustive]pub struct DescribeImageScanFindingsInputBuilder { /* private fields */ }Expand description
A builder for DescribeImageScanFindingsInput.
Implementations§
source§impl DescribeImageScanFindingsInputBuilder
impl DescribeImageScanFindingsInputBuilder
sourcepub fn registry_id(self, input: impl Into<String>) -> Self
pub fn registry_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID associated with the registry that contains the repository in which to describe the image scan findings for. If you do not specify a registry, the default registry is assumed.
sourcepub fn set_registry_id(self, input: Option<String>) -> Self
pub fn set_registry_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID associated with the registry that contains the repository in which to describe the image scan findings for. If you do not specify a registry, the default registry is assumed.
sourcepub fn get_registry_id(&self) -> &Option<String>
pub fn get_registry_id(&self) -> &Option<String>
The Amazon Web Services account ID associated with the registry that contains the repository in which to describe the image scan findings for. If you do not specify a registry, the default registry is assumed.
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The repository for the image for which to describe the scan findings.
This field is required.sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The repository for the image for which to describe the scan findings.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The repository for the image for which to describe the scan findings.
sourcepub fn image_id(self, input: ImageIdentifier) -> Self
pub fn image_id(self, input: ImageIdentifier) -> Self
An object with identifying information for an image in an Amazon ECR repository.
This field is required.sourcepub fn set_image_id(self, input: Option<ImageIdentifier>) -> Self
pub fn set_image_id(self, input: Option<ImageIdentifier>) -> Self
An object with identifying information for an image in an Amazon ECR repository.
sourcepub fn get_image_id(&self) -> &Option<ImageIdentifier>
pub fn get_image_id(&self) -> &Option<ImageIdentifier>
An object with identifying information for an image in an Amazon ECR repository.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken value returned from a previous paginated DescribeImageScanFindings request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken value returned from a previous paginated DescribeImageScanFindings request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The nextToken value returned from a previous paginated DescribeImageScanFindings request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of image scan results returned by DescribeImageScanFindings in paginated output. When this parameter is used, DescribeImageScanFindings only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeImageScanFindings request with the returned nextToken value. This value can be between 1 and 1000. If this parameter is not used, then DescribeImageScanFindings returns up to 100 results and a nextToken value, if applicable.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of image scan results returned by DescribeImageScanFindings in paginated output. When this parameter is used, DescribeImageScanFindings only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeImageScanFindings request with the returned nextToken value. This value can be between 1 and 1000. If this parameter is not used, then DescribeImageScanFindings returns up to 100 results and a nextToken value, if applicable.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of image scan results returned by DescribeImageScanFindings in paginated output. When this parameter is used, DescribeImageScanFindings only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeImageScanFindings request with the returned nextToken value. This value can be between 1 and 1000. If this parameter is not used, then DescribeImageScanFindings returns up to 100 results and a nextToken value, if applicable.
sourcepub fn build(self) -> Result<DescribeImageScanFindingsInput, BuildError>
pub fn build(self) -> Result<DescribeImageScanFindingsInput, BuildError>
Consumes the builder and constructs a DescribeImageScanFindingsInput.
source§impl DescribeImageScanFindingsInputBuilder
impl DescribeImageScanFindingsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DescribeImageScanFindingsOutput, SdkError<DescribeImageScanFindingsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DescribeImageScanFindingsOutput, SdkError<DescribeImageScanFindingsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeImageScanFindingsInputBuilder
impl Clone for DescribeImageScanFindingsInputBuilder
source§fn clone(&self) -> DescribeImageScanFindingsInputBuilder
fn clone(&self) -> DescribeImageScanFindingsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeImageScanFindingsInputBuilder
impl Default for DescribeImageScanFindingsInputBuilder
source§fn default() -> DescribeImageScanFindingsInputBuilder
fn default() -> DescribeImageScanFindingsInputBuilder
source§impl PartialEq for DescribeImageScanFindingsInputBuilder
impl PartialEq for DescribeImageScanFindingsInputBuilder
source§fn eq(&self, other: &DescribeImageScanFindingsInputBuilder) -> bool
fn eq(&self, other: &DescribeImageScanFindingsInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DescribeImageScanFindingsInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeImageScanFindingsInputBuilder
impl RefUnwindSafe for DescribeImageScanFindingsInputBuilder
impl Send for DescribeImageScanFindingsInputBuilder
impl Sync for DescribeImageScanFindingsInputBuilder
impl Unpin for DescribeImageScanFindingsInputBuilder
impl UnwindSafe for DescribeImageScanFindingsInputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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