#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateWorkloadInput
Implementations
sourceimpl Builder
impl Builder
sourcepub fn workload_id(self, input: impl Into<String>) -> Self
pub fn workload_id(self, input: impl Into<String>) -> Self
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
sourcepub fn set_workload_id(self, input: Option<String>) -> Self
pub fn set_workload_id(self, input: Option<String>) -> Self
The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.
sourcepub fn workload_name(self, input: impl Into<String>) -> Self
pub fn workload_name(self, input: impl Into<String>) -> Self
The name of the workload.
The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization are ignored when checking for uniqueness.
sourcepub fn set_workload_name(self, input: Option<String>) -> Self
pub fn set_workload_name(self, input: Option<String>) -> Self
The name of the workload.
The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization are ignored when checking for uniqueness.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for the workload.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for the workload.
sourcepub fn environment(self, input: WorkloadEnvironment) -> Self
pub fn environment(self, input: WorkloadEnvironment) -> Self
The environment for the workload.
sourcepub fn set_environment(self, input: Option<WorkloadEnvironment>) -> Self
pub fn set_environment(self, input: Option<WorkloadEnvironment>) -> Self
The environment for the workload.
sourcepub fn account_ids(self, input: impl Into<String>) -> Self
pub fn account_ids(self, input: impl Into<String>) -> Self
Appends an item to account_ids
.
To override the contents of this collection use set_account_ids
.
The list of Amazon Web Services account IDs associated with the workload.
sourcepub fn set_account_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_account_ids(self, input: Option<Vec<String>>) -> Self
The list of Amazon Web Services account IDs associated with the workload.
sourcepub fn aws_regions(self, input: impl Into<String>) -> Self
pub fn aws_regions(self, input: impl Into<String>) -> Self
Appends an item to aws_regions
.
To override the contents of this collection use set_aws_regions
.
The list of Amazon Web Services Regions associated with the workload, for example, us-east-2
, or ca-central-1
.
sourcepub fn set_aws_regions(self, input: Option<Vec<String>>) -> Self
pub fn set_aws_regions(self, input: Option<Vec<String>>) -> Self
The list of Amazon Web Services Regions associated with the workload, for example, us-east-2
, or ca-central-1
.
sourcepub fn non_aws_regions(self, input: impl Into<String>) -> Self
pub fn non_aws_regions(self, input: impl Into<String>) -> Self
Appends an item to non_aws_regions
.
To override the contents of this collection use set_non_aws_regions
.
The list of non-Amazon Web Services Regions associated with the workload.
sourcepub fn set_non_aws_regions(self, input: Option<Vec<String>>) -> Self
pub fn set_non_aws_regions(self, input: Option<Vec<String>>) -> Self
The list of non-Amazon Web Services Regions associated with the workload.
sourcepub fn pillar_priorities(self, input: impl Into<String>) -> Self
pub fn pillar_priorities(self, input: impl Into<String>) -> Self
Appends an item to pillar_priorities
.
To override the contents of this collection use set_pillar_priorities
.
The priorities of the pillars, which are used to order items in the improvement plan. Each pillar is represented by its PillarReviewSummary$PillarId
.
sourcepub fn set_pillar_priorities(self, input: Option<Vec<String>>) -> Self
pub fn set_pillar_priorities(self, input: Option<Vec<String>>) -> Self
The priorities of the pillars, which are used to order items in the improvement plan. Each pillar is represented by its PillarReviewSummary$PillarId
.
sourcepub fn architectural_design(self, input: impl Into<String>) -> Self
pub fn architectural_design(self, input: impl Into<String>) -> Self
The URL of the architectural design for the workload.
sourcepub fn set_architectural_design(self, input: Option<String>) -> Self
pub fn set_architectural_design(self, input: Option<String>) -> Self
The URL of the architectural design for the workload.
sourcepub fn review_owner(self, input: impl Into<String>) -> Self
pub fn review_owner(self, input: impl Into<String>) -> Self
The review owner of the workload. The name, email address, or identifier for the primary group or individual that owns the workload review process.
sourcepub fn set_review_owner(self, input: Option<String>) -> Self
pub fn set_review_owner(self, input: Option<String>) -> Self
The review owner of the workload. The name, email address, or identifier for the primary group or individual that owns the workload review process.
sourcepub fn is_review_owner_update_acknowledged(self, input: bool) -> Self
pub fn is_review_owner_update_acknowledged(self, input: bool) -> Self
Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
sourcepub fn set_is_review_owner_update_acknowledged(
self,
input: Option<bool>
) -> Self
pub fn set_is_review_owner_update_acknowledged(
self,
input: Option<bool>
) -> Self
Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
sourcepub fn industry_type(self, input: impl Into<String>) -> Self
pub fn industry_type(self, input: impl Into<String>) -> Self
The industry type for the workload.
If specified, must be one of the following:
-
Agriculture
-
Automobile
-
Defense
-
Design and Engineering
-
Digital Advertising
-
Education
-
Environmental Protection
-
Financial Services
-
Gaming
-
General Public Services
-
Healthcare
-
Hospitality
-
InfoTech
-
Justice and Public Safety
-
Life Sciences
-
Manufacturing
-
Media & Entertainment
-
Mining & Resources
-
Oil & Gas
-
Power & Utilities
-
Professional Services
-
Real Estate & Construction
-
Retail & Wholesale
-
Social Protection
-
Telecommunications
-
Travel, Transportation & Logistics
-
Other
sourcepub fn set_industry_type(self, input: Option<String>) -> Self
pub fn set_industry_type(self, input: Option<String>) -> Self
The industry type for the workload.
If specified, must be one of the following:
-
Agriculture
-
Automobile
-
Defense
-
Design and Engineering
-
Digital Advertising
-
Education
-
Environmental Protection
-
Financial Services
-
Gaming
-
General Public Services
-
Healthcare
-
Hospitality
-
InfoTech
-
Justice and Public Safety
-
Life Sciences
-
Manufacturing
-
Media & Entertainment
-
Mining & Resources
-
Oil & Gas
-
Power & Utilities
-
Professional Services
-
Real Estate & Construction
-
Retail & Wholesale
-
Social Protection
-
Telecommunications
-
Travel, Transportation & Logistics
-
Other
sourcepub fn set_industry(self, input: Option<String>) -> Self
pub fn set_industry(self, input: Option<String>) -> Self
The industry for the workload.
sourcepub fn improvement_status(self, input: WorkloadImprovementStatus) -> Self
pub fn improvement_status(self, input: WorkloadImprovementStatus) -> Self
The improvement status for a workload.
sourcepub fn set_improvement_status(
self,
input: Option<WorkloadImprovementStatus>
) -> Self
pub fn set_improvement_status(
self,
input: Option<WorkloadImprovementStatus>
) -> Self
The improvement status for a workload.
sourcepub fn build(self) -> Result<UpdateWorkloadInput, BuildError>
pub fn build(self) -> Result<UpdateWorkloadInput, BuildError>
Consumes the builder and constructs a UpdateWorkloadInput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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