Struct aws_sdk_storagegateway::model::GatewayInfo
source · [−]#[non_exhaustive]pub struct GatewayInfo {
pub gateway_id: Option<String>,
pub gateway_arn: Option<String>,
pub gateway_type: Option<String>,
pub gateway_operational_state: Option<String>,
pub gateway_name: Option<String>,
pub ec2_instance_id: Option<String>,
pub ec2_instance_region: Option<String>,
pub host_environment: Option<HostEnvironment>,
pub host_environment_id: Option<String>,
}
Expand description
Describes a gateway object.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.gateway_id: Option<String>
The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
gateway_arn: Option<String>
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
gateway_type: Option<String>
The type of the gateway.
gateway_operational_state: Option<String>
The state of the gateway.
Valid Values: DISABLED
| ACTIVE
gateway_name: Option<String>
The name of the gateway.
ec2_instance_id: Option<String>
The ID of the Amazon EC2 instance that was used to launch the gateway.
ec2_instance_region: Option<String>
The Amazon Web Services Region where the Amazon EC2 instance is located.
host_environment: Option<HostEnvironment>
The type of hardware or software platform on which the gateway is running.
host_environment_id: Option<String>
A unique identifier for the specific instance of the host platform running the gateway. This value is only available for certain host environments, and its format depends on the host environment type.
Implementations
sourceimpl GatewayInfo
impl GatewayInfo
sourcepub fn gateway_id(&self) -> Option<&str>
pub fn gateway_id(&self) -> Option<&str>
The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
sourcepub fn gateway_arn(&self) -> Option<&str>
pub fn gateway_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
sourcepub fn gateway_type(&self) -> Option<&str>
pub fn gateway_type(&self) -> Option<&str>
The type of the gateway.
sourcepub fn gateway_operational_state(&self) -> Option<&str>
pub fn gateway_operational_state(&self) -> Option<&str>
The state of the gateway.
Valid Values: DISABLED
| ACTIVE
sourcepub fn gateway_name(&self) -> Option<&str>
pub fn gateway_name(&self) -> Option<&str>
The name of the gateway.
sourcepub fn ec2_instance_id(&self) -> Option<&str>
pub fn ec2_instance_id(&self) -> Option<&str>
The ID of the Amazon EC2 instance that was used to launch the gateway.
sourcepub fn ec2_instance_region(&self) -> Option<&str>
pub fn ec2_instance_region(&self) -> Option<&str>
The Amazon Web Services Region where the Amazon EC2 instance is located.
sourcepub fn host_environment(&self) -> Option<&HostEnvironment>
pub fn host_environment(&self) -> Option<&HostEnvironment>
The type of hardware or software platform on which the gateway is running.
sourcepub fn host_environment_id(&self) -> Option<&str>
pub fn host_environment_id(&self) -> Option<&str>
A unique identifier for the specific instance of the host platform running the gateway. This value is only available for certain host environments, and its format depends on the host environment type.
sourceimpl GatewayInfo
impl GatewayInfo
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GatewayInfo
Trait Implementations
sourceimpl Clone for GatewayInfo
impl Clone for GatewayInfo
sourcefn clone(&self) -> GatewayInfo
fn clone(&self) -> GatewayInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GatewayInfo
impl Debug for GatewayInfo
sourceimpl PartialEq<GatewayInfo> for GatewayInfo
impl PartialEq<GatewayInfo> for GatewayInfo
sourcefn eq(&self, other: &GatewayInfo) -> bool
fn eq(&self, other: &GatewayInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GatewayInfo) -> bool
fn ne(&self, other: &GatewayInfo) -> bool
This method tests for !=
.
impl StructuralPartialEq for GatewayInfo
Auto Trait Implementations
impl RefUnwindSafe for GatewayInfo
impl Send for GatewayInfo
impl Sync for GatewayInfo
impl Unpin for GatewayInfo
impl UnwindSafe for GatewayInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more