* The name of the vehicle model. *
*/ private String name; /** ** The Amazon Resource Name (ARN) of the vehicle model. *
*/ private String arn; /** ** A brief description of the vehicle model. *
*/ private String description; /** ** The ARN of the signal catalog associated with the vehicle model. *
*/ private String signalCatalogArn; /** *
* The state of the vehicle model. If the status is ACTIVE
, the vehicle model can't be edited. You can
* edit the vehicle model if the status is marked DRAFT
.
*
* The time the vehicle model was created, in seconds since epoch (January 1, 1970 at midnight UTC time). *
*/ private java.util.Date creationTime; /** ** The last time the vehicle model was modified. *
*/ private java.util.Date lastModificationTime; /** ** The name of the vehicle model. *
* * @param name * The name of the vehicle model. */ public void setName(String name) { this.name = name; } /** ** The name of the vehicle model. *
* * @return The name of the vehicle model. */ public String getName() { return this.name; } /** ** The name of the vehicle model. *
* * @param name * The name of the vehicle model. * @return Returns a reference to this object so that method calls can be chained together. */ public GetModelManifestResult withName(String name) { setName(name); return this; } /** ** The Amazon Resource Name (ARN) of the vehicle model. *
* * @param arn * The Amazon Resource Name (ARN) of the vehicle model. */ public void setArn(String arn) { this.arn = arn; } /** ** The Amazon Resource Name (ARN) of the vehicle model. *
* * @return The Amazon Resource Name (ARN) of the vehicle model. */ public String getArn() { return this.arn; } /** ** The Amazon Resource Name (ARN) of the vehicle model. *
* * @param arn * The Amazon Resource Name (ARN) of the vehicle model. * @return Returns a reference to this object so that method calls can be chained together. */ public GetModelManifestResult withArn(String arn) { setArn(arn); return this; } /** ** A brief description of the vehicle model. *
* * @param description * A brief description of the vehicle model. */ public void setDescription(String description) { this.description = description; } /** ** A brief description of the vehicle model. *
* * @return A brief description of the vehicle model. */ public String getDescription() { return this.description; } /** ** A brief description of the vehicle model. *
* * @param description * A brief description of the vehicle model. * @return Returns a reference to this object so that method calls can be chained together. */ public GetModelManifestResult withDescription(String description) { setDescription(description); return this; } /** ** The ARN of the signal catalog associated with the vehicle model. *
* * @param signalCatalogArn * The ARN of the signal catalog associated with the vehicle model. */ public void setSignalCatalogArn(String signalCatalogArn) { this.signalCatalogArn = signalCatalogArn; } /** ** The ARN of the signal catalog associated with the vehicle model. *
* * @return The ARN of the signal catalog associated with the vehicle model. */ public String getSignalCatalogArn() { return this.signalCatalogArn; } /** ** The ARN of the signal catalog associated with the vehicle model. *
* * @param signalCatalogArn * The ARN of the signal catalog associated with the vehicle model. * @return Returns a reference to this object so that method calls can be chained together. */ public GetModelManifestResult withSignalCatalogArn(String signalCatalogArn) { setSignalCatalogArn(signalCatalogArn); return this; } /** *
* The state of the vehicle model. If the status is ACTIVE
, the vehicle model can't be edited. You can
* edit the vehicle model if the status is marked DRAFT
.
*
ACTIVE
, the vehicle model can't be edited.
* You can edit the vehicle model if the status is marked DRAFT
.
* @see ManifestStatus
*/
public void setStatus(String status) {
this.status = status;
}
/**
*
* The state of the vehicle model. If the status is ACTIVE
, the vehicle model can't be edited. You can
* edit the vehicle model if the status is marked DRAFT
.
*
ACTIVE
, the vehicle model can't be edited.
* You can edit the vehicle model if the status is marked DRAFT
.
* @see ManifestStatus
*/
public String getStatus() {
return this.status;
}
/**
*
* The state of the vehicle model. If the status is ACTIVE
, the vehicle model can't be edited. You can
* edit the vehicle model if the status is marked DRAFT
.
*
ACTIVE
, the vehicle model can't be edited.
* You can edit the vehicle model if the status is marked DRAFT
.
* @return Returns a reference to this object so that method calls can be chained together.
* @see ManifestStatus
*/
public GetModelManifestResult withStatus(String status) {
setStatus(status);
return this;
}
/**
*
* The state of the vehicle model. If the status is ACTIVE
, the vehicle model can't be edited. You can
* edit the vehicle model if the status is marked DRAFT
.
*
ACTIVE
, the vehicle model can't be edited.
* You can edit the vehicle model if the status is marked DRAFT
.
* @return Returns a reference to this object so that method calls can be chained together.
* @see ManifestStatus
*/
public GetModelManifestResult withStatus(ManifestStatus status) {
this.status = status.toString();
return this;
}
/**
* * The time the vehicle model was created, in seconds since epoch (January 1, 1970 at midnight UTC time). *
* * @param creationTime * The time the vehicle model was created, in seconds since epoch (January 1, 1970 at midnight UTC time). */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** ** The time the vehicle model was created, in seconds since epoch (January 1, 1970 at midnight UTC time). *
* * @return The time the vehicle model was created, in seconds since epoch (January 1, 1970 at midnight UTC time). */ public java.util.Date getCreationTime() { return this.creationTime; } /** ** The time the vehicle model was created, in seconds since epoch (January 1, 1970 at midnight UTC time). *
* * @param creationTime * The time the vehicle model was created, in seconds since epoch (January 1, 1970 at midnight UTC time). * @return Returns a reference to this object so that method calls can be chained together. */ public GetModelManifestResult withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** ** The last time the vehicle model was modified. *
* * @param lastModificationTime * The last time the vehicle model was modified. */ public void setLastModificationTime(java.util.Date lastModificationTime) { this.lastModificationTime = lastModificationTime; } /** ** The last time the vehicle model was modified. *
* * @return The last time the vehicle model was modified. */ public java.util.Date getLastModificationTime() { return this.lastModificationTime; } /** ** The last time the vehicle model was modified. *
* * @param lastModificationTime * The last time the vehicle model was modified. * @return Returns a reference to this object so that method calls can be chained together. */ public GetModelManifestResult withLastModificationTime(java.util.Date lastModificationTime) { setLastModificationTime(lastModificationTime); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getArn() != null) sb.append("Arn: ").append(getArn()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getSignalCatalogArn() != null) sb.append("SignalCatalogArn: ").append(getSignalCatalogArn()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getCreationTime() != null) sb.append("CreationTime: ").append(getCreationTime()).append(","); if (getLastModificationTime() != null) sb.append("LastModificationTime: ").append(getLastModificationTime()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetModelManifestResult == false) return false; GetModelManifestResult other = (GetModelManifestResult) obj; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getArn() == null ^ this.getArn() == null) return false; if (other.getArn() != null && other.getArn().equals(this.getArn()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getSignalCatalogArn() == null ^ this.getSignalCatalogArn() == null) return false; if (other.getSignalCatalogArn() != null && other.getSignalCatalogArn().equals(this.getSignalCatalogArn()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getCreationTime() == null ^ this.getCreationTime() == null) return false; if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false) return false; if (other.getLastModificationTime() == null ^ this.getLastModificationTime() == null) return false; if (other.getLastModificationTime() != null && other.getLastModificationTime().equals(this.getLastModificationTime()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getSignalCatalogArn() == null) ? 0 : getSignalCatalogArn().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); hashCode = prime * hashCode + ((getLastModificationTime() == null) ? 0 : getLastModificationTime().hashCode()); return hashCode; } @Override public GetModelManifestResult clone() { try { return (GetModelManifestResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }