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 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<CreateSchedulingPolicyOutputBuilder> for CreateSchedulingPolicyOutputBuilder
impl PartialEq<CreateSchedulingPolicyOutputBuilder> 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 ==
.