@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Fleet extends Object implements Serializable, Cloneable, StructuredPojo
Information about a fleet.
Constructor and Description |
---|
Fleet() |
Modifier and Type | Method and Description |
---|---|
Fleet |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the fleet.
|
Date |
getCreatedAt()
The time, in milliseconds since the epoch, when the fleet was created.
|
String |
getLastDeploymentJob()
The Amazon Resource Name (ARN) of the last deployment job.
|
String |
getLastDeploymentStatus()
The status of the last fleet deployment.
|
Date |
getLastDeploymentTime()
The time of the last deployment.
|
String |
getName()
The name of the fleet.
|
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 fleet.
|
void |
setCreatedAt(Date createdAt)
The time, in milliseconds since the epoch, when the fleet was created.
|
void |
setLastDeploymentJob(String lastDeploymentJob)
The Amazon Resource Name (ARN) of the last deployment job.
|
void |
setLastDeploymentStatus(String lastDeploymentStatus)
The status of the last fleet deployment.
|
void |
setLastDeploymentTime(Date lastDeploymentTime)
The time of the last deployment.
|
void |
setName(String name)
The name of the fleet.
|
String |
toString()
Returns a string representation of this object.
|
Fleet |
withArn(String arn)
The Amazon Resource Name (ARN) of the fleet.
|
Fleet |
withCreatedAt(Date createdAt)
The time, in milliseconds since the epoch, when the fleet was created.
|
Fleet |
withLastDeploymentJob(String lastDeploymentJob)
The Amazon Resource Name (ARN) of the last deployment job.
|
Fleet |
withLastDeploymentStatus(DeploymentStatus lastDeploymentStatus)
The status of the last fleet deployment.
|
Fleet |
withLastDeploymentStatus(String lastDeploymentStatus)
The status of the last fleet deployment.
|
Fleet |
withLastDeploymentTime(Date lastDeploymentTime)
The time of the last deployment.
|
Fleet |
withName(String name)
The name of the fleet.
|
public void setName(String name)
The name of the fleet.
name
- The name of the fleet.public String getName()
The name of the fleet.
public Fleet withName(String name)
The name of the fleet.
name
- The name of the fleet.public void setArn(String arn)
The Amazon Resource Name (ARN) of the fleet.
arn
- The Amazon Resource Name (ARN) of the fleet.public String getArn()
The Amazon Resource Name (ARN) of the fleet.
public Fleet withArn(String arn)
The Amazon Resource Name (ARN) of the fleet.
arn
- The Amazon Resource Name (ARN) of the fleet.public void setCreatedAt(Date createdAt)
The time, in milliseconds since the epoch, when the fleet was created.
createdAt
- The time, in milliseconds since the epoch, when the fleet was created.public Date getCreatedAt()
The time, in milliseconds since the epoch, when the fleet was created.
public Fleet withCreatedAt(Date createdAt)
The time, in milliseconds since the epoch, when the fleet was created.
createdAt
- The time, in milliseconds since the epoch, when the fleet was created.public void setLastDeploymentStatus(String lastDeploymentStatus)
The status of the last fleet deployment.
lastDeploymentStatus
- The status of the last fleet deployment.DeploymentStatus
public String getLastDeploymentStatus()
The status of the last fleet deployment.
DeploymentStatus
public Fleet withLastDeploymentStatus(String lastDeploymentStatus)
The status of the last fleet deployment.
lastDeploymentStatus
- The status of the last fleet deployment.DeploymentStatus
public Fleet withLastDeploymentStatus(DeploymentStatus lastDeploymentStatus)
The status of the last fleet deployment.
lastDeploymentStatus
- The status of the last fleet deployment.DeploymentStatus
public void setLastDeploymentJob(String lastDeploymentJob)
The Amazon Resource Name (ARN) of the last deployment job.
lastDeploymentJob
- The Amazon Resource Name (ARN) of the last deployment job.public String getLastDeploymentJob()
The Amazon Resource Name (ARN) of the last deployment job.
public Fleet withLastDeploymentJob(String lastDeploymentJob)
The Amazon Resource Name (ARN) of the last deployment job.
lastDeploymentJob
- The Amazon Resource Name (ARN) of the last deployment job.public void setLastDeploymentTime(Date lastDeploymentTime)
The time of the last deployment.
lastDeploymentTime
- The time of the last deployment.public Date getLastDeploymentTime()
The time of the last deployment.
public Fleet withLastDeploymentTime(Date lastDeploymentTime)
The time of the last deployment.
lastDeploymentTime
- The time of the last deployment.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.