Struct aws_sdk_wafv2::operation::update_managed_rule_set_version_expiry_date::builders::UpdateManagedRuleSetVersionExpiryDateOutputBuilder
source · #[non_exhaustive]pub struct UpdateManagedRuleSetVersionExpiryDateOutputBuilder { /* private fields */ }
Expand description
A builder for UpdateManagedRuleSetVersionExpiryDateOutput
.
Implementations§
source§impl UpdateManagedRuleSetVersionExpiryDateOutputBuilder
impl UpdateManagedRuleSetVersionExpiryDateOutputBuilder
sourcepub fn expiring_version(self, input: impl Into<String>) -> Self
pub fn expiring_version(self, input: impl Into<String>) -> Self
The version that is set to expire.
sourcepub fn set_expiring_version(self, input: Option<String>) -> Self
pub fn set_expiring_version(self, input: Option<String>) -> Self
The version that is set to expire.
sourcepub fn get_expiring_version(&self) -> &Option<String>
pub fn get_expiring_version(&self) -> &Option<String>
The version that is set to expire.
sourcepub fn expiry_timestamp(self, input: DateTime) -> Self
pub fn expiry_timestamp(self, input: DateTime) -> Self
The time that the version will expire.
Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
sourcepub fn set_expiry_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_expiry_timestamp(self, input: Option<DateTime>) -> Self
The time that the version will expire.
Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
sourcepub fn get_expiry_timestamp(&self) -> &Option<DateTime>
pub fn get_expiry_timestamp(&self) -> &Option<DateTime>
The time that the version will expire.
Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
sourcepub fn next_lock_token(self, input: impl Into<String>) -> Self
pub fn next_lock_token(self, input: impl Into<String>) -> Self
A token used for optimistic locking. WAF returns a token to your get
and list
requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update
and delete
. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException
. If this happens, perform another get
, and use the new token returned by that operation.
sourcepub fn set_next_lock_token(self, input: Option<String>) -> Self
pub fn set_next_lock_token(self, input: Option<String>) -> Self
A token used for optimistic locking. WAF returns a token to your get
and list
requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update
and delete
. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException
. If this happens, perform another get
, and use the new token returned by that operation.
sourcepub fn get_next_lock_token(&self) -> &Option<String>
pub fn get_next_lock_token(&self) -> &Option<String>
A token used for optimistic locking. WAF returns a token to your get
and list
requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update
and delete
. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException
. If this happens, perform another get
, and use the new token returned by that operation.
sourcepub fn build(self) -> UpdateManagedRuleSetVersionExpiryDateOutput
pub fn build(self) -> UpdateManagedRuleSetVersionExpiryDateOutput
Consumes the builder and constructs a UpdateManagedRuleSetVersionExpiryDateOutput
.
Trait Implementations§
source§impl Clone for UpdateManagedRuleSetVersionExpiryDateOutputBuilder
impl Clone for UpdateManagedRuleSetVersionExpiryDateOutputBuilder
source§fn clone(&self) -> UpdateManagedRuleSetVersionExpiryDateOutputBuilder
fn clone(&self) -> UpdateManagedRuleSetVersionExpiryDateOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateManagedRuleSetVersionExpiryDateOutputBuilder
impl Default for UpdateManagedRuleSetVersionExpiryDateOutputBuilder
source§fn default() -> UpdateManagedRuleSetVersionExpiryDateOutputBuilder
fn default() -> UpdateManagedRuleSetVersionExpiryDateOutputBuilder
source§impl PartialEq for UpdateManagedRuleSetVersionExpiryDateOutputBuilder
impl PartialEq for UpdateManagedRuleSetVersionExpiryDateOutputBuilder
source§fn eq(&self, other: &UpdateManagedRuleSetVersionExpiryDateOutputBuilder) -> bool
fn eq(&self, other: &UpdateManagedRuleSetVersionExpiryDateOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateManagedRuleSetVersionExpiryDateOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateManagedRuleSetVersionExpiryDateOutputBuilder
impl RefUnwindSafe for UpdateManagedRuleSetVersionExpiryDateOutputBuilder
impl Send for UpdateManagedRuleSetVersionExpiryDateOutputBuilder
impl Sync for UpdateManagedRuleSetVersionExpiryDateOutputBuilder
impl Unpin for UpdateManagedRuleSetVersionExpiryDateOutputBuilder
impl UnwindSafe for UpdateManagedRuleSetVersionExpiryDateOutputBuilder
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