@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ECSService extends Object implements Serializable, Cloneable, StructuredPojo
Contains the service and cluster names used to identify an Amazon ECS deployment's target.
Constructor and Description |
---|
ECSService() |
Modifier and Type | Method and Description |
---|---|
ECSService |
clone() |
boolean |
equals(Object obj) |
String |
getClusterName()
The name of the cluster that the Amazon ECS service is associated with.
|
String |
getServiceName()
The name of the target Amazon ECS service.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClusterName(String clusterName)
The name of the cluster that the Amazon ECS service is associated with.
|
void |
setServiceName(String serviceName)
The name of the target Amazon ECS service.
|
String |
toString()
Returns a string representation of this object.
|
ECSService |
withClusterName(String clusterName)
The name of the cluster that the Amazon ECS service is associated with.
|
ECSService |
withServiceName(String serviceName)
The name of the target Amazon ECS service.
|
public void setServiceName(String serviceName)
The name of the target Amazon ECS service.
serviceName
- The name of the target Amazon ECS service.public String getServiceName()
The name of the target Amazon ECS service.
public ECSService withServiceName(String serviceName)
The name of the target Amazon ECS service.
serviceName
- The name of the target Amazon ECS service.public void setClusterName(String clusterName)
The name of the cluster that the Amazon ECS service is associated with.
clusterName
- The name of the cluster that the Amazon ECS service is associated with.public String getClusterName()
The name of the cluster that the Amazon ECS service is associated with.
public ECSService withClusterName(String clusterName)
The name of the cluster that the Amazon ECS service is associated with.
clusterName
- The name of the cluster that the Amazon ECS service is associated with.public String toString()
toString
in class Object
Object.toString()
public ECSService 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.