* The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
* partition
:resiliencehub:region
:account
:app/app-id
. For more
* information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
*
* The version of the application. *
*/ private String appVersion; /** ** The returned error message for the request. *
*/ private String errorMessage; /** ** The identifier for a specific resolution. *
*/ private String resolutionId; /** ** The status of the action. *
*/ private String status; /** *
* The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
* partition
:resiliencehub:region
:account
:app/app-id
. For more
* information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
*
partition
:resiliencehub:region
:account
:app/app-id
. For
* more information about ARNs, see Amazon Resource Names
* (ARNs) in the AWS General Reference guide.
*/
public void setAppArn(String appArn) {
this.appArn = appArn;
}
/**
*
* The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
* partition
:resiliencehub:region
:account
:app/app-id
. For more
* information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
*
partition
:resiliencehub:region
:account
:app/app-id
.
* For more information about ARNs, see Amazon Resource Names
* (ARNs) in the AWS General Reference guide.
*/
public String getAppArn() {
return this.appArn;
}
/**
*
* The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
* partition
:resiliencehub:region
:account
:app/app-id
. For more
* information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
*
partition
:resiliencehub:region
:account
:app/app-id
. For
* more information about ARNs, see Amazon Resource Names
* (ARNs) in the AWS General Reference guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeAppVersionResourcesResolutionStatusResult withAppArn(String appArn) {
setAppArn(appArn);
return this;
}
/**
* * The version of the application. *
* * @param appVersion * The version of the application. */ public void setAppVersion(String appVersion) { this.appVersion = appVersion; } /** ** The version of the application. *
* * @return The version of the application. */ public String getAppVersion() { return this.appVersion; } /** ** The version of the application. *
* * @param appVersion * The version of the application. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAppVersionResourcesResolutionStatusResult withAppVersion(String appVersion) { setAppVersion(appVersion); return this; } /** ** The returned error message for the request. *
* * @param errorMessage * The returned error message for the request. */ public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } /** ** The returned error message for the request. *
* * @return The returned error message for the request. */ public String getErrorMessage() { return this.errorMessage; } /** ** The returned error message for the request. *
* * @param errorMessage * The returned error message for the request. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAppVersionResourcesResolutionStatusResult withErrorMessage(String errorMessage) { setErrorMessage(errorMessage); return this; } /** ** The identifier for a specific resolution. *
* * @param resolutionId * The identifier for a specific resolution. */ public void setResolutionId(String resolutionId) { this.resolutionId = resolutionId; } /** ** The identifier for a specific resolution. *
* * @return The identifier for a specific resolution. */ public String getResolutionId() { return this.resolutionId; } /** ** The identifier for a specific resolution. *
* * @param resolutionId * The identifier for a specific resolution. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAppVersionResourcesResolutionStatusResult withResolutionId(String resolutionId) { setResolutionId(resolutionId); return this; } /** ** The status of the action. *
* * @param status * The status of the action. * @see ResourceResolutionStatusType */ public void setStatus(String status) { this.status = status; } /** ** The status of the action. *
* * @return The status of the action. * @see ResourceResolutionStatusType */ public String getStatus() { return this.status; } /** ** The status of the action. *
* * @param status * The status of the action. * @return Returns a reference to this object so that method calls can be chained together. * @see ResourceResolutionStatusType */ public DescribeAppVersionResourcesResolutionStatusResult withStatus(String status) { setStatus(status); return this; } /** ** The status of the action. *
* * @param status * The status of the action. * @return Returns a reference to this object so that method calls can be chained together. * @see ResourceResolutionStatusType */ public DescribeAppVersionResourcesResolutionStatusResult withStatus(ResourceResolutionStatusType status) { this.status = status.toString(); 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 (getAppArn() != null) sb.append("AppArn: ").append(getAppArn()).append(","); if (getAppVersion() != null) sb.append("AppVersion: ").append(getAppVersion()).append(","); if (getErrorMessage() != null) sb.append("ErrorMessage: ").append(getErrorMessage()).append(","); if (getResolutionId() != null) sb.append("ResolutionId: ").append(getResolutionId()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeAppVersionResourcesResolutionStatusResult == false) return false; DescribeAppVersionResourcesResolutionStatusResult other = (DescribeAppVersionResourcesResolutionStatusResult) obj; if (other.getAppArn() == null ^ this.getAppArn() == null) return false; if (other.getAppArn() != null && other.getAppArn().equals(this.getAppArn()) == false) return false; if (other.getAppVersion() == null ^ this.getAppVersion() == null) return false; if (other.getAppVersion() != null && other.getAppVersion().equals(this.getAppVersion()) == false) return false; if (other.getErrorMessage() == null ^ this.getErrorMessage() == null) return false; if (other.getErrorMessage() != null && other.getErrorMessage().equals(this.getErrorMessage()) == false) return false; if (other.getResolutionId() == null ^ this.getResolutionId() == null) return false; if (other.getResolutionId() != null && other.getResolutionId().equals(this.getResolutionId()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAppArn() == null) ? 0 : getAppArn().hashCode()); hashCode = prime * hashCode + ((getAppVersion() == null) ? 0 : getAppVersion().hashCode()); hashCode = prime * hashCode + ((getErrorMessage() == null) ? 0 : getErrorMessage().hashCode()); hashCode = prime * hashCode + ((getResolutionId() == null) ? 0 : getResolutionId().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); return hashCode; } @Override public DescribeAppVersionResourcesResolutionStatusResult clone() { try { return (DescribeAppVersionResourcesResolutionStatusResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }