@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAttachment() == null) ? 0 : getAttachment().hashCode()); return hashCode; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCheckId() == null) ? 0 : getCheckId().hashCode()); hashCode = prime * hashCode + ((getTimestamp() == null) ? 0 : getTimestamp().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getResourcesSummary() == null) ? 0 : getResourcesSummary().hashCode()); hashCode = prime * hashCode + ((getCategorySpecificSummary() == null) ? 0 : getCategorySpecificSummary().hashCode()); hashCode = prime * hashCode + ((getFlaggedResources() == null) ? 0 : getFlaggedResources().hashCode()); return hashCode; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCheckId() == null) ? 0 : getCheckId().hashCode()); hashCode = prime * hashCode + ((getTimestamp() == null) ? 0 : getTimestamp().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getHasFlaggedResources() == null) ? 0 : getHasFlaggedResources().hashCode()); hashCode = prime * hashCode + ((getResourcesSummary() == null) ? 0 : getResourcesSummary().hashCode()); hashCode = prime * hashCode + ((getCategorySpecificSummary() == null) ? 0 : getCategorySpecificSummary().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeTrustedAdvisorCheckResultResult == false) return false; DescribeTrustedAdvisorCheckResultResult other = (DescribeTrustedAdvisorCheckResultResult) obj; if (other.getResult() == null ^ this.getResult() == null) return false; if (other.getResult() != null && other.getResult().equals(this.getResult()) == false) return false; return true; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCostOptimizing() == null) ? 0 : getCostOptimizing().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof TrustedAdvisorCategorySpecificSummary == false) return false; TrustedAdvisorCategorySpecificSummary other = (TrustedAdvisorCategorySpecificSummary) obj; if (other.getCostOptimizing() == null ^ this.getCostOptimizing() == null) return false; if (other.getCostOptimizing() != null && other.getCostOptimizing().equals(this.getCostOptimizing()) == false) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeAttachmentResult == false) return false; DescribeAttachmentResult other = (DescribeAttachmentResult) obj; if (other.getAttachment() == null ^ this.getAttachment() == null) return false; if (other.getAttachment() != null && other.getAttachment().equals(this.getAttachment()) == false) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof RefreshTrustedAdvisorCheckResult == false) return false; RefreshTrustedAdvisorCheckResult other = (RefreshTrustedAdvisorCheckResult) obj; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; return true; }
/** * @param resourcesSummary * @return Returns a reference to this object so that method calls can be chained together. */ public TrustedAdvisorCheckResult withResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary) { setResourcesSummary(resourcesSummary); return this; }
/** * @param resourcesSummary * @return Returns a reference to this object so that method calls can be chained together. */ public TrustedAdvisorCheckSummary withResourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary) { setResourcesSummary(resourcesSummary); return this; }
/** * <p> * The number of AWS resources that were analyzed by the Trusted Advisor check. * </p> * * @param resourcesProcessed * The number of AWS resources that were analyzed by the Trusted Advisor check. * @return Returns a reference to this object so that method calls can be chained together. */ public TrustedAdvisorResourcesSummary withResourcesProcessed(Long resourcesProcessed) { setResourcesProcessed(resourcesProcessed); return this; }
/** * <p> * The IDs of the Trusted Advisor checks. * </p> * * @param checkIds * The IDs of the Trusted Advisor checks. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrustedAdvisorCheckSummariesRequest withCheckIds(java.util.Collection<String> checkIds) { setCheckIds(checkIds); return this; }
/** * <p> * The time and date when the attachment set expires. * </p> * * @param expiryTime * The time and date when the attachment set expires. * @return Returns a reference to this object so that method calls can be chained together. */ public AddAttachmentsToSetResult withExpiryTime(String expiryTime) { setExpiryTime(expiryTime); return this; }
/** * <p> * The time the communication was created. * </p> * * @param timeCreated * The time the communication was created. * @return Returns a reference to this object so that method calls can be chained together. */ public Communication withTimeCreated(String timeCreated) { setTimeCreated(timeCreated); return this; }
/** * <p> * Information about the attachments to the case communication. * </p> * * @param attachmentSet * Information about the attachments to the case communication. * @return Returns a reference to this object so that method calls can be chained together. */ public Communication withAttachmentSet(java.util.Collection<AttachmentDetails> attachmentSet) { setAttachmentSet(attachmentSet); return this; }
/** * <p> * The status of the case after the <a>ResolveCase</a> request was processed. * </p> * * @param finalCaseStatus * The status of the case after the <a>ResolveCase</a> request was processed. * @return Returns a reference to this object so that method calls can be chained together. */ public ResolveCaseResult withFinalCaseStatus(String finalCaseStatus) { setFinalCaseStatus(finalCaseStatus); return this; }
/** * <p> * The category of problem for the AWS Support case. * </p> * * @param categoryCode * The category of problem for the AWS Support case. * @return Returns a reference to this object so that method calls can be chained together. */ public CaseDetails withCategoryCode(String categoryCode) { setCategoryCode(categoryCode); return this; }
/** * <p> * The email addresses that receive copies of communication about the case. * </p> * * @param ccEmailAddresses * The email addresses that receive copies of communication about the case. * @return Returns a reference to this object so that method calls can be chained together. */ public CaseDetails withCcEmailAddresses(java.util.Collection<String> ccEmailAddresses) { setCcEmailAddresses(ccEmailAddresses); return this; }