Struct aws_sdk_nimble::operation::create_streaming_image::builders::CreateStreamingImageInputBuilder
source · #[non_exhaustive]pub struct CreateStreamingImageInputBuilder { /* private fields */ }
Expand description
A builder for CreateStreamingImageInput
.
Implementations§
source§impl CreateStreamingImageInputBuilder
impl CreateStreamingImageInputBuilder
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.
This field is required.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.
This field is required.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 studio_id(self, input: impl Into<String>) -> Self
pub fn studio_id(self, input: impl Into<String>) -> Self
The studio ID.
This field is required.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.
sourcepub fn build(self) -> Result<CreateStreamingImageInput, BuildError>
pub fn build(self) -> Result<CreateStreamingImageInput, BuildError>
Consumes the builder and constructs a CreateStreamingImageInput
.
source§impl CreateStreamingImageInputBuilder
impl CreateStreamingImageInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateStreamingImageOutput, SdkError<CreateStreamingImageError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateStreamingImageOutput, SdkError<CreateStreamingImageError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateStreamingImageInputBuilder
impl Clone for CreateStreamingImageInputBuilder
source§fn clone(&self) -> CreateStreamingImageInputBuilder
fn clone(&self) -> CreateStreamingImageInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateStreamingImageInputBuilder
impl Default for CreateStreamingImageInputBuilder
source§fn default() -> CreateStreamingImageInputBuilder
fn default() -> CreateStreamingImageInputBuilder
source§impl PartialEq for CreateStreamingImageInputBuilder
impl PartialEq for CreateStreamingImageInputBuilder
source§fn eq(&self, other: &CreateStreamingImageInputBuilder) -> bool
fn eq(&self, other: &CreateStreamingImageInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.