Java com.amazonaws.services.ecs.model RegisterTaskDefinitionRequest fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.ecs.model RegisterTaskDefinitionRequest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.ecs.model RegisterTaskDefinitionRequest.

The text is from its open source code.

Constructor

Method

voidsetContainerDefinitions(java.util.Collection containerDefinitions)

A list of container definitions in JSON format that describe the different containers that make up your task.

voidsetFamily(String family)

You must specify a family for a task definition, which allows you to track multiple versions of the same task definition.

voidsetNetworkMode(String networkMode)

The Docker networking mode to use for the containers in the task.

voidsetNetworkMode(NetworkMode networkMode)

The Docker networking mode to use for the containers in the task.

voidsetTaskRoleArn(String taskRoleArn)

The short name or full Amazon Resource Name (ARN) of the IAM role that containers in this task can assume.