@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getSigningProfileParameter() == null) ? 0 : getSigningProfileParameter().hashCode()); hashCode = prime * hashCode + ((getSigningProfileName() == null) ? 0 : getSigningProfileName().hashCode()); hashCode = prime * hashCode + ((getDestination() == null) ? 0 : getDestination().hashCode()); return hashCode; }
/** * <p> * The location to write the code-signed file. * </p> * * @param destination * The location to write the code-signed file. * @return Returns a reference to this object so that method calls can be chained together. */ public StartSigningJobParameter withDestination(Destination destination) { setDestination(destination); return this; }
/** * <p> * The code-signing profile name. * </p> * * @param signingProfileName * The code-signing profile name. * @return Returns a reference to this object so that method calls can be chained together. */ public StartSigningJobParameter withSigningProfileName(String signingProfileName) { setSigningProfileName(signingProfileName); return this; }
public StartSigningJobParameter unmarshall(JsonUnmarshallerContext context) throws Exception { StartSigningJobParameter startSigningJobParameter = new StartSigningJobParameter(); if (context.testExpression("signingProfileParameter", targetDepth)) { context.nextToken(); startSigningJobParameter.setSigningProfileParameter(SigningProfileParameterJsonUnmarshaller.getInstance().unmarshall(context)); startSigningJobParameter.setSigningProfileName(context.getUnmarshaller(String.class).unmarshall(context)); startSigningJobParameter.setDestination(DestinationJsonUnmarshaller.getInstance().unmarshall(context));
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAwsSignerJobId() == null) ? 0 : getAwsSignerJobId().hashCode()); hashCode = prime * hashCode + ((getStartSigningJobParameter() == null) ? 0 : getStartSigningJobParameter().hashCode()); hashCode = prime * hashCode + ((getCustomCodeSigning() == null) ? 0 : getCustomCodeSigning().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CodeSigning == false) return false; CodeSigning other = (CodeSigning) obj; if (other.getAwsSignerJobId() == null ^ this.getAwsSignerJobId() == null) return false; if (other.getAwsSignerJobId() != null && other.getAwsSignerJobId().equals(this.getAwsSignerJobId()) == false) return false; if (other.getStartSigningJobParameter() == null ^ this.getStartSigningJobParameter() == null) return false; if (other.getStartSigningJobParameter() != null && other.getStartSigningJobParameter().equals(this.getStartSigningJobParameter()) == false) return false; if (other.getCustomCodeSigning() == null ^ this.getCustomCodeSigning() == null) return false; if (other.getCustomCodeSigning() != null && other.getCustomCodeSigning().equals(this.getCustomCodeSigning()) == false) return false; return true; }
/** * <p> * Describes the code-signing profile. * </p> * * @param signingProfileParameter * Describes the code-signing profile. * @return Returns a reference to this object so that method calls can be chained together. */ public StartSigningJobParameter withSigningProfileParameter(SigningProfileParameter signingProfileParameter) { setSigningProfileParameter(signingProfileParameter); return this; }
public StartSigningJobParameter unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } StartSigningJobParameter startSigningJobParameter = new StartSigningJobParameter(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("signingProfileParameter")) { startSigningJobParameter .setSigningProfileParameter(SigningProfileParameterJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("signingProfileName")) { startSigningJobParameter.setSigningProfileName(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("destination")) { startSigningJobParameter.setDestination(DestinationJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return startSigningJobParameter; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAwsSignerJobId() == null) ? 0 : getAwsSignerJobId().hashCode()); hashCode = prime * hashCode + ((getStartSigningJobParameter() == null) ? 0 : getStartSigningJobParameter() .hashCode()); hashCode = prime * hashCode + ((getCustomCodeSigning() == null) ? 0 : getCustomCodeSigning().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CodeSigning == false) return false; CodeSigning other = (CodeSigning) obj; if (other.getAwsSignerJobId() == null ^ this.getAwsSignerJobId() == null) return false; if (other.getAwsSignerJobId() != null && other.getAwsSignerJobId().equals(this.getAwsSignerJobId()) == false) return false; if (other.getStartSigningJobParameter() == null ^ this.getStartSigningJobParameter() == null) return false; if (other.getStartSigningJobParameter() != null && other.getStartSigningJobParameter().equals(this.getStartSigningJobParameter()) == false) return false; if (other.getCustomCodeSigning() == null ^ this.getCustomCodeSigning() == null) return false; if (other.getCustomCodeSigning() != null && other.getCustomCodeSigning().equals(this.getCustomCodeSigning()) == false) return false; return true; } }
/** * <p> * Describes the code-signing profile. * </p> * * @param signingProfileParameter * Describes the code-signing profile. * @return Returns a reference to this object so that method calls can be chained together. */ public StartSigningJobParameter withSigningProfileParameter(SigningProfileParameter signingProfileParameter) { setSigningProfileParameter(signingProfileParameter); return this; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof StartSigningJobParameter == false) return false; StartSigningJobParameter other = (StartSigningJobParameter) obj; if (other.getSigningProfileParameter() == null ^ this.getSigningProfileParameter() == null) return false; if (other.getSigningProfileParameter() != null && other.getSigningProfileParameter().equals(this.getSigningProfileParameter()) == false) return false; if (other.getSigningProfileName() == null ^ this.getSigningProfileName() == null) return false; if (other.getSigningProfileName() != null && other.getSigningProfileName().equals(this.getSigningProfileName()) == false) return false; if (other.getDestination() == null ^ this.getDestination() == null) return false; if (other.getDestination() != null && other.getDestination().equals(this.getDestination()) == false) return false; return true; }
public StartSigningJobParameter unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } StartSigningJobParameter startSigningJobParameter = new StartSigningJobParameter(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("signingProfileParameter")) { startSigningJobParameter .setSigningProfileParameter(SigningProfileParameterJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("signingProfileName")) { startSigningJobParameter.setSigningProfileName(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("destination")) { startSigningJobParameter.setDestination(DestinationJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return startSigningJobParameter; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAwsSignerJobId() == null) ? 0 : getAwsSignerJobId().hashCode()); hashCode = prime * hashCode + ((getStartSigningJobParameter() == null) ? 0 : getStartSigningJobParameter().hashCode()); hashCode = prime * hashCode + ((getCustomCodeSigning() == null) ? 0 : getCustomCodeSigning().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CodeSigning == false) return false; CodeSigning other = (CodeSigning) obj; if (other.getAwsSignerJobId() == null ^ this.getAwsSignerJobId() == null) return false; if (other.getAwsSignerJobId() != null && other.getAwsSignerJobId().equals(this.getAwsSignerJobId()) == false) return false; if (other.getStartSigningJobParameter() == null ^ this.getStartSigningJobParameter() == null) return false; if (other.getStartSigningJobParameter() != null && other.getStartSigningJobParameter().equals(this.getStartSigningJobParameter()) == false) return false; if (other.getCustomCodeSigning() == null ^ this.getCustomCodeSigning() == null) return false; if (other.getCustomCodeSigning() != null && other.getCustomCodeSigning().equals(this.getCustomCodeSigning()) == false) return false; return true; }
/** * <p> * The code-signing profile name. * </p> * * @param signingProfileName * The code-signing profile name. * @return Returns a reference to this object so that method calls can be chained together. */ public StartSigningJobParameter withSigningProfileName(String signingProfileName) { setSigningProfileName(signingProfileName); return this; }
/** * <p> * The location to write the code-signed file. * </p> * * @param destination * The location to write the code-signed file. * @return Returns a reference to this object so that method calls can be chained together. */ public StartSigningJobParameter withDestination(Destination destination) { setDestination(destination); 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 (getSigningProfileParameter() != null) sb.append("SigningProfileParameter: ").append(getSigningProfileParameter()).append(","); if (getSigningProfileName() != null) sb.append("SigningProfileName: ").append(getSigningProfileName()).append(","); if (getDestination() != null) sb.append("Destination: ").append(getDestination()); sb.append("}"); return sb.toString(); }
public StartSigningJobParameter unmarshall(JsonUnmarshallerContext context) throws Exception { StartSigningJobParameter startSigningJobParameter = new StartSigningJobParameter(); if (context.testExpression("signingProfileParameter", targetDepth)) { context.nextToken(); startSigningJobParameter.setSigningProfileParameter(SigningProfileParameterJsonUnmarshaller.getInstance().unmarshall(context)); startSigningJobParameter.setSigningProfileName(context.getUnmarshaller(String.class).unmarshall(context)); startSigningJobParameter.setDestination(DestinationJsonUnmarshaller.getInstance().unmarshall(context));
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAwsSignerJobId() == null) ? 0 : getAwsSignerJobId().hashCode()); hashCode = prime * hashCode + ((getStartSigningJobParameter() == null) ? 0 : getStartSigningJobParameter() .hashCode()); hashCode = prime * hashCode + ((getCustomCodeSigning() == null) ? 0 : getCustomCodeSigning().hashCode()); return hashCode; }