@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.920Z") @Stability(value=Stable) public interface CfnSchedulingPolicyProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.batch.*;
CfnSchedulingPolicyProps cfnSchedulingPolicyProps = CfnSchedulingPolicyProps.builder()
.fairsharePolicy(FairsharePolicyProperty.builder()
.computeReservation(123)
.shareDecaySeconds(123)
.shareDistribution(List.of(ShareAttributesProperty.builder()
.shareIdentifier("shareIdentifier")
.weightFactor(123)
.build()))
.build())
.name("name")
.tags(Map.of(
"tagsKey", "tags"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSchedulingPolicyProps.Builder
A builder for
CfnSchedulingPolicyProps |
static class |
CfnSchedulingPolicyProps.Jsii$Proxy
An implementation for
CfnSchedulingPolicyProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnSchedulingPolicyProps.Builder |
builder() |
default Object |
getFairsharePolicy()
The fair share policy of the scheduling policy.
|
default String |
getName()
The name of the scheduling policy.
|
default Map<String,String> |
getTags()
The tags that you apply to the scheduling policy to help you categorize and organize your resources.
|
@Stability(value=Stable) @Nullable default Object getFairsharePolicy()
@Stability(value=Stable) @Nullable default String getName()
It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
@Stability(value=Stable) @Nullable default Map<String,String> getTags()
Each tag consists of a key and an optional value. For more information, see Tagging AWS Resources in AWS General Reference .
These tags can be updated or removed using the TagResource and UntagResource API operations.
@Stability(value=Stable) static CfnSchedulingPolicyProps.Builder builder()
CfnSchedulingPolicyProps.Builder of CfnSchedulingPolicyPropsCopyright © 2022. All rights reserved.