#[non_exhaustive]pub struct ServiceQuotaExceededExceptionBuilder { /* private fields */ }
Expand description
A builder for ServiceQuotaExceededException
.
Implementations§
source§impl ServiceQuotaExceededExceptionBuilder
impl ServiceQuotaExceededExceptionBuilder
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
A description of the error.
This field is required.sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
A description of the error.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
A description of the error.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The ID of the resource that is associated with the error.
This field is required.sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The ID of the resource that is associated with the error.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The ID of the resource that is associated with the error.
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
The type of the resource that is associated with the error.
This field is required.sourcepub fn set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
The type of the resource that is associated with the error.
sourcepub fn get_resource_type(&self) -> &Option<String>
pub fn get_resource_type(&self) -> &Option<String>
The type of the resource that is associated with the error.
sourcepub fn service_code(self, input: impl Into<String>) -> Self
pub fn service_code(self, input: impl Into<String>) -> Self
The value of a parameter in the request caused an error.
This field is required.sourcepub fn set_service_code(self, input: Option<String>) -> Self
pub fn set_service_code(self, input: Option<String>) -> Self
The value of a parameter in the request caused an error.
sourcepub fn get_service_code(&self) -> &Option<String>
pub fn get_service_code(&self) -> &Option<String>
The value of a parameter in the request caused an error.
sourcepub fn quota_code(self, input: impl Into<String>) -> Self
pub fn quota_code(self, input: impl Into<String>) -> Self
The ID of the service quota that was exceeded.
This field is required.sourcepub fn set_quota_code(self, input: Option<String>) -> Self
pub fn set_quota_code(self, input: Option<String>) -> Self
The ID of the service quota that was exceeded.
sourcepub fn get_quota_code(&self) -> &Option<String>
pub fn get_quota_code(&self) -> &Option<String>
The ID of the service quota that was exceeded.
sourcepub fn meta(self, meta: ErrorMetadata) -> Self
pub fn meta(self, meta: ErrorMetadata) -> Self
Sets error metadata
sourcepub fn set_meta(&mut self, meta: Option<ErrorMetadata>) -> &mut Self
pub fn set_meta(&mut self, meta: Option<ErrorMetadata>) -> &mut Self
Sets error metadata
sourcepub fn build(self) -> Result<ServiceQuotaExceededException, BuildError>
pub fn build(self) -> Result<ServiceQuotaExceededException, BuildError>
Consumes the builder and constructs a ServiceQuotaExceededException
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ServiceQuotaExceededExceptionBuilder
impl Clone for ServiceQuotaExceededExceptionBuilder
source§fn clone(&self) -> ServiceQuotaExceededExceptionBuilder
fn clone(&self) -> ServiceQuotaExceededExceptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ServiceQuotaExceededExceptionBuilder
impl Default for ServiceQuotaExceededExceptionBuilder
source§fn default() -> ServiceQuotaExceededExceptionBuilder
fn default() -> ServiceQuotaExceededExceptionBuilder
source§impl PartialEq for ServiceQuotaExceededExceptionBuilder
impl PartialEq for ServiceQuotaExceededExceptionBuilder
source§fn eq(&self, other: &ServiceQuotaExceededExceptionBuilder) -> bool
fn eq(&self, other: &ServiceQuotaExceededExceptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ServiceQuotaExceededExceptionBuilder
Auto Trait Implementations§
impl Freeze for ServiceQuotaExceededExceptionBuilder
impl RefUnwindSafe for ServiceQuotaExceededExceptionBuilder
impl Send for ServiceQuotaExceededExceptionBuilder
impl Sync for ServiceQuotaExceededExceptionBuilder
impl Unpin for ServiceQuotaExceededExceptionBuilder
impl UnwindSafe for ServiceQuotaExceededExceptionBuilder
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