@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeploymentJob extends Object implements Serializable, Cloneable, StructuredPojo
Information about a deployment job.
Constructor and Description |
---|
DeploymentJob() |
Modifier and Type | Method and Description |
---|---|
DeploymentJob |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the deployment job.
|
Date |
getCreatedAt()
The time, in milliseconds since the epoch, when the deployment job was created.
|
List<DeploymentApplicationConfig> |
getDeploymentApplicationConfigs()
The deployment application configuration.
|
DeploymentConfig |
getDeploymentConfig()
The deployment configuration.
|
String |
getFailureCode()
The deployment job failure code.
|
String |
getFailureReason()
A short description of the reason why the deployment job failed.
|
String |
getFleet()
The Amazon Resource Name (ARN) of the fleet.
|
String |
getStatus()
The status of the deployment job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the deployment job.
|
void |
setCreatedAt(Date createdAt)
The time, in milliseconds since the epoch, when the deployment job was created.
|
void |
setDeploymentApplicationConfigs(Collection<DeploymentApplicationConfig> deploymentApplicationConfigs)
The deployment application configuration.
|
void |
setDeploymentConfig(DeploymentConfig deploymentConfig)
The deployment configuration.
|
void |
setFailureCode(String failureCode)
The deployment job failure code.
|
void |
setFailureReason(String failureReason)
A short description of the reason why the deployment job failed.
|
void |
setFleet(String fleet)
The Amazon Resource Name (ARN) of the fleet.
|
void |
setStatus(String status)
The status of the deployment job.
|
String |
toString()
Returns a string representation of this object.
|
DeploymentJob |
withArn(String arn)
The Amazon Resource Name (ARN) of the deployment job.
|
DeploymentJob |
withCreatedAt(Date createdAt)
The time, in milliseconds since the epoch, when the deployment job was created.
|
DeploymentJob |
withDeploymentApplicationConfigs(Collection<DeploymentApplicationConfig> deploymentApplicationConfigs)
The deployment application configuration.
|
DeploymentJob |
withDeploymentApplicationConfigs(DeploymentApplicationConfig... deploymentApplicationConfigs)
The deployment application configuration.
|
DeploymentJob |
withDeploymentConfig(DeploymentConfig deploymentConfig)
The deployment configuration.
|
DeploymentJob |
withFailureCode(DeploymentJobErrorCode failureCode)
The deployment job failure code.
|
DeploymentJob |
withFailureCode(String failureCode)
The deployment job failure code.
|
DeploymentJob |
withFailureReason(String failureReason)
A short description of the reason why the deployment job failed.
|
DeploymentJob |
withFleet(String fleet)
The Amazon Resource Name (ARN) of the fleet.
|
DeploymentJob |
withStatus(DeploymentStatus status)
The status of the deployment job.
|
DeploymentJob |
withStatus(String status)
The status of the deployment job.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the deployment job.
arn
- The Amazon Resource Name (ARN) of the deployment job.public String getArn()
The Amazon Resource Name (ARN) of the deployment job.
public DeploymentJob withArn(String arn)
The Amazon Resource Name (ARN) of the deployment job.
arn
- The Amazon Resource Name (ARN) of the deployment job.public void setFleet(String fleet)
The Amazon Resource Name (ARN) of the fleet.
fleet
- The Amazon Resource Name (ARN) of the fleet.public String getFleet()
The Amazon Resource Name (ARN) of the fleet.
public DeploymentJob withFleet(String fleet)
The Amazon Resource Name (ARN) of the fleet.
fleet
- The Amazon Resource Name (ARN) of the fleet.public void setStatus(String status)
The status of the deployment job.
status
- The status of the deployment job.DeploymentStatus
public String getStatus()
The status of the deployment job.
DeploymentStatus
public DeploymentJob withStatus(String status)
The status of the deployment job.
status
- The status of the deployment job.DeploymentStatus
public DeploymentJob withStatus(DeploymentStatus status)
The status of the deployment job.
status
- The status of the deployment job.DeploymentStatus
public List<DeploymentApplicationConfig> getDeploymentApplicationConfigs()
The deployment application configuration.
public void setDeploymentApplicationConfigs(Collection<DeploymentApplicationConfig> deploymentApplicationConfigs)
The deployment application configuration.
deploymentApplicationConfigs
- The deployment application configuration.public DeploymentJob withDeploymentApplicationConfigs(DeploymentApplicationConfig... deploymentApplicationConfigs)
The deployment application configuration.
NOTE: This method appends the values to the existing list (if any). Use
setDeploymentApplicationConfigs(java.util.Collection)
or
withDeploymentApplicationConfigs(java.util.Collection)
if you want to override the existing values.
deploymentApplicationConfigs
- The deployment application configuration.public DeploymentJob withDeploymentApplicationConfigs(Collection<DeploymentApplicationConfig> deploymentApplicationConfigs)
The deployment application configuration.
deploymentApplicationConfigs
- The deployment application configuration.public void setDeploymentConfig(DeploymentConfig deploymentConfig)
The deployment configuration.
deploymentConfig
- The deployment configuration.public DeploymentConfig getDeploymentConfig()
The deployment configuration.
public DeploymentJob withDeploymentConfig(DeploymentConfig deploymentConfig)
The deployment configuration.
deploymentConfig
- The deployment configuration.public void setFailureReason(String failureReason)
A short description of the reason why the deployment job failed.
failureReason
- A short description of the reason why the deployment job failed.public String getFailureReason()
A short description of the reason why the deployment job failed.
public DeploymentJob withFailureReason(String failureReason)
A short description of the reason why the deployment job failed.
failureReason
- A short description of the reason why the deployment job failed.public void setFailureCode(String failureCode)
The deployment job failure code.
failureCode
- The deployment job failure code.DeploymentJobErrorCode
public String getFailureCode()
The deployment job failure code.
DeploymentJobErrorCode
public DeploymentJob withFailureCode(String failureCode)
The deployment job failure code.
failureCode
- The deployment job failure code.DeploymentJobErrorCode
public DeploymentJob withFailureCode(DeploymentJobErrorCode failureCode)
The deployment job failure code.
failureCode
- The deployment job failure code.DeploymentJobErrorCode
public void setCreatedAt(Date createdAt)
The time, in milliseconds since the epoch, when the deployment job was created.
createdAt
- The time, in milliseconds since the epoch, when the deployment job was created.public Date getCreatedAt()
The time, in milliseconds since the epoch, when the deployment job was created.
public DeploymentJob withCreatedAt(Date createdAt)
The time, in milliseconds since the epoch, when the deployment job was created.
createdAt
- The time, in milliseconds since the epoch, when the deployment job was created.public String toString()
toString
in class Object
Object.toString()
public DeploymentJob clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.