Struct aws_sdk_emr::model::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 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>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
sourceimpl 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 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>
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.
sourceimpl InstanceGroupDetail
impl InstanceGroupDetail
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceGroupDetail
Trait Implementations
sourceimpl Clone for InstanceGroupDetail
impl Clone for InstanceGroupDetail
sourcefn clone(&self) -> InstanceGroupDetail
fn clone(&self) -> InstanceGroupDetail
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 InstanceGroupDetail
impl Debug for InstanceGroupDetail
sourceimpl PartialEq<InstanceGroupDetail> for InstanceGroupDetail
impl PartialEq<InstanceGroupDetail> for InstanceGroupDetail
sourcefn eq(&self, other: &InstanceGroupDetail) -> bool
fn eq(&self, other: &InstanceGroupDetail) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &InstanceGroupDetail) -> bool
fn ne(&self, other: &InstanceGroupDetail) -> bool
This method tests for !=.
impl StructuralPartialEq for InstanceGroupDetail
Auto Trait Implementations
impl RefUnwindSafe for InstanceGroupDetail
impl Send for InstanceGroupDetail
impl Sync for InstanceGroupDetail
impl Unpin for InstanceGroupDetail
impl UnwindSafe for InstanceGroupDetail
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