@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EcsParameters extends Object implements Serializable, Cloneable, StructuredPojo
The custom parameters to be used when the target is an Amazon ECS cluster.
Constructor and Description |
---|
EcsParameters() |
Modifier and Type | Method and Description |
---|---|
EcsParameters |
clone() |
boolean |
equals(Object obj) |
Integer |
getTaskCount()
The number of tasks to create based on the
TaskDefinition . |
String |
getTaskDefinitionArn()
The ARN of the task definition to use if the event target is an Amazon ECS cluster.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTaskCount(Integer taskCount)
The number of tasks to create based on the
TaskDefinition . |
void |
setTaskDefinitionArn(String taskDefinitionArn)
The ARN of the task definition to use if the event target is an Amazon ECS cluster.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
EcsParameters |
withTaskCount(Integer taskCount)
The number of tasks to create based on the
TaskDefinition . |
EcsParameters |
withTaskDefinitionArn(String taskDefinitionArn)
The ARN of the task definition to use if the event target is an Amazon ECS cluster.
|
public void setTaskDefinitionArn(String taskDefinitionArn)
The ARN of the task definition to use if the event target is an Amazon ECS cluster.
taskDefinitionArn
- The ARN of the task definition to use if the event target is an Amazon ECS cluster.public String getTaskDefinitionArn()
The ARN of the task definition to use if the event target is an Amazon ECS cluster.
public EcsParameters withTaskDefinitionArn(String taskDefinitionArn)
The ARN of the task definition to use if the event target is an Amazon ECS cluster.
taskDefinitionArn
- The ARN of the task definition to use if the event target is an Amazon ECS cluster.public void setTaskCount(Integer taskCount)
The number of tasks to create based on the TaskDefinition
. The default is one.
taskCount
- The number of tasks to create based on the TaskDefinition
. The default is one.public Integer getTaskCount()
The number of tasks to create based on the TaskDefinition
. The default is one.
TaskDefinition
. The default is one.public EcsParameters withTaskCount(Integer taskCount)
The number of tasks to create based on the TaskDefinition
. The default is one.
taskCount
- The number of tasks to create based on the TaskDefinition
. The default is one.public String toString()
toString
in class Object
Object.toString()
public EcsParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.