#[non_exhaustive]pub struct FailedKeyRegistrationEntryBuilder { /* private fields */ }Expand description
A builder for FailedKeyRegistrationEntry.
Implementations§
source§impl FailedKeyRegistrationEntryBuilder
impl FailedKeyRegistrationEntryBuilder
sourcepub fn key_arn(self, input: impl Into<String>) -> Self
pub fn key_arn(self, input: impl Into<String>) -> Self
The ARN of the KMS key that failed to update.
sourcepub fn set_key_arn(self, input: Option<String>) -> Self
pub fn set_key_arn(self, input: Option<String>) -> Self
The ARN of the KMS key that failed to update.
sourcepub fn get_key_arn(&self) -> &Option<String>
pub fn get_key_arn(&self) -> &Option<String>
The ARN of the KMS key that failed to update.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
A message that provides information about why a FailedKeyRegistrationEntry error occurred.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
A message that provides information about why a FailedKeyRegistrationEntry error occurred.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
A message that provides information about why a FailedKeyRegistrationEntry error occurred.
sourcepub fn status_code(self, input: i32) -> Self
pub fn status_code(self, input: i32) -> Self
The HTTP status of a FailedKeyRegistrationEntry error.
sourcepub fn set_status_code(self, input: Option<i32>) -> Self
pub fn set_status_code(self, input: Option<i32>) -> Self
The HTTP status of a FailedKeyRegistrationEntry error.
sourcepub fn get_status_code(&self) -> &Option<i32>
pub fn get_status_code(&self) -> &Option<i32>
The HTTP status of a FailedKeyRegistrationEntry error.
sourcepub fn sender_fault(self, input: bool) -> Self
pub fn sender_fault(self, input: bool) -> Self
A boolean that indicates whether a FailedKeyRegistrationEntry resulted from user error. If the value of this property is True, the error was caused by user error. If the value of this property is False, the error occurred on the backend. If your job continues fail and with a False SenderFault value, contact Amazon Web Services Support.
sourcepub fn set_sender_fault(self, input: Option<bool>) -> Self
pub fn set_sender_fault(self, input: Option<bool>) -> Self
A boolean that indicates whether a FailedKeyRegistrationEntry resulted from user error. If the value of this property is True, the error was caused by user error. If the value of this property is False, the error occurred on the backend. If your job continues fail and with a False SenderFault value, contact Amazon Web Services Support.
sourcepub fn get_sender_fault(&self) -> &Option<bool>
pub fn get_sender_fault(&self) -> &Option<bool>
A boolean that indicates whether a FailedKeyRegistrationEntry resulted from user error. If the value of this property is True, the error was caused by user error. If the value of this property is False, the error occurred on the backend. If your job continues fail and with a False SenderFault value, contact Amazon Web Services Support.
sourcepub fn build(self) -> Result<FailedKeyRegistrationEntry, BuildError>
pub fn build(self) -> Result<FailedKeyRegistrationEntry, BuildError>
Consumes the builder and constructs a FailedKeyRegistrationEntry.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for FailedKeyRegistrationEntryBuilder
impl Clone for FailedKeyRegistrationEntryBuilder
source§fn clone(&self) -> FailedKeyRegistrationEntryBuilder
fn clone(&self) -> FailedKeyRegistrationEntryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for FailedKeyRegistrationEntryBuilder
impl Default for FailedKeyRegistrationEntryBuilder
source§fn default() -> FailedKeyRegistrationEntryBuilder
fn default() -> FailedKeyRegistrationEntryBuilder
source§impl PartialEq for FailedKeyRegistrationEntryBuilder
impl PartialEq for FailedKeyRegistrationEntryBuilder
source§fn eq(&self, other: &FailedKeyRegistrationEntryBuilder) -> bool
fn eq(&self, other: &FailedKeyRegistrationEntryBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FailedKeyRegistrationEntryBuilder
Auto Trait Implementations§
impl Freeze for FailedKeyRegistrationEntryBuilder
impl RefUnwindSafe for FailedKeyRegistrationEntryBuilder
impl Send for FailedKeyRegistrationEntryBuilder
impl Sync for FailedKeyRegistrationEntryBuilder
impl Unpin for FailedKeyRegistrationEntryBuilder
impl UnwindSafe for FailedKeyRegistrationEntryBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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