Struct aws_sdk_batch::operation::create_scheduling_policy::builders::CreateSchedulingPolicyOutputBuilder
source · #[non_exhaustive]pub struct CreateSchedulingPolicyOutputBuilder { /* private fields */ }
Expand description
A builder for CreateSchedulingPolicyOutput
.
Implementations§
source§impl CreateSchedulingPolicyOutputBuilder
impl CreateSchedulingPolicyOutputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the scheduling policy.
This field is required.sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the scheduling policy. The format is aws:Partition:batch:Region:Account:scheduling-policy/Name
. For example, aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy
.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the scheduling policy. The format is aws:Partition:batch:Region:Account:scheduling-policy/Name
. For example, aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy
.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the scheduling policy. The format is aws:Partition:batch:Region:Account:scheduling-policy/Name
. For example, aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy
.
sourcepub fn build(self) -> CreateSchedulingPolicyOutput
pub fn build(self) -> CreateSchedulingPolicyOutput
Consumes the builder and constructs a CreateSchedulingPolicyOutput
.
Trait Implementations§
source§impl Clone for CreateSchedulingPolicyOutputBuilder
impl Clone for CreateSchedulingPolicyOutputBuilder
source§fn clone(&self) -> CreateSchedulingPolicyOutputBuilder
fn clone(&self) -> CreateSchedulingPolicyOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateSchedulingPolicyOutputBuilder
impl Default for CreateSchedulingPolicyOutputBuilder
source§fn default() -> CreateSchedulingPolicyOutputBuilder
fn default() -> CreateSchedulingPolicyOutputBuilder
source§impl PartialEq for CreateSchedulingPolicyOutputBuilder
impl PartialEq for CreateSchedulingPolicyOutputBuilder
source§fn eq(&self, other: &CreateSchedulingPolicyOutputBuilder) -> bool
fn eq(&self, other: &CreateSchedulingPolicyOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateSchedulingPolicyOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateSchedulingPolicyOutputBuilder
impl RefUnwindSafe for CreateSchedulingPolicyOutputBuilder
impl Send for CreateSchedulingPolicyOutputBuilder
impl Sync for CreateSchedulingPolicyOutputBuilder
impl Unpin for CreateSchedulingPolicyOutputBuilder
impl UnwindSafe for CreateSchedulingPolicyOutputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more