Struct aws_sdk_gamelift::operation::get_compute_access::builders::GetComputeAccessInputBuilder
source · #[non_exhaustive]pub struct GetComputeAccessInputBuilder { /* private fields */ }
Expand description
A builder for GetComputeAccessInput
.
Implementations§
source§impl GetComputeAccessInputBuilder
impl GetComputeAccessInputBuilder
sourcepub fn fleet_id(self, input: impl Into<String>) -> Self
pub fn fleet_id(self, input: impl Into<String>) -> Self
A unique identifier for the fleet that contains the compute resource you want to connect to. You can use either the fleet ID or ARN value.
This field is required.sourcepub fn set_fleet_id(self, input: Option<String>) -> Self
pub fn set_fleet_id(self, input: Option<String>) -> Self
A unique identifier for the fleet that contains the compute resource you want to connect to. You can use either the fleet ID or ARN value.
sourcepub fn get_fleet_id(&self) -> &Option<String>
pub fn get_fleet_id(&self) -> &Option<String>
A unique identifier for the fleet that contains the compute resource you want to connect to. You can use either the fleet ID or ARN value.
sourcepub fn compute_name(self, input: impl Into<String>) -> Self
pub fn compute_name(self, input: impl Into<String>) -> Self
A unique identifier for the compute resource that you want to connect to. You can use either a registered compute name or an instance ID.
This field is required.sourcepub fn set_compute_name(self, input: Option<String>) -> Self
pub fn set_compute_name(self, input: Option<String>) -> Self
A unique identifier for the compute resource that you want to connect to. You can use either a registered compute name or an instance ID.
sourcepub fn get_compute_name(&self) -> &Option<String>
pub fn get_compute_name(&self) -> &Option<String>
A unique identifier for the compute resource that you want to connect to. You can use either a registered compute name or an instance ID.
sourcepub fn build(self) -> Result<GetComputeAccessInput, BuildError>
pub fn build(self) -> Result<GetComputeAccessInput, BuildError>
Consumes the builder and constructs a GetComputeAccessInput
.
source§impl GetComputeAccessInputBuilder
impl GetComputeAccessInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetComputeAccessOutput, SdkError<GetComputeAccessError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetComputeAccessOutput, SdkError<GetComputeAccessError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetComputeAccessInputBuilder
impl Clone for GetComputeAccessInputBuilder
source§fn clone(&self) -> GetComputeAccessInputBuilder
fn clone(&self) -> GetComputeAccessInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetComputeAccessInputBuilder
impl Debug for GetComputeAccessInputBuilder
source§impl Default for GetComputeAccessInputBuilder
impl Default for GetComputeAccessInputBuilder
source§fn default() -> GetComputeAccessInputBuilder
fn default() -> GetComputeAccessInputBuilder
source§impl PartialEq for GetComputeAccessInputBuilder
impl PartialEq for GetComputeAccessInputBuilder
source§fn eq(&self, other: &GetComputeAccessInputBuilder) -> bool
fn eq(&self, other: &GetComputeAccessInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.