@Override public DescribeWorkflowTypeResponse build() { return new DescribeWorkflowTypeResponse(this); } }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof DescribeWorkflowTypeResponse)) { return false; } DescribeWorkflowTypeResponse other = (DescribeWorkflowTypeResponse) obj; return Objects.equals(typeInfo(), other.typeInfo()) && Objects.equals(configuration(), other.configuration()); }
public DescribeWorkflowTypeResponse unmarshall(JsonUnmarshallerContext context) throws Exception { DescribeWorkflowTypeResponse.Builder describeWorkflowTypeResponseBuilder = DescribeWorkflowTypeResponse.builder();
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof DescribeWorkflowTypeResponse)) { return false; } DescribeWorkflowTypeResponse other = (DescribeWorkflowTypeResponse) obj; return Objects.equals(typeInfo(), other.typeInfo()) && Objects.equals(configuration(), other.configuration()); }
@Override public DescribeWorkflowTypeResponse build() { return new DescribeWorkflowTypeResponse(this); }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(typeInfo()); hashCode = 31 * hashCode + Objects.hashCode(configuration()); return hashCode; }
@Override public DescribeWorkflowTypeResponse build() { return new DescribeWorkflowTypeResponse(this); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof DescribeWorkflowTypeResponse)) { return false; } DescribeWorkflowTypeResponse other = (DescribeWorkflowTypeResponse) obj; return Objects.equals(typeInfo(), other.typeInfo()) && Objects.equals(configuration(), other.configuration()); }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(typeInfo()); hashCode = 31 * hashCode + Objects.hashCode(configuration()); return hashCode; }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(typeInfo()); hashCode = 31 * hashCode + Objects.hashCode(configuration()); return hashCode; }
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) { switch (fieldName) { case "typeInfo": return Optional.ofNullable(clazz.cast(typeInfo())); case "configuration": return Optional.ofNullable(clazz.cast(configuration())); default: return Optional.empty(); } }
/** * 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. */ @Override public String toString() { return ToString.builder("DescribeWorkflowTypeResponse").add("TypeInfo", typeInfo()).add("Configuration", configuration()) .build(); }
/** * 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. */ @Override public String toString() { return ToString.builder("DescribeWorkflowTypeResponse").add("TypeInfo", typeInfo()).add("Configuration", configuration()) .build(); }
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) { switch (fieldName) { case "typeInfo": return Optional.ofNullable(clazz.cast(typeInfo())); case "configuration": return Optional.ofNullable(clazz.cast(configuration())); default: return Optional.empty(); } }
@Override public String toString() { return ToString.builder("DescribeWorkflowTypeResponse").add("TypeInfo", typeInfo()).add("Configuration", configuration()) .build(); }
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) { switch (fieldName) { case "typeInfo": return Optional.ofNullable(clazz.cast(typeInfo())); case "configuration": return Optional.ofNullable(clazz.cast(configuration())); default: return Optional.empty(); } }