Struct aws_sdk_guardduty::operation::create_malware_protection_plan::CreateMalwareProtectionPlanInput
source · #[non_exhaustive]pub struct CreateMalwareProtectionPlanInput {
pub client_token: Option<String>,
pub role: Option<String>,
pub protected_resource: Option<CreateProtectedResource>,
pub actions: Option<MalwareProtectionPlanActions>,
pub tags: Option<HashMap<String, String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.client_token: Option<String>
The idempotency token for the create request.
role: Option<String>
IAM role with permissions required to scan and add tags to the associated protected resource.
protected_resource: Option<CreateProtectedResource>
Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket
is the only supported protected resource.
actions: Option<MalwareProtectionPlanActions>
Information about whether the tags will be added to the S3 object after scanning.
Tags added to the Malware Protection plan resource.
Implementations§
source§impl CreateMalwareProtectionPlanInput
impl CreateMalwareProtectionPlanInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
The idempotency token for the create request.
sourcepub fn role(&self) -> Option<&str>
pub fn role(&self) -> Option<&str>
IAM role with permissions required to scan and add tags to the associated protected resource.
sourcepub fn protected_resource(&self) -> Option<&CreateProtectedResource>
pub fn protected_resource(&self) -> Option<&CreateProtectedResource>
Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket
is the only supported protected resource.
sourcepub fn actions(&self) -> Option<&MalwareProtectionPlanActions>
pub fn actions(&self) -> Option<&MalwareProtectionPlanActions>
Information about whether the tags will be added to the S3 object after scanning.
Tags added to the Malware Protection plan resource.
source§impl CreateMalwareProtectionPlanInput
impl CreateMalwareProtectionPlanInput
sourcepub fn builder() -> CreateMalwareProtectionPlanInputBuilder
pub fn builder() -> CreateMalwareProtectionPlanInputBuilder
Creates a new builder-style object to manufacture CreateMalwareProtectionPlanInput
.
Trait Implementations§
source§impl Clone for CreateMalwareProtectionPlanInput
impl Clone for CreateMalwareProtectionPlanInput
source§fn clone(&self) -> CreateMalwareProtectionPlanInput
fn clone(&self) -> CreateMalwareProtectionPlanInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateMalwareProtectionPlanInput
impl PartialEq for CreateMalwareProtectionPlanInput
source§fn eq(&self, other: &CreateMalwareProtectionPlanInput) -> bool
fn eq(&self, other: &CreateMalwareProtectionPlanInput) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateMalwareProtectionPlanInput
Auto Trait Implementations§
impl Freeze for CreateMalwareProtectionPlanInput
impl RefUnwindSafe for CreateMalwareProtectionPlanInput
impl Send for CreateMalwareProtectionPlanInput
impl Sync for CreateMalwareProtectionPlanInput
impl Unpin for CreateMalwareProtectionPlanInput
impl UnwindSafe for CreateMalwareProtectionPlanInput
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