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 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 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
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 Default for CreateSchedulingPolicyOutputBuilder
impl Default for CreateSchedulingPolicyOutputBuilder
source§fn default() -> CreateSchedulingPolicyOutputBuilder
fn default() -> CreateSchedulingPolicyOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateSchedulingPolicyOutputBuilder> for CreateSchedulingPolicyOutputBuilder
impl PartialEq<CreateSchedulingPolicyOutputBuilder> for CreateSchedulingPolicyOutputBuilder
source§fn eq(&self, other: &CreateSchedulingPolicyOutputBuilder) -> bool
fn eq(&self, other: &CreateSchedulingPolicyOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.