@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HttpEndpointRequestConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration of the HTTP endpoint request.
Constructor and Description |
---|
HttpEndpointRequestConfiguration() |
Modifier and Type | Method and Description |
---|---|
HttpEndpointRequestConfiguration |
clone() |
boolean |
equals(Object obj) |
List<HttpEndpointCommonAttribute> |
getCommonAttributes()
Describes the metadata sent to the HTTP endpoint destination.
|
String |
getContentEncoding()
Kinesis Data Firehose uses the content encoding to compress the body of a request before sending the request to
the destination.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCommonAttributes(Collection<HttpEndpointCommonAttribute> commonAttributes)
Describes the metadata sent to the HTTP endpoint destination.
|
void |
setContentEncoding(String contentEncoding)
Kinesis Data Firehose uses the content encoding to compress the body of a request before sending the request to
the destination.
|
String |
toString()
Returns a string representation of this object.
|
HttpEndpointRequestConfiguration |
withCommonAttributes(Collection<HttpEndpointCommonAttribute> commonAttributes)
Describes the metadata sent to the HTTP endpoint destination.
|
HttpEndpointRequestConfiguration |
withCommonAttributes(HttpEndpointCommonAttribute... commonAttributes)
Describes the metadata sent to the HTTP endpoint destination.
|
HttpEndpointRequestConfiguration |
withContentEncoding(ContentEncoding contentEncoding)
Kinesis Data Firehose uses the content encoding to compress the body of a request before sending the request to
the destination.
|
HttpEndpointRequestConfiguration |
withContentEncoding(String contentEncoding)
Kinesis Data Firehose uses the content encoding to compress the body of a request before sending the request to
the destination.
|
public void setContentEncoding(String contentEncoding)
Kinesis Data Firehose uses the content encoding to compress the body of a request before sending the request to the destination. For more information, see Content-Encoding in MDN Web Docs, the official Mozilla documentation.
contentEncoding
- Kinesis Data Firehose uses the content encoding to compress the body of a request before sending the
request to the destination. For more information, see Content-Encoding in
MDN Web Docs, the official Mozilla documentation.ContentEncoding
public String getContentEncoding()
Kinesis Data Firehose uses the content encoding to compress the body of a request before sending the request to the destination. For more information, see Content-Encoding in MDN Web Docs, the official Mozilla documentation.
ContentEncoding
public HttpEndpointRequestConfiguration withContentEncoding(String contentEncoding)
Kinesis Data Firehose uses the content encoding to compress the body of a request before sending the request to the destination. For more information, see Content-Encoding in MDN Web Docs, the official Mozilla documentation.
contentEncoding
- Kinesis Data Firehose uses the content encoding to compress the body of a request before sending the
request to the destination. For more information, see Content-Encoding in
MDN Web Docs, the official Mozilla documentation.ContentEncoding
public HttpEndpointRequestConfiguration withContentEncoding(ContentEncoding contentEncoding)
Kinesis Data Firehose uses the content encoding to compress the body of a request before sending the request to the destination. For more information, see Content-Encoding in MDN Web Docs, the official Mozilla documentation.
contentEncoding
- Kinesis Data Firehose uses the content encoding to compress the body of a request before sending the
request to the destination. For more information, see Content-Encoding in
MDN Web Docs, the official Mozilla documentation.ContentEncoding
public List<HttpEndpointCommonAttribute> getCommonAttributes()
Describes the metadata sent to the HTTP endpoint destination.
public void setCommonAttributes(Collection<HttpEndpointCommonAttribute> commonAttributes)
Describes the metadata sent to the HTTP endpoint destination.
commonAttributes
- Describes the metadata sent to the HTTP endpoint destination.public HttpEndpointRequestConfiguration withCommonAttributes(HttpEndpointCommonAttribute... commonAttributes)
Describes the metadata sent to the HTTP endpoint destination.
NOTE: This method appends the values to the existing list (if any). Use
setCommonAttributes(java.util.Collection)
or withCommonAttributes(java.util.Collection)
if you
want to override the existing values.
commonAttributes
- Describes the metadata sent to the HTTP endpoint destination.public HttpEndpointRequestConfiguration withCommonAttributes(Collection<HttpEndpointCommonAttribute> commonAttributes)
Describes the metadata sent to the HTTP endpoint destination.
commonAttributes
- Describes the metadata sent to the HTTP endpoint destination.public String toString()
toString
in class Object
Object.toString()
public HttpEndpointRequestConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.