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