@Stability(value=Stable)
public static interface CfnSchedulingPolicy.FairsharePolicyProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
FairsharePolicyProperty fairsharePolicyProperty = FairsharePolicyProperty.builder()
.computeReservation(123)
.shareDecaySeconds(123)
.shareDistribution(List.of(ShareAttributesProperty.builder()
.shareIdentifier("shareIdentifier")
.weightFactor(123)
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSchedulingPolicy.FairsharePolicyProperty.Builder
A builder for
CfnSchedulingPolicy.FairsharePolicyProperty |
static class |
CfnSchedulingPolicy.FairsharePolicyProperty.Jsii$Proxy
An implementation for
CfnSchedulingPolicy.FairsharePolicyProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnSchedulingPolicy.FairsharePolicyProperty.Builder |
builder() |
default Number |
getComputeReservation()
`CfnSchedulingPolicy.FairsharePolicyProperty.ComputeReservation`.
|
default Number |
getShareDecaySeconds()
`CfnSchedulingPolicy.FairsharePolicyProperty.ShareDecaySeconds`.
|
default Object |
getShareDistribution()
`CfnSchedulingPolicy.FairsharePolicyProperty.ShareDistribution`.
|
@Stability(value=Stable) @Nullable default Number getComputeReservation()
@Stability(value=Stable) @Nullable default Number getShareDecaySeconds()
@Stability(value=Stable) @Nullable default Object getShareDistribution()
@Stability(value=Stable) static CfnSchedulingPolicy.FairsharePolicyProperty.Builder builder()
Copyright © 2022. All rights reserved.