code: public CreatePlatformEndpointRequest withAttributes(java.util.Map<String, String> attributes) {
          setAttributes(attributes);
          return this;
      }
docs: <p>
  For a list of attributes, see <a
  href="https://docs.aws.amazon.com/sns/latest/api/API_SetEndpointAttributes.html">SetEndpointAttributes</a>.
  </p>
  
  @param attributes
  For a list of attributes, see <a
  href="https://docs.aws.amazon.com/sns/latest/api/API_SetEndpointAttributes.html"
  >SetEndpointAttributes</a>.
  @return Returns a reference to this object so that method calls can be chained together.