* The name of the fleet. *
*/ private String name; /** ** The Amazon Resource Name (ARN) of the fleet. *
*/ private String arn; /** ** A list of robots. *
*/ private java.util.List* The time, in milliseconds since the epoch, when the fleet was created. *
*/ private java.util.Date createdAt; /** ** The status of the last deployment. *
*/ private String lastDeploymentStatus; /** ** The Amazon Resource Name (ARN) of the last deployment job. *
*/ private String lastDeploymentJob; /** ** The time of the last deployment. *
*/ private java.util.Date lastDeploymentTime; /** ** The list of all tags added to the specified fleet. *
*/ private java.util.Map* The name of the fleet. *
* * @param name * The name of the fleet. */ public void setName(String name) { this.name = name; } /** ** The name of the fleet. *
* * @return The name of the fleet. */ public String getName() { return this.name; } /** ** The name of the fleet. *
* * @param name * The name of the fleet. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeFleetResult withName(String name) { setName(name); return this; } /** ** The Amazon Resource Name (ARN) of the fleet. *
* * @param arn * The Amazon Resource Name (ARN) of the fleet. */ public void setArn(String arn) { this.arn = arn; } /** ** The Amazon Resource Name (ARN) of the fleet. *
* * @return The Amazon Resource Name (ARN) of the fleet. */ public String getArn() { return this.arn; } /** ** The Amazon Resource Name (ARN) of the fleet. *
* * @param arn * The Amazon Resource Name (ARN) of the fleet. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeFleetResult withArn(String arn) { setArn(arn); return this; } /** ** A list of robots. *
* * @return A list of robots. */ public java.util.List* A list of robots. *
* * @param robots * A list of robots. */ public void setRobots(java.util.Collection* A list of robots. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setRobots(java.util.Collection)} or {@link #withRobots(java.util.Collection)} if you want to override the * existing values. *
* * @param robots * A list of robots. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeFleetResult withRobots(Robot... robots) { if (this.robots == null) { setRobots(new java.util.ArrayList* A list of robots. *
* * @param robots * A list of robots. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeFleetResult withRobots(java.util.Collection* The time, in milliseconds since the epoch, when the fleet was created. *
* * @param createdAt * The time, in milliseconds since the epoch, when the fleet was created. */ public void setCreatedAt(java.util.Date createdAt) { this.createdAt = createdAt; } /** ** The time, in milliseconds since the epoch, when the fleet was created. *
* * @return The time, in milliseconds since the epoch, when the fleet was created. */ public java.util.Date getCreatedAt() { return this.createdAt; } /** ** The time, in milliseconds since the epoch, when the fleet was created. *
* * @param createdAt * The time, in milliseconds since the epoch, when the fleet was created. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeFleetResult withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; } /** ** The status of the last deployment. *
* * @param lastDeploymentStatus * The status of the last deployment. * @see DeploymentStatus */ public void setLastDeploymentStatus(String lastDeploymentStatus) { this.lastDeploymentStatus = lastDeploymentStatus; } /** ** The status of the last deployment. *
* * @return The status of the last deployment. * @see DeploymentStatus */ public String getLastDeploymentStatus() { return this.lastDeploymentStatus; } /** ** The status of the last deployment. *
* * @param lastDeploymentStatus * The status of the last deployment. * @return Returns a reference to this object so that method calls can be chained together. * @see DeploymentStatus */ public DescribeFleetResult withLastDeploymentStatus(String lastDeploymentStatus) { setLastDeploymentStatus(lastDeploymentStatus); return this; } /** ** The status of the last deployment. *
* * @param lastDeploymentStatus * The status of the last deployment. * @return Returns a reference to this object so that method calls can be chained together. * @see DeploymentStatus */ public DescribeFleetResult withLastDeploymentStatus(DeploymentStatus lastDeploymentStatus) { this.lastDeploymentStatus = lastDeploymentStatus.toString(); return this; } /** ** The Amazon Resource Name (ARN) of the last deployment job. *
* * @param lastDeploymentJob * The Amazon Resource Name (ARN) of the last deployment job. */ public void setLastDeploymentJob(String lastDeploymentJob) { this.lastDeploymentJob = lastDeploymentJob; } /** ** The Amazon Resource Name (ARN) of the last deployment job. *
* * @return The Amazon Resource Name (ARN) of the last deployment job. */ public String getLastDeploymentJob() { return this.lastDeploymentJob; } /** ** The Amazon Resource Name (ARN) of the last deployment job. *
* * @param lastDeploymentJob * The Amazon Resource Name (ARN) of the last deployment job. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeFleetResult withLastDeploymentJob(String lastDeploymentJob) { setLastDeploymentJob(lastDeploymentJob); return this; } /** ** The time of the last deployment. *
* * @param lastDeploymentTime * The time of the last deployment. */ public void setLastDeploymentTime(java.util.Date lastDeploymentTime) { this.lastDeploymentTime = lastDeploymentTime; } /** ** The time of the last deployment. *
* * @return The time of the last deployment. */ public java.util.Date getLastDeploymentTime() { return this.lastDeploymentTime; } /** ** The time of the last deployment. *
* * @param lastDeploymentTime * The time of the last deployment. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeFleetResult withLastDeploymentTime(java.util.Date lastDeploymentTime) { setLastDeploymentTime(lastDeploymentTime); return this; } /** ** The list of all tags added to the specified fleet. *
* * @return The list of all tags added to the specified fleet. */ public java.util.Map* The list of all tags added to the specified fleet. *
* * @param tags * The list of all tags added to the specified fleet. */ public void setTags(java.util.Map* The list of all tags added to the specified fleet. *
* * @param tags * The list of all tags added to the specified fleet. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeFleetResult withTags(java.util.Map