public static interface HttpAction.Builder extends SdkPojo, CopyableBuilder<HttpAction.Builder,HttpAction>
| Modifier and Type | Method and Description |
|---|---|
default HttpAction.Builder |
auth(Consumer<HttpAuthorization.Builder> auth)
The authentication method to use when sending data to an HTTPS endpoint.
|
HttpAction.Builder |
auth(HttpAuthorization auth)
The authentication method to use when sending data to an HTTPS endpoint.
|
HttpAction.Builder |
confirmationUrl(String confirmationUrl)
The URL to which AWS IoT sends a confirmation message.
|
HttpAction.Builder |
headers(Collection<HttpActionHeader> headers)
The HTTP headers to send with the message data.
|
HttpAction.Builder |
headers(Consumer<HttpActionHeader.Builder>... headers)
The HTTP headers to send with the message data.
|
HttpAction.Builder |
headers(HttpActionHeader... headers)
The HTTP headers to send with the message data.
|
HttpAction.Builder |
url(String url)
The endpoint URL.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildHttpAction.Builder url(String url)
The endpoint URL. If substitution templates are used in the URL, you must also specify a
confirmationUrl. If this is a new destination, a new TopicRuleDestination is
created if possible.
url - The endpoint URL. If substitution templates are used in the URL, you must also specify a
confirmationUrl. If this is a new destination, a new TopicRuleDestination is
created if possible.HttpAction.Builder confirmationUrl(String confirmationUrl)
The URL to which AWS IoT sends a confirmation message. The value of the confirmation URL must be a prefix of the endpoint URL. If you do not specify a confirmation URL AWS IoT uses the endpoint URL as the confirmation URL. If you use substitution templates in the confirmationUrl, you must create and enable topic rule destinations that match each possible value of the substituion template before traffic is allowed to your endpoint URL.
confirmationUrl - The URL to which AWS IoT sends a confirmation message. The value of the confirmation URL must be a
prefix of the endpoint URL. If you do not specify a confirmation URL AWS IoT uses the endpoint URL as
the confirmation URL. If you use substitution templates in the confirmationUrl, you must create and
enable topic rule destinations that match each possible value of the substituion template before
traffic is allowed to your endpoint URL.HttpAction.Builder headers(Collection<HttpActionHeader> headers)
The HTTP headers to send with the message data.
headers - The HTTP headers to send with the message data.HttpAction.Builder headers(HttpActionHeader... headers)
The HTTP headers to send with the message data.
headers - The HTTP headers to send with the message data.HttpAction.Builder headers(Consumer<HttpActionHeader.Builder>... headers)
The HTTP headers to send with the message data.
This is a convenience that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #headers(List) .headers - a consumer that will call methods on List.Builder #headers(List) HttpAction.Builder auth(HttpAuthorization auth)
The authentication method to use when sending data to an HTTPS endpoint.
auth - The authentication method to use when sending data to an HTTPS endpoint.default HttpAction.Builder auth(Consumer<HttpAuthorization.Builder> auth)
The authentication method to use when sending data to an HTTPS endpoint.
This is a convenience that creates an instance of theHttpAuthorization.Builder avoiding the need to
create one manually via HttpAuthorization.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to auth(HttpAuthorization).auth - a consumer that will call methods on HttpAuthorization.Builderauth(HttpAuthorization)Copyright © 2020. All rights reserved.