@Stability(value=Stable) public static final class FargateTaskDefinitionAttributes.Builder extends Object implements software.amazon.jsii.Builder<FargateTaskDefinitionAttributes>
FargateTaskDefinitionAttributes| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
FargateTaskDefinitionAttributes |
build()
Builds the configured instance.
|
FargateTaskDefinitionAttributes.Builder |
networkMode(NetworkMode networkMode)
Sets the value of
CommonTaskDefinitionAttributes.getNetworkMode() |
FargateTaskDefinitionAttributes.Builder |
taskDefinitionArn(String taskDefinitionArn)
Sets the value of
CommonTaskDefinitionAttributes.getTaskDefinitionArn() |
FargateTaskDefinitionAttributes.Builder |
taskRole(IRole taskRole)
Sets the value of
CommonTaskDefinitionAttributes.getTaskRole() |
@Stability(value=Stable) public FargateTaskDefinitionAttributes.Builder taskDefinitionArn(String taskDefinitionArn)
CommonTaskDefinitionAttributes.getTaskDefinitionArn()taskDefinitionArn - The arn of the task definition. This parameter is required.this@Stability(value=Stable) public FargateTaskDefinitionAttributes.Builder networkMode(NetworkMode networkMode)
CommonTaskDefinitionAttributes.getNetworkMode()networkMode - The networking mode to use for the containers in the task.this@Stability(value=Stable) public FargateTaskDefinitionAttributes.Builder taskRole(IRole taskRole)
CommonTaskDefinitionAttributes.getTaskRole()taskRole - The name of the IAM role that grants containers in the task permission to call AWS APIs on your behalf.this@Stability(value=Stable) public FargateTaskDefinitionAttributes build()
build in interface software.amazon.jsii.Builder<FargateTaskDefinitionAttributes>FargateTaskDefinitionAttributesNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.