Struct aws_sdk_deadline::operation::get_fleet::GetFleetOutput
source · #[non_exhaustive]pub struct GetFleetOutput {Show 17 fields
pub fleet_id: String,
pub farm_id: String,
pub display_name: String,
pub description: Option<String>,
pub status: FleetStatus,
pub auto_scaling_status: Option<AutoScalingStatus>,
pub target_worker_count: Option<i32>,
pub worker_count: i32,
pub min_worker_count: i32,
pub max_worker_count: i32,
pub configuration: Option<FleetConfiguration>,
pub capabilities: Option<FleetCapabilities>,
pub role_arn: String,
pub created_at: DateTime,
pub created_by: String,
pub updated_at: Option<DateTime>,
pub updated_by: Option<String>,
/* private fields */
}
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.fleet_id: String
The fleet ID.
farm_id: String
The farm ID of the farm in the fleet.
display_name: String
The display name of the fleet.
description: Option<String>
The description of the fleet.
status: FleetStatus
The Auto Scaling status of the fleet.
auto_scaling_status: Option<AutoScalingStatus>
The Auto Scaling status of the fleet. Either GROWING
, STEADY
, or SHRINKING
.
target_worker_count: Option<i32>
The number of target workers in the fleet.
worker_count: i32
The number of workers in the fleet.
min_worker_count: i32
The minimum number of workers specified in the fleet.
max_worker_count: i32
The maximum number of workers specified in the fleet.
configuration: Option<FleetConfiguration>
The configuration setting for the fleet.
capabilities: Option<FleetCapabilities>
Outlines what the fleet is capable of for minimums, maximums, and naming, in addition to attribute names and values.
role_arn: String
The IAM role ARN.
created_at: DateTime
The date and time the resource was created.
created_by: String
The user or system that created this resource.
updated_at: Option<DateTime>
The date and time the resource was updated.
updated_by: Option<String>
The user or system that updated this resource.
Implementations§
source§impl GetFleetOutput
impl GetFleetOutput
sourcepub fn display_name(&self) -> &str
pub fn display_name(&self) -> &str
The display name of the fleet.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the fleet.
sourcepub fn status(&self) -> &FleetStatus
pub fn status(&self) -> &FleetStatus
The Auto Scaling status of the fleet.
sourcepub fn auto_scaling_status(&self) -> Option<&AutoScalingStatus>
pub fn auto_scaling_status(&self) -> Option<&AutoScalingStatus>
The Auto Scaling status of the fleet. Either GROWING
, STEADY
, or SHRINKING
.
sourcepub fn target_worker_count(&self) -> Option<i32>
pub fn target_worker_count(&self) -> Option<i32>
The number of target workers in the fleet.
sourcepub fn worker_count(&self) -> i32
pub fn worker_count(&self) -> i32
The number of workers in the fleet.
sourcepub fn min_worker_count(&self) -> i32
pub fn min_worker_count(&self) -> i32
The minimum number of workers specified in the fleet.
sourcepub fn max_worker_count(&self) -> i32
pub fn max_worker_count(&self) -> i32
The maximum number of workers specified in the fleet.
sourcepub fn configuration(&self) -> Option<&FleetConfiguration>
pub fn configuration(&self) -> Option<&FleetConfiguration>
The configuration setting for the fleet.
sourcepub fn capabilities(&self) -> Option<&FleetCapabilities>
pub fn capabilities(&self) -> Option<&FleetCapabilities>
Outlines what the fleet is capable of for minimums, maximums, and naming, in addition to attribute names and values.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The date and time the resource was created.
sourcepub fn created_by(&self) -> &str
pub fn created_by(&self) -> &str
The user or system that created this resource.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The date and time the resource was updated.
sourcepub fn updated_by(&self) -> Option<&str>
pub fn updated_by(&self) -> Option<&str>
The user or system that updated this resource.
source§impl GetFleetOutput
impl GetFleetOutput
sourcepub fn builder() -> GetFleetOutputBuilder
pub fn builder() -> GetFleetOutputBuilder
Creates a new builder-style object to manufacture GetFleetOutput
.
Trait Implementations§
source§impl Clone for GetFleetOutput
impl Clone for GetFleetOutput
source§fn clone(&self) -> GetFleetOutput
fn clone(&self) -> GetFleetOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetFleetOutput
impl Debug for GetFleetOutput
source§impl PartialEq for GetFleetOutput
impl PartialEq for GetFleetOutput
source§fn eq(&self, other: &GetFleetOutput) -> bool
fn eq(&self, other: &GetFleetOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetFleetOutput
impl RequestId for GetFleetOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.