Struct aws_sdk_networkmanager::model::NetworkResource
source · #[non_exhaustive]pub struct NetworkResource { /* private fields */ }
Expand description
Describes a network resource.
Implementations§
source§impl NetworkResource
impl NetworkResource
sourcepub fn registered_gateway_arn(&self) -> Option<&str>
pub fn registered_gateway_arn(&self) -> Option<&str>
The ARN of the gateway.
sourcepub fn core_network_id(&self) -> Option<&str>
pub fn core_network_id(&self) -> Option<&str>
The ID of a core network.
sourcepub fn aws_region(&self) -> Option<&str>
pub fn aws_region(&self) -> Option<&str>
The Amazon Web Services Region.
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The Amazon Web Services account ID.
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
The resource type.
The following are the supported resource types for Direct Connect:
-
dxcon
-
dx-gateway
-
dx-vif
The following are the supported resource types for Network Manager:
-
connection
-
device
-
link
-
site
The following are the supported resource types for Amazon VPC:
-
customer-gateway
-
transit-gateway
-
transit-gateway-attachment
-
transit-gateway-connect-peer
-
transit-gateway-route-table
-
vpn-connection
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The ID of the resource.
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The ARN of the resource.
sourcepub fn definition(&self) -> Option<&str>
pub fn definition(&self) -> Option<&str>
Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.
sourcepub fn definition_timestamp(&self) -> Option<&DateTime>
pub fn definition_timestamp(&self) -> Option<&DateTime>
The time that the resource definition was retrieved.
The tags.
source§impl NetworkResource
impl NetworkResource
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NetworkResource
.
Trait Implementations§
source§impl Clone for NetworkResource
impl Clone for NetworkResource
source§fn clone(&self) -> NetworkResource
fn clone(&self) -> NetworkResource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NetworkResource
impl Debug for NetworkResource
source§impl PartialEq<NetworkResource> for NetworkResource
impl PartialEq<NetworkResource> for NetworkResource
source§fn eq(&self, other: &NetworkResource) -> bool
fn eq(&self, other: &NetworkResource) -> bool
self
and other
values to be equal, and is used
by ==
.