if (getStackSetName() != null) sb.append("StackSetName: ").append(getStackSetName()).append(","); if (getStackSetId() != null) sb.append("StackSetId: ").append(getStackSetId()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(",");
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getStackSetName() == null) ? 0 : getStackSetName().hashCode()); hashCode = prime * hashCode + ((getStackSetId() == null) ? 0 : getStackSetId().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getTemplateBody() == null) ? 0 : getTemplateBody().hashCode()); hashCode = prime * hashCode + ((getParameters() == null) ? 0 : getParameters().hashCode()); hashCode = prime * hashCode + ((getCapabilities() == null) ? 0 : getCapabilities().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getStackSetARN() == null) ? 0 : getStackSetARN().hashCode()); hashCode = prime * hashCode + ((getAdministrationRoleARN() == null) ? 0 : getAdministrationRoleARN().hashCode()); hashCode = prime * hashCode + ((getExecutionRoleName() == null) ? 0 : getExecutionRoleName().hashCode()); return hashCode; }
if (other.getStackSetName() != null && other.getStackSetName().equals(this.getStackSetName()) == false) return false; if (other.getStackSetId() == null ^ this.getStackSetId() == null) return false; if (other.getStackSetId() != null && other.getStackSetId().equals(this.getStackSetId()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null)
DescribeStackSetResult waitForStackState(StackSetStatus expectedStatus, Duration pollInterval) throws InterruptedException { DescribeStackSetResult result = describe(); this.listener.getLogger().println("stackSetId=" + result.getStackSet().getStackSetId() + " status=" + result.getStackSet().getStatus()); StackSetStatus currentStatus = StackSetStatus.fromValue(result.getStackSet().getStatus()); if (currentStatus == expectedStatus) { this.listener.getLogger().println("Stack set operation completed successfully"); return result; } else { Thread.sleep(pollInterval.toMillis()); return waitForStackState(expectedStatus, pollInterval); } }
if (getStackSetName() != null) sb.append("StackSetName: ").append(getStackSetName()).append(","); if (getStackSetId() != null) sb.append("StackSetId: ").append(getStackSetId()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(",");
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getStackSetName() == null) ? 0 : getStackSetName().hashCode()); hashCode = prime * hashCode + ((getStackSetId() == null) ? 0 : getStackSetId().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getTemplateBody() == null) ? 0 : getTemplateBody().hashCode()); hashCode = prime * hashCode + ((getParameters() == null) ? 0 : getParameters().hashCode()); hashCode = prime * hashCode + ((getCapabilities() == null) ? 0 : getCapabilities().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getStackSetARN() == null) ? 0 : getStackSetARN().hashCode()); hashCode = prime * hashCode + ((getAdministrationRoleARN() == null) ? 0 : getAdministrationRoleARN().hashCode()); hashCode = prime * hashCode + ((getExecutionRoleName() == null) ? 0 : getExecutionRoleName().hashCode()); return hashCode; }
if (other.getStackSetName() != null && other.getStackSetName().equals(this.getStackSetName()) == false) return false; if (other.getStackSetId() == null ^ this.getStackSetId() == null) return false; if (other.getStackSetId() != null && other.getStackSetId().equals(this.getStackSetId()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null)