Struct aws_sdk_emr::types::InstanceGroupDetail
source · #[non_exhaustive]pub struct InstanceGroupDetail {Show 15 fields
pub instance_group_id: Option<String>,
pub name: Option<String>,
pub market: Option<MarketType>,
pub instance_role: Option<InstanceRoleType>,
pub bid_price: Option<String>,
pub instance_type: Option<String>,
pub instance_request_count: Option<i32>,
pub instance_running_count: Option<i32>,
pub state: Option<InstanceGroupState>,
pub last_state_change_reason: Option<String>,
pub creation_date_time: Option<DateTime>,
pub start_date_time: Option<DateTime>,
pub ready_date_time: Option<DateTime>,
pub end_date_time: Option<DateTime>,
pub custom_ami_id: Option<String>,
}
Expand description
Detailed information about an instance group.
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.instance_group_id: Option<String>
Unique identifier for the instance group.
name: Option<String>
Friendly name for the instance group.
market: Option<MarketType>
Market type of the Amazon EC2 instances used to create a cluster node.
instance_role: Option<InstanceRoleType>
Instance group role in the cluster
bid_price: Option<String>
If specified, indicates that the instance group uses Spot Instances. This is the maximum price you are willing to pay for Spot Instances. Specify OnDemandPrice
to set the amount equal to the On-Demand price, or specify an amount in USD.
instance_type: Option<String>
Amazon EC2 instance type.
instance_request_count: Option<i32>
Target number of instances to run in the instance group.
instance_running_count: Option<i32>
Actual count of running instances.
state: Option<InstanceGroupState>
State of instance group. The following values are no longer supported: STARTING, TERMINATED, and FAILED.
last_state_change_reason: Option<String>
Details regarding the state of the instance group.
creation_date_time: Option<DateTime>
The date/time the instance group was created.
start_date_time: Option<DateTime>
The date/time the instance group was started.
ready_date_time: Option<DateTime>
The date/time the instance group was available to the cluster.
end_date_time: Option<DateTime>
The date/time the instance group was terminated.
custom_ami_id: Option<String>
The custom AMI ID to use for the provisioned instance group.
Implementations§
source§impl InstanceGroupDetail
impl InstanceGroupDetail
sourcepub fn instance_group_id(&self) -> Option<&str>
pub fn instance_group_id(&self) -> Option<&str>
Unique identifier for the instance group.
sourcepub fn market(&self) -> Option<&MarketType>
pub fn market(&self) -> Option<&MarketType>
Market type of the Amazon EC2 instances used to create a cluster node.
sourcepub fn instance_role(&self) -> Option<&InstanceRoleType>
pub fn instance_role(&self) -> Option<&InstanceRoleType>
Instance group role in the cluster
sourcepub fn bid_price(&self) -> Option<&str>
pub fn bid_price(&self) -> Option<&str>
If specified, indicates that the instance group uses Spot Instances. This is the maximum price you are willing to pay for Spot Instances. Specify OnDemandPrice
to set the amount equal to the On-Demand price, or specify an amount in USD.
sourcepub fn instance_type(&self) -> Option<&str>
pub fn instance_type(&self) -> Option<&str>
Amazon EC2 instance type.
sourcepub fn instance_request_count(&self) -> Option<i32>
pub fn instance_request_count(&self) -> Option<i32>
Target number of instances to run in the instance group.
sourcepub fn instance_running_count(&self) -> Option<i32>
pub fn instance_running_count(&self) -> Option<i32>
Actual count of running instances.
sourcepub fn state(&self) -> Option<&InstanceGroupState>
pub fn state(&self) -> Option<&InstanceGroupState>
State of instance group. The following values are no longer supported: STARTING, TERMINATED, and FAILED.
sourcepub fn last_state_change_reason(&self) -> Option<&str>
pub fn last_state_change_reason(&self) -> Option<&str>
Details regarding the state of the instance group.
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
The date/time the instance group was created.
sourcepub fn start_date_time(&self) -> Option<&DateTime>
pub fn start_date_time(&self) -> Option<&DateTime>
The date/time the instance group was started.
sourcepub fn ready_date_time(&self) -> Option<&DateTime>
pub fn ready_date_time(&self) -> Option<&DateTime>
The date/time the instance group was available to the cluster.
sourcepub fn end_date_time(&self) -> Option<&DateTime>
pub fn end_date_time(&self) -> Option<&DateTime>
The date/time the instance group was terminated.
sourcepub fn custom_ami_id(&self) -> Option<&str>
pub fn custom_ami_id(&self) -> Option<&str>
The custom AMI ID to use for the provisioned instance group.
source§impl InstanceGroupDetail
impl InstanceGroupDetail
sourcepub fn builder() -> InstanceGroupDetailBuilder
pub fn builder() -> InstanceGroupDetailBuilder
Creates a new builder-style object to manufacture InstanceGroupDetail
.
Trait Implementations§
source§impl Clone for InstanceGroupDetail
impl Clone for InstanceGroupDetail
source§fn clone(&self) -> InstanceGroupDetail
fn clone(&self) -> InstanceGroupDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceGroupDetail
impl Debug for InstanceGroupDetail
source§impl PartialEq for InstanceGroupDetail
impl PartialEq for InstanceGroupDetail
source§fn eq(&self, other: &InstanceGroupDetail) -> bool
fn eq(&self, other: &InstanceGroupDetail) -> bool
self
and other
values to be equal, and is used
by ==
.