@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof DeleteEndpointRequest)) { return false; } DeleteEndpointRequest other = (DeleteEndpointRequest) obj; return Objects.equals(endpointArn(), other.endpointArn()); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof DeleteEndpointRequest)) { return false; } DeleteEndpointRequest other = (DeleteEndpointRequest) obj; return Objects.equals(endpointArn(), other.endpointArn()); }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(endpointArn()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof DeleteEndpointRequest)) { return false; } DeleteEndpointRequest other = (DeleteEndpointRequest) obj; return Objects.equals(endpointArn(), other.endpointArn()); }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(endpointArn()); return hashCode; }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(endpointArn()); return hashCode; }
/** * 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("DeleteEndpointRequest").add("EndpointArn", endpointArn()).build(); }
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) { switch (fieldName) { case "EndpointArn": return Optional.ofNullable(clazz.cast(endpointArn())); default: return Optional.empty(); } }
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) { switch (fieldName) { case "EndpointArn": return Optional.ofNullable(clazz.cast(endpointArn())); default: return Optional.empty(); } }
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) { switch (fieldName) { case "EndpointArn": return Optional.ofNullable(clazz.cast(endpointArn())); default: return Optional.empty(); } }
@Override public String toString() { return ToString.builder("DeleteEndpointRequest").add("EndpointArn", endpointArn()).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("DeleteEndpointRequest").add("EndpointArn", endpointArn()).build(); }
/** * Marshall the given parameter object */ public void marshall(DeleteEndpointRequest deleteEndpointRequest, ProtocolMarshaller protocolMarshaller) { Validate.paramNotNull(deleteEndpointRequest, "deleteEndpointRequest"); Validate.paramNotNull(protocolMarshaller, "protocolMarshaller"); try { protocolMarshaller.marshall(deleteEndpointRequest.endpointArn(), ENDPOINTARN_BINDING); } catch (Exception e) { throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build(); } } }