Struct aws_sdk_ecs::operation::update_service_primary_task_set::UpdateServicePrimaryTaskSetInput
source · #[non_exhaustive]pub struct UpdateServicePrimaryTaskSetInput {
pub cluster: Option<String>,
pub service: Option<String>,
pub primary_task_set: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cluster: Option<String>
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.
service: Option<String>
The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.
primary_task_set: Option<String>
The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.
Implementations§
source§impl UpdateServicePrimaryTaskSetInput
impl UpdateServicePrimaryTaskSetInput
sourcepub fn cluster(&self) -> Option<&str>
pub fn cluster(&self) -> Option<&str>
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.
sourcepub fn service(&self) -> Option<&str>
pub fn service(&self) -> Option<&str>
The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.
sourcepub fn primary_task_set(&self) -> Option<&str>
pub fn primary_task_set(&self) -> Option<&str>
The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.
source§impl UpdateServicePrimaryTaskSetInput
impl UpdateServicePrimaryTaskSetInput
sourcepub fn builder() -> UpdateServicePrimaryTaskSetInputBuilder
pub fn builder() -> UpdateServicePrimaryTaskSetInputBuilder
Creates a new builder-style object to manufacture UpdateServicePrimaryTaskSetInput
.
Trait Implementations§
source§impl Clone for UpdateServicePrimaryTaskSetInput
impl Clone for UpdateServicePrimaryTaskSetInput
source§fn clone(&self) -> UpdateServicePrimaryTaskSetInput
fn clone(&self) -> UpdateServicePrimaryTaskSetInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<UpdateServicePrimaryTaskSetInput> for UpdateServicePrimaryTaskSetInput
impl PartialEq<UpdateServicePrimaryTaskSetInput> for UpdateServicePrimaryTaskSetInput
source§fn eq(&self, other: &UpdateServicePrimaryTaskSetInput) -> bool
fn eq(&self, other: &UpdateServicePrimaryTaskSetInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateServicePrimaryTaskSetInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateServicePrimaryTaskSetInput
impl Send for UpdateServicePrimaryTaskSetInput
impl Sync for UpdateServicePrimaryTaskSetInput
impl Unpin for UpdateServicePrimaryTaskSetInput
impl UnwindSafe for UpdateServicePrimaryTaskSetInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more