* The Amazon Resource Name (ARN) of the signing profile created. *
*/ private String arn; /** ** The version of the signing profile being created. *
*/ private String profileVersion; /** ** The signing profile ARN, including the profile version. *
*/ private String profileVersionArn; /** ** The Amazon Resource Name (ARN) of the signing profile created. *
* * @param arn * The Amazon Resource Name (ARN) of the signing profile created. */ public void setArn(String arn) { this.arn = arn; } /** ** The Amazon Resource Name (ARN) of the signing profile created. *
* * @return The Amazon Resource Name (ARN) of the signing profile created. */ public String getArn() { return this.arn; } /** ** The Amazon Resource Name (ARN) of the signing profile created. *
* * @param arn * The Amazon Resource Name (ARN) of the signing profile created. * @return Returns a reference to this object so that method calls can be chained together. */ public PutSigningProfileResult withArn(String arn) { setArn(arn); return this; } /** ** The version of the signing profile being created. *
* * @param profileVersion * The version of the signing profile being created. */ public void setProfileVersion(String profileVersion) { this.profileVersion = profileVersion; } /** ** The version of the signing profile being created. *
* * @return The version of the signing profile being created. */ public String getProfileVersion() { return this.profileVersion; } /** ** The version of the signing profile being created. *
* * @param profileVersion * The version of the signing profile being created. * @return Returns a reference to this object so that method calls can be chained together. */ public PutSigningProfileResult withProfileVersion(String profileVersion) { setProfileVersion(profileVersion); return this; } /** ** The signing profile ARN, including the profile version. *
* * @param profileVersionArn * The signing profile ARN, including the profile version. */ public void setProfileVersionArn(String profileVersionArn) { this.profileVersionArn = profileVersionArn; } /** ** The signing profile ARN, including the profile version. *
* * @return The signing profile ARN, including the profile version. */ public String getProfileVersionArn() { return this.profileVersionArn; } /** ** The signing profile ARN, including the profile version. *
* * @param profileVersionArn * The signing profile ARN, including the profile version. * @return Returns a reference to this object so that method calls can be chained together. */ public PutSigningProfileResult withProfileVersionArn(String profileVersionArn) { setProfileVersionArn(profileVersionArn); 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 (getArn() != null) sb.append("Arn: ").append(getArn()).append(","); if (getProfileVersion() != null) sb.append("ProfileVersion: ").append(getProfileVersion()).append(","); if (getProfileVersionArn() != null) sb.append("ProfileVersionArn: ").append(getProfileVersionArn()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof PutSigningProfileResult == false) return false; PutSigningProfileResult other = (PutSigningProfileResult) obj; if (other.getArn() == null ^ this.getArn() == null) return false; if (other.getArn() != null && other.getArn().equals(this.getArn()) == false) return false; if (other.getProfileVersion() == null ^ this.getProfileVersion() == null) return false; if (other.getProfileVersion() != null && other.getProfileVersion().equals(this.getProfileVersion()) == false) return false; if (other.getProfileVersionArn() == null ^ this.getProfileVersionArn() == null) return false; if (other.getProfileVersionArn() != null && other.getProfileVersionArn().equals(this.getProfileVersionArn()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode()); hashCode = prime * hashCode + ((getProfileVersion() == null) ? 0 : getProfileVersion().hashCode()); hashCode = prime * hashCode + ((getProfileVersionArn() == null) ? 0 : getProfileVersionArn().hashCode()); return hashCode; } @Override public PutSigningProfileResult clone() { try { return (PutSigningProfileResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }