Struct aws_sdk_securityhub::model::aws_ec2_instance_details::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for AwsEc2InstanceDetails
Implementations
The Amazon Machine Image (AMI) ID of the instance.
The Amazon Machine Image (AMI) ID of the instance.
Appends an item to ip_v4_addresses
.
To override the contents of this collection use set_ip_v4_addresses
.
The IPv4 addresses associated with the instance.
The IPv4 addresses associated with the instance.
Appends an item to ip_v6_addresses
.
To override the contents of this collection use set_ip_v6_addresses
.
The IPv6 addresses associated with the instance.
The IPv6 addresses associated with the instance.
The key name associated with the instance.
The key name associated with the instance.
The IAM profile ARN of the instance.
The IAM profile ARN of the instance.
The identifier of the VPC that the instance was launched in.
The identifier of the VPC that the instance was launched in.
The identifier of the subnet that the instance was launched in.
The identifier of the subnet that the instance was launched in.
Indicates when the instance was launched.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet
Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
Indicates when the instance was launched.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet
Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
pub fn network_interfaces(
self,
input: impl Into<AwsEc2InstanceNetworkInterfacesDetails>
) -> Self
pub fn network_interfaces(
self,
input: impl Into<AwsEc2InstanceNetworkInterfacesDetails>
) -> Self
Appends an item to network_interfaces
.
To override the contents of this collection use set_network_interfaces
.
The identifiers of the network interfaces for the EC2 instance. The details for each network interface are in a corresponding AwsEc2NetworkInterfacesDetails
object.
pub fn set_network_interfaces(
self,
input: Option<Vec<AwsEc2InstanceNetworkInterfacesDetails>>
) -> Self
pub fn set_network_interfaces(
self,
input: Option<Vec<AwsEc2InstanceNetworkInterfacesDetails>>
) -> Self
The identifiers of the network interfaces for the EC2 instance. The details for each network interface are in a corresponding AwsEc2NetworkInterfacesDetails
object.
Consumes the builder and constructs a AwsEc2InstanceDetails
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more