Struct aws_sdk_support::input::create_case_input::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for CreateCaseInput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn subject(self, input: impl Into<String>) -> Self
pub fn subject(self, input: impl Into<String>) -> Self
The title of the support case. The title appears in the Subject field on the Amazon Web Services Support Center Create Case page.
sourcepub fn set_subject(self, input: Option<String>) -> Self
pub fn set_subject(self, input: Option<String>) -> Self
The title of the support case. The title appears in the Subject field on the Amazon Web Services Support Center Create Case page.
sourcepub fn service_code(self, input: impl Into<String>) -> Self
pub fn service_code(self, input: impl Into<String>) -> Self
The code for the Amazon Web Services service. You can use the DescribeServices
operation to get the possible serviceCode
values.
sourcepub fn set_service_code(self, input: Option<String>) -> Self
pub fn set_service_code(self, input: Option<String>) -> Self
The code for the Amazon Web Services service. You can use the DescribeServices
operation to get the possible serviceCode
values.
sourcepub fn severity_code(self, input: impl Into<String>) -> Self
pub fn severity_code(self, input: impl Into<String>) -> Self
A value that indicates the urgency of the case. This value determines the response time according to your service level agreement with Amazon Web Services Support. You can use the DescribeSeverityLevels
operation to get the possible values for severityCode
.
For more information, see SeverityLevel
and Choosing a Severity in the Amazon Web Services Support User Guide.
The availability of severity levels depends on the support plan for the Amazon Web Services account.
sourcepub fn set_severity_code(self, input: Option<String>) -> Self
pub fn set_severity_code(self, input: Option<String>) -> Self
A value that indicates the urgency of the case. This value determines the response time according to your service level agreement with Amazon Web Services Support. You can use the DescribeSeverityLevels
operation to get the possible values for severityCode
.
For more information, see SeverityLevel
and Choosing a Severity in the Amazon Web Services Support User Guide.
The availability of severity levels depends on the support plan for the Amazon Web Services account.
sourcepub fn category_code(self, input: impl Into<String>) -> Self
pub fn category_code(self, input: impl Into<String>) -> Self
The category of problem for the support case. You also use the DescribeServices
operation to get the category code for a service. Each Amazon Web Services service defines its own set of category codes.
sourcepub fn set_category_code(self, input: Option<String>) -> Self
pub fn set_category_code(self, input: Option<String>) -> Self
The category of problem for the support case. You also use the DescribeServices
operation to get the category code for a service. Each Amazon Web Services service defines its own set of category codes.
sourcepub fn communication_body(self, input: impl Into<String>) -> Self
pub fn communication_body(self, input: impl Into<String>) -> Self
The communication body text that describes the issue. This text appears in the Description field on the Amazon Web Services Support Center Create Case page.
sourcepub fn set_communication_body(self, input: Option<String>) -> Self
pub fn set_communication_body(self, input: Option<String>) -> Self
The communication body text that describes the issue. This text appears in the Description field on the Amazon Web Services Support Center Create Case page.
sourcepub fn cc_email_addresses(self, input: impl Into<String>) -> Self
pub fn cc_email_addresses(self, input: impl Into<String>) -> Self
Appends an item to cc_email_addresses
.
To override the contents of this collection use set_cc_email_addresses
.
A list of email addresses that Amazon Web Services Support copies on case correspondence. Amazon Web Services Support identifies the account that creates the case when you specify your Amazon Web Services credentials in an HTTP POST method or use the Amazon Web Services SDKs.
sourcepub fn set_cc_email_addresses(self, input: Option<Vec<String>>) -> Self
pub fn set_cc_email_addresses(self, input: Option<Vec<String>>) -> Self
A list of email addresses that Amazon Web Services Support copies on case correspondence. Amazon Web Services Support identifies the account that creates the case when you specify your Amazon Web Services credentials in an HTTP POST method or use the Amazon Web Services SDKs.
sourcepub fn language(self, input: impl Into<String>) -> Self
pub fn language(self, input: impl Into<String>) -> Self
The language in which Amazon Web Services Support handles the case. You must specify the ISO 639-1 code for the language
parameter if you want support in that language. Currently, English ("en") and Japanese ("ja") are supported.
sourcepub fn set_language(self, input: Option<String>) -> Self
pub fn set_language(self, input: Option<String>) -> Self
The language in which Amazon Web Services Support handles the case. You must specify the ISO 639-1 code for the language
parameter if you want support in that language. Currently, English ("en") and Japanese ("ja") are supported.
sourcepub fn issue_type(self, input: impl Into<String>) -> Self
pub fn issue_type(self, input: impl Into<String>) -> Self
The type of issue for the case. You can specify customer-service
or technical
. If you don't specify a value, the default is technical
.
sourcepub fn set_issue_type(self, input: Option<String>) -> Self
pub fn set_issue_type(self, input: Option<String>) -> Self
The type of issue for the case. You can specify customer-service
or technical
. If you don't specify a value, the default is technical
.
sourcepub fn attachment_set_id(self, input: impl Into<String>) -> Self
pub fn attachment_set_id(self, input: impl Into<String>) -> Self
The ID of a set of one or more attachments for the case. Create the set by using the AddAttachmentsToSet
operation.
sourcepub fn set_attachment_set_id(self, input: Option<String>) -> Self
pub fn set_attachment_set_id(self, input: Option<String>) -> Self
The ID of a set of one or more attachments for the case. Create the set by using the AddAttachmentsToSet
operation.
sourcepub fn build(self) -> Result<CreateCaseInput, BuildError>
pub fn build(self) -> Result<CreateCaseInput, BuildError>
Consumes the builder and constructs a CreateCaseInput
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more