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 holds the compute resource that 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 holds the compute resource that 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 holds the compute resource that 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. For an EC2 fleet compute, use the instance ID. For a container fleet, use the compute name (for example, a123b456c789012d3e4567f8a901b23c/1a234b56-7cd8-9e0f-a1b2-c34d567ef8a9) or the compute ARN.
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. For an EC2 fleet compute, use the instance ID. For a container fleet, use the compute name (for example, a123b456c789012d3e4567f8a901b23c/1a234b56-7cd8-9e0f-a1b2-c34d567ef8a9) or the compute ARN.
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. For an EC2 fleet compute, use the instance ID. For a container fleet, use the compute name (for example, a123b456c789012d3e4567f8a901b23c/1a234b56-7cd8-9e0f-a1b2-c34d567ef8a9) or the compute ARN.
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 ==.impl StructuralPartialEq for GetComputeAccessInputBuilder
Auto Trait Implementations§
impl Freeze for GetComputeAccessInputBuilder
impl RefUnwindSafe for GetComputeAccessInputBuilder
impl Send for GetComputeAccessInputBuilder
impl Sync for GetComputeAccessInputBuilder
impl Unpin for GetComputeAccessInputBuilder
impl UnwindSafe for GetComputeAccessInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more