@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateServiceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateServiceResult() |
Modifier and Type | Method and Description |
---|---|
CreateServiceResult |
clone() |
boolean |
equals(Object obj) |
Service |
getService()
The full description of your service following the create call.
|
int |
hashCode() |
void |
setService(Service service)
The full description of your service following the create call.
|
String |
toString()
Returns a string representation of this object.
|
CreateServiceResult |
withService(Service service)
The full description of your service following the create call.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setService(Service service)
The full description of your service following the create call.
If a service is using the ECS
deployment controller, the deploymentController
and
taskSets
parameters will not be returned.
If the service is using the CODE_DEPLOY
deployment controller, the deploymentController
, taskSets
and deployments
parameters will be returned, however the
deployments
parameter will be an empty list.
service
- The full description of your service following the create call.
If a service is using the ECS
deployment controller, the deploymentController
and taskSets
parameters will not be returned.
If the service is using the CODE_DEPLOY
deployment controller, the
deploymentController
, taskSets
and deployments
parameters will be
returned, however the deployments
parameter will be an empty list.
public Service getService()
The full description of your service following the create call.
If a service is using the ECS
deployment controller, the deploymentController
and
taskSets
parameters will not be returned.
If the service is using the CODE_DEPLOY
deployment controller, the deploymentController
, taskSets
and deployments
parameters will be returned, however the
deployments
parameter will be an empty list.
If a service is using the ECS
deployment controller, the deploymentController
and taskSets
parameters will not be returned.
If the service is using the CODE_DEPLOY
deployment controller, the
deploymentController
, taskSets
and deployments
parameters will be
returned, however the deployments
parameter will be an empty list.
public CreateServiceResult withService(Service service)
The full description of your service following the create call.
If a service is using the ECS
deployment controller, the deploymentController
and
taskSets
parameters will not be returned.
If the service is using the CODE_DEPLOY
deployment controller, the deploymentController
, taskSets
and deployments
parameters will be returned, however the
deployments
parameter will be an empty list.
service
- The full description of your service following the create call.
If a service is using the ECS
deployment controller, the deploymentController
and taskSets
parameters will not be returned.
If the service is using the CODE_DEPLOY
deployment controller, the
deploymentController
, taskSets
and deployments
parameters will be
returned, however the deployments
parameter will be an empty list.
public String toString()
toString
in class Object
Object.toString()
public CreateServiceResult clone()