* The Amazon Resource Name (ARN) of the AppImageConfig. *
*/ private String appImageConfigArn; /** ** The name of the AppImageConfig. *
*/ private String appImageConfigName; /** ** When the AppImageConfig was created. *
*/ private java.util.Date creationTime; /** ** When the AppImageConfig was last modified. *
*/ private java.util.Date lastModifiedTime; /** ** The configuration of a KernelGateway app. *
*/ private KernelGatewayImageConfig kernelGatewayImageConfig; /** ** The Amazon Resource Name (ARN) of the AppImageConfig. *
* * @param appImageConfigArn * The Amazon Resource Name (ARN) of the AppImageConfig. */ public void setAppImageConfigArn(String appImageConfigArn) { this.appImageConfigArn = appImageConfigArn; } /** ** The Amazon Resource Name (ARN) of the AppImageConfig. *
* * @return The Amazon Resource Name (ARN) of the AppImageConfig. */ public String getAppImageConfigArn() { return this.appImageConfigArn; } /** ** The Amazon Resource Name (ARN) of the AppImageConfig. *
* * @param appImageConfigArn * The Amazon Resource Name (ARN) of the AppImageConfig. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAppImageConfigResult withAppImageConfigArn(String appImageConfigArn) { setAppImageConfigArn(appImageConfigArn); return this; } /** ** The name of the AppImageConfig. *
* * @param appImageConfigName * The name of the AppImageConfig. */ public void setAppImageConfigName(String appImageConfigName) { this.appImageConfigName = appImageConfigName; } /** ** The name of the AppImageConfig. *
* * @return The name of the AppImageConfig. */ public String getAppImageConfigName() { return this.appImageConfigName; } /** ** The name of the AppImageConfig. *
* * @param appImageConfigName * The name of the AppImageConfig. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAppImageConfigResult withAppImageConfigName(String appImageConfigName) { setAppImageConfigName(appImageConfigName); return this; } /** ** When the AppImageConfig was created. *
* * @param creationTime * When the AppImageConfig was created. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** ** When the AppImageConfig was created. *
* * @return When the AppImageConfig was created. */ public java.util.Date getCreationTime() { return this.creationTime; } /** ** When the AppImageConfig was created. *
* * @param creationTime * When the AppImageConfig was created. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAppImageConfigResult withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** ** When the AppImageConfig was last modified. *
* * @param lastModifiedTime * When the AppImageConfig was last modified. */ public void setLastModifiedTime(java.util.Date lastModifiedTime) { this.lastModifiedTime = lastModifiedTime; } /** ** When the AppImageConfig was last modified. *
* * @return When the AppImageConfig was last modified. */ public java.util.Date getLastModifiedTime() { return this.lastModifiedTime; } /** ** When the AppImageConfig was last modified. *
* * @param lastModifiedTime * When the AppImageConfig was last modified. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAppImageConfigResult withLastModifiedTime(java.util.Date lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; } /** ** The configuration of a KernelGateway app. *
* * @param kernelGatewayImageConfig * The configuration of a KernelGateway app. */ public void setKernelGatewayImageConfig(KernelGatewayImageConfig kernelGatewayImageConfig) { this.kernelGatewayImageConfig = kernelGatewayImageConfig; } /** ** The configuration of a KernelGateway app. *
* * @return The configuration of a KernelGateway app. */ public KernelGatewayImageConfig getKernelGatewayImageConfig() { return this.kernelGatewayImageConfig; } /** ** The configuration of a KernelGateway app. *
* * @param kernelGatewayImageConfig * The configuration of a KernelGateway app. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAppImageConfigResult withKernelGatewayImageConfig(KernelGatewayImageConfig kernelGatewayImageConfig) { setKernelGatewayImageConfig(kernelGatewayImageConfig); 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 (getAppImageConfigArn() != null) sb.append("AppImageConfigArn: ").append(getAppImageConfigArn()).append(","); if (getAppImageConfigName() != null) sb.append("AppImageConfigName: ").append(getAppImageConfigName()).append(","); if (getCreationTime() != null) sb.append("CreationTime: ").append(getCreationTime()).append(","); if (getLastModifiedTime() != null) sb.append("LastModifiedTime: ").append(getLastModifiedTime()).append(","); if (getKernelGatewayImageConfig() != null) sb.append("KernelGatewayImageConfig: ").append(getKernelGatewayImageConfig()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeAppImageConfigResult == false) return false; DescribeAppImageConfigResult other = (DescribeAppImageConfigResult) obj; if (other.getAppImageConfigArn() == null ^ this.getAppImageConfigArn() == null) return false; if (other.getAppImageConfigArn() != null && other.getAppImageConfigArn().equals(this.getAppImageConfigArn()) == false) return false; if (other.getAppImageConfigName() == null ^ this.getAppImageConfigName() == null) return false; if (other.getAppImageConfigName() != null && other.getAppImageConfigName().equals(this.getAppImageConfigName()) == 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.getLastModifiedTime() == null ^ this.getLastModifiedTime() == null) return false; if (other.getLastModifiedTime() != null && other.getLastModifiedTime().equals(this.getLastModifiedTime()) == false) return false; if (other.getKernelGatewayImageConfig() == null ^ this.getKernelGatewayImageConfig() == null) return false; if (other.getKernelGatewayImageConfig() != null && other.getKernelGatewayImageConfig().equals(this.getKernelGatewayImageConfig()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAppImageConfigArn() == null) ? 0 : getAppImageConfigArn().hashCode()); hashCode = prime * hashCode + ((getAppImageConfigName() == null) ? 0 : getAppImageConfigName().hashCode()); hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); hashCode = prime * hashCode + ((getLastModifiedTime() == null) ? 0 : getLastModifiedTime().hashCode()); hashCode = prime * hashCode + ((getKernelGatewayImageConfig() == null) ? 0 : getKernelGatewayImageConfig().hashCode()); return hashCode; } @Override public DescribeAppImageConfigResult clone() { try { return (DescribeAppImageConfigResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }