Struct aws_sdk_nimble::operation::create_streaming_image::builders::CreateStreamingImageFluentBuilder
source · pub struct CreateStreamingImageFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateStreamingImage
.
Creates a streaming image resource in a studio.
Implementations§
source§impl CreateStreamingImageFluentBuilder
impl CreateStreamingImageFluentBuilder
sourcepub fn as_input(&self) -> &CreateStreamingImageInputBuilder
pub fn as_input(&self) -> &CreateStreamingImageInputBuilder
Access the CreateStreamingImage as a reference.
sourcepub async fn send(
self
) -> Result<CreateStreamingImageOutput, SdkError<CreateStreamingImageError, HttpResponse>>
pub async fn send( self ) -> Result<CreateStreamingImageOutput, SdkError<CreateStreamingImageError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateStreamingImageOutput, CreateStreamingImageError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateStreamingImageOutput, CreateStreamingImageError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A human-readable description of the streaming image.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A human-readable description of the streaming image.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A human-readable description of the streaming image.
sourcepub fn ec2_image_id(self, input: impl Into<String>) -> Self
pub fn ec2_image_id(self, input: impl Into<String>) -> Self
The ID of an EC2 machine image with which to create this streaming image.
sourcepub fn set_ec2_image_id(self, input: Option<String>) -> Self
pub fn set_ec2_image_id(self, input: Option<String>) -> Self
The ID of an EC2 machine image with which to create this streaming image.
sourcepub fn get_ec2_image_id(&self) -> &Option<String>
pub fn get_ec2_image_id(&self) -> &Option<String>
The ID of an EC2 machine image with which to create this streaming image.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A friendly name for a streaming image resource.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A friendly name for a streaming image resource.
sourcepub fn set_studio_id(self, input: Option<String>) -> Self
pub fn set_studio_id(self, input: Option<String>) -> Self
The studio ID.
sourcepub fn get_studio_id(&self) -> &Option<String>
pub fn get_studio_id(&self) -> &Option<String>
The studio ID.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A collection of labels, in the form of key-value pairs, that apply to this resource.
A collection of labels, in the form of key-value pairs, that apply to this resource.
A collection of labels, in the form of key-value pairs, that apply to this resource.
Trait Implementations§
source§impl Clone for CreateStreamingImageFluentBuilder
impl Clone for CreateStreamingImageFluentBuilder
source§fn clone(&self) -> CreateStreamingImageFluentBuilder
fn clone(&self) -> CreateStreamingImageFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more