Struct aws_sdk_nimble::operation::create_launch_profile::builders::CreateLaunchProfileInputBuilder
source · #[non_exhaustive]pub struct CreateLaunchProfileInputBuilder { /* private fields */ }
Expand description
A builder for CreateLaunchProfileInput
.
Implementations§
source§impl CreateLaunchProfileInputBuilder
impl CreateLaunchProfileInputBuilder
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
The description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description.
sourcepub fn ec2_subnet_ids(self, input: impl Into<String>) -> Self
pub fn ec2_subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to ec2_subnet_ids
.
To override the contents of this collection use set_ec2_subnet_ids
.
Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must support the specified instance types.
sourcepub fn set_ec2_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_ec2_subnet_ids(self, input: Option<Vec<String>>) -> Self
Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must support the specified instance types.
sourcepub fn get_ec2_subnet_ids(&self) -> &Option<Vec<String>>
pub fn get_ec2_subnet_ids(&self) -> &Option<Vec<String>>
Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must support the specified instance types.
sourcepub fn launch_profile_protocol_versions(self, input: impl Into<String>) -> Self
pub fn launch_profile_protocol_versions(self, input: impl Into<String>) -> Self
Appends an item to launch_profile_protocol_versions
.
To override the contents of this collection use set_launch_profile_protocol_versions
.
The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".
sourcepub fn set_launch_profile_protocol_versions(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_launch_profile_protocol_versions( self, input: Option<Vec<String>> ) -> Self
The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".
sourcepub fn get_launch_profile_protocol_versions(&self) -> &Option<Vec<String>>
pub fn get_launch_profile_protocol_versions(&self) -> &Option<Vec<String>>
The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name for the launch profile.
This field is required.sourcepub fn stream_configuration(self, input: StreamConfigurationCreate) -> Self
pub fn stream_configuration(self, input: StreamConfigurationCreate) -> Self
A configuration for a streaming session.
This field is required.sourcepub fn set_stream_configuration(
self,
input: Option<StreamConfigurationCreate>
) -> Self
pub fn set_stream_configuration( self, input: Option<StreamConfigurationCreate> ) -> Self
A configuration for a streaming session.
sourcepub fn get_stream_configuration(&self) -> &Option<StreamConfigurationCreate>
pub fn get_stream_configuration(&self) -> &Option<StreamConfigurationCreate>
A configuration for a streaming session.
sourcepub fn studio_component_ids(self, input: impl Into<String>) -> Self
pub fn studio_component_ids(self, input: impl Into<String>) -> Self
Appends an item to studio_component_ids
.
To override the contents of this collection use set_studio_component_ids
.
Unique identifiers for a collection of studio components that can be used with this launch profile.
sourcepub fn set_studio_component_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_studio_component_ids(self, input: Option<Vec<String>>) -> Self
Unique identifiers for a collection of studio components that can be used with this launch profile.
sourcepub fn get_studio_component_ids(&self) -> &Option<Vec<String>>
pub fn get_studio_component_ids(&self) -> &Option<Vec<String>>
Unique identifiers for a collection of studio components that can be used with this launch profile.
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<CreateLaunchProfileInput, BuildError>
pub fn build(self) -> Result<CreateLaunchProfileInput, BuildError>
Consumes the builder and constructs a CreateLaunchProfileInput
.
source§impl CreateLaunchProfileInputBuilder
impl CreateLaunchProfileInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateLaunchProfileOutput, SdkError<CreateLaunchProfileError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateLaunchProfileOutput, SdkError<CreateLaunchProfileError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateLaunchProfileInputBuilder
impl Clone for CreateLaunchProfileInputBuilder
source§fn clone(&self) -> CreateLaunchProfileInputBuilder
fn clone(&self) -> CreateLaunchProfileInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateLaunchProfileInputBuilder
impl Default for CreateLaunchProfileInputBuilder
source§fn default() -> CreateLaunchProfileInputBuilder
fn default() -> CreateLaunchProfileInputBuilder
source§impl PartialEq for CreateLaunchProfileInputBuilder
impl PartialEq for CreateLaunchProfileInputBuilder
source§fn eq(&self, other: &CreateLaunchProfileInputBuilder) -> bool
fn eq(&self, other: &CreateLaunchProfileInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.