* The system-generated ID for the association. *
*/ private String id; /** ** The ARN of the extension defined in the association. *
*/ private String extensionArn; /** ** The ARNs of applications, configuration profiles, or environments defined in the association. *
*/ private String resourceArn; /** ** The system-generated Amazon Resource Name (ARN) for the extension. *
*/ private String arn; /** ** The parameter names and values defined in the association. *
*/ private java.util.Map* The version number for the extension defined in the association. *
*/ private Integer extensionVersionNumber; /** ** The system-generated ID for the association. *
* * @param id * The system-generated ID for the association. */ public void setId(String id) { this.id = id; } /** ** The system-generated ID for the association. *
* * @return The system-generated ID for the association. */ public String getId() { return this.id; } /** ** The system-generated ID for the association. *
* * @param id * The system-generated ID for the association. * @return Returns a reference to this object so that method calls can be chained together. */ public GetExtensionAssociationResult withId(String id) { setId(id); return this; } /** ** The ARN of the extension defined in the association. *
* * @param extensionArn * The ARN of the extension defined in the association. */ public void setExtensionArn(String extensionArn) { this.extensionArn = extensionArn; } /** ** The ARN of the extension defined in the association. *
* * @return The ARN of the extension defined in the association. */ public String getExtensionArn() { return this.extensionArn; } /** ** The ARN of the extension defined in the association. *
* * @param extensionArn * The ARN of the extension defined in the association. * @return Returns a reference to this object so that method calls can be chained together. */ public GetExtensionAssociationResult withExtensionArn(String extensionArn) { setExtensionArn(extensionArn); return this; } /** ** The ARNs of applications, configuration profiles, or environments defined in the association. *
* * @param resourceArn * The ARNs of applications, configuration profiles, or environments defined in the association. */ public void setResourceArn(String resourceArn) { this.resourceArn = resourceArn; } /** ** The ARNs of applications, configuration profiles, or environments defined in the association. *
* * @return The ARNs of applications, configuration profiles, or environments defined in the association. */ public String getResourceArn() { return this.resourceArn; } /** ** The ARNs of applications, configuration profiles, or environments defined in the association. *
* * @param resourceArn * The ARNs of applications, configuration profiles, or environments defined in the association. * @return Returns a reference to this object so that method calls can be chained together. */ public GetExtensionAssociationResult withResourceArn(String resourceArn) { setResourceArn(resourceArn); return this; } /** ** The system-generated Amazon Resource Name (ARN) for the extension. *
* * @param arn * The system-generated Amazon Resource Name (ARN) for the extension. */ public void setArn(String arn) { this.arn = arn; } /** ** The system-generated Amazon Resource Name (ARN) for the extension. *
* * @return The system-generated Amazon Resource Name (ARN) for the extension. */ public String getArn() { return this.arn; } /** ** The system-generated Amazon Resource Name (ARN) for the extension. *
* * @param arn * The system-generated Amazon Resource Name (ARN) for the extension. * @return Returns a reference to this object so that method calls can be chained together. */ public GetExtensionAssociationResult withArn(String arn) { setArn(arn); return this; } /** ** The parameter names and values defined in the association. *
* * @return The parameter names and values defined in the association. */ public java.util.Map* The parameter names and values defined in the association. *
* * @param parameters * The parameter names and values defined in the association. */ public void setParameters(java.util.Map* The parameter names and values defined in the association. *
* * @param parameters * The parameter names and values defined in the association. * @return Returns a reference to this object so that method calls can be chained together. */ public GetExtensionAssociationResult withParameters(java.util.Map* The version number for the extension defined in the association. *
* * @param extensionVersionNumber * The version number for the extension defined in the association. */ public void setExtensionVersionNumber(Integer extensionVersionNumber) { this.extensionVersionNumber = extensionVersionNumber; } /** ** The version number for the extension defined in the association. *
* * @return The version number for the extension defined in the association. */ public Integer getExtensionVersionNumber() { return this.extensionVersionNumber; } /** ** The version number for the extension defined in the association. *
* * @param extensionVersionNumber * The version number for the extension defined in the association. * @return Returns a reference to this object so that method calls can be chained together. */ public GetExtensionAssociationResult withExtensionVersionNumber(Integer extensionVersionNumber) { setExtensionVersionNumber(extensionVersionNumber); 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 (getId() != null) sb.append("Id: ").append(getId()).append(","); if (getExtensionArn() != null) sb.append("ExtensionArn: ").append(getExtensionArn()).append(","); if (getResourceArn() != null) sb.append("ResourceArn: ").append(getResourceArn()).append(","); if (getArn() != null) sb.append("Arn: ").append(getArn()).append(","); if (getParameters() != null) sb.append("Parameters: ").append(getParameters()).append(","); if (getExtensionVersionNumber() != null) sb.append("ExtensionVersionNumber: ").append(getExtensionVersionNumber()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetExtensionAssociationResult == false) return false; GetExtensionAssociationResult other = (GetExtensionAssociationResult) obj; if (other.getId() == null ^ this.getId() == null) return false; if (other.getId() != null && other.getId().equals(this.getId()) == false) return false; if (other.getExtensionArn() == null ^ this.getExtensionArn() == null) return false; if (other.getExtensionArn() != null && other.getExtensionArn().equals(this.getExtensionArn()) == false) return false; if (other.getResourceArn() == null ^ this.getResourceArn() == null) return false; if (other.getResourceArn() != null && other.getResourceArn().equals(this.getResourceArn()) == 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.getParameters() == null ^ this.getParameters() == null) return false; if (other.getParameters() != null && other.getParameters().equals(this.getParameters()) == false) return false; if (other.getExtensionVersionNumber() == null ^ this.getExtensionVersionNumber() == null) return false; if (other.getExtensionVersionNumber() != null && other.getExtensionVersionNumber().equals(this.getExtensionVersionNumber()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode()); hashCode = prime * hashCode + ((getExtensionArn() == null) ? 0 : getExtensionArn().hashCode()); hashCode = prime * hashCode + ((getResourceArn() == null) ? 0 : getResourceArn().hashCode()); hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode()); hashCode = prime * hashCode + ((getParameters() == null) ? 0 : getParameters().hashCode()); hashCode = prime * hashCode + ((getExtensionVersionNumber() == null) ? 0 : getExtensionVersionNumber().hashCode()); return hashCode; } @Override public GetExtensionAssociationResult clone() { try { return (GetExtensionAssociationResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }