Struct aws_sdk_gamelift::operation::get_instance_access::builders::GetInstanceAccessInputBuilder
source · #[non_exhaustive]pub struct GetInstanceAccessInputBuilder { /* private fields */ }
Expand description
A builder for GetInstanceAccessInput
.
Implementations§
source§impl GetInstanceAccessInputBuilder
impl GetInstanceAccessInputBuilder
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 instance you want to access. You can request access to instances in EC2 fleets with the following statuses: ACTIVATING
, ACTIVE
, or ERROR
. Use either a fleet ID or an ARN value.
You can access fleets in ERROR
status for a short period of time before Amazon GameLift deletes them.
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 instance you want to access. You can request access to instances in EC2 fleets with the following statuses: ACTIVATING
, ACTIVE
, or ERROR
. Use either a fleet ID or an ARN value.
You can access fleets in ERROR
status for a short period of time before Amazon GameLift deletes them.
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 instance you want to access. You can request access to instances in EC2 fleets with the following statuses: ACTIVATING
, ACTIVE
, or ERROR
. Use either a fleet ID or an ARN value.
You can access fleets in ERROR
status for a short period of time before Amazon GameLift deletes them.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
A unique identifier for the instance you want to access. You can access an instance in any status.
This field is required.sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
A unique identifier for the instance you want to access. You can access an instance in any status.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
A unique identifier for the instance you want to access. You can access an instance in any status.
sourcepub fn build(self) -> Result<GetInstanceAccessInput, BuildError>
pub fn build(self) -> Result<GetInstanceAccessInput, BuildError>
Consumes the builder and constructs a GetInstanceAccessInput
.
source§impl GetInstanceAccessInputBuilder
impl GetInstanceAccessInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetInstanceAccessOutput, SdkError<GetInstanceAccessError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetInstanceAccessOutput, SdkError<GetInstanceAccessError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetInstanceAccessInputBuilder
impl Clone for GetInstanceAccessInputBuilder
source§fn clone(&self) -> GetInstanceAccessInputBuilder
fn clone(&self) -> GetInstanceAccessInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetInstanceAccessInputBuilder
impl Default for GetInstanceAccessInputBuilder
source§fn default() -> GetInstanceAccessInputBuilder
fn default() -> GetInstanceAccessInputBuilder
source§impl PartialEq for GetInstanceAccessInputBuilder
impl PartialEq for GetInstanceAccessInputBuilder
source§fn eq(&self, other: &GetInstanceAccessInputBuilder) -> bool
fn eq(&self, other: &GetInstanceAccessInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetInstanceAccessInputBuilder
Auto Trait Implementations§
impl Freeze for GetInstanceAccessInputBuilder
impl RefUnwindSafe for GetInstanceAccessInputBuilder
impl Send for GetInstanceAccessInputBuilder
impl Sync for GetInstanceAccessInputBuilder
impl Unpin for GetInstanceAccessInputBuilder
impl UnwindSafe for GetInstanceAccessInputBuilder
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