@Generated(value="software.amazon.awssdk:codegen") public final class CreateApiDestinationRequest extends EventBridgeRequest implements ToCopyableBuilder<CreateApiDestinationRequest.Builder,CreateApiDestinationRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateApiDestinationRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateApiDestinationRequest.Builder |
builder() |
String |
connectionArn()
The ARN of the connection to use for the API destination.
|
String |
description()
A description for the API destination to create.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ApiDestinationHttpMethod |
httpMethod()
The method to use for the request to the HTTP invocation endpoint.
|
String |
httpMethodAsString()
The method to use for the request to the HTTP invocation endpoint.
|
String |
invocationEndpoint()
The URL to the HTTP invocation endpoint for the API destination.
|
Integer |
invocationRateLimitPerSecond()
The maximum number of requests per second to send to the HTTP invocation endpoint.
|
String |
name()
The name for the API destination to create.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateApiDestinationRequest.Builder> |
serializableBuilderClass() |
CreateApiDestinationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String name()
The name for the API destination to create.
public final String description()
A description for the API destination to create.
public final String connectionArn()
The ARN of the connection to use for the API destination. The destination endpoint must support the authorization type specified for the connection.
public final String invocationEndpoint()
The URL to the HTTP invocation endpoint for the API destination.
public final ApiDestinationHttpMethod httpMethod()
The method to use for the request to the HTTP invocation endpoint.
If the service returns an enum value that is not available in the current SDK version, httpMethod
will
return ApiDestinationHttpMethod.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from httpMethodAsString()
.
ApiDestinationHttpMethod
public final String httpMethodAsString()
The method to use for the request to the HTTP invocation endpoint.
If the service returns an enum value that is not available in the current SDK version, httpMethod
will
return ApiDestinationHttpMethod.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from httpMethodAsString()
.
ApiDestinationHttpMethod
public final Integer invocationRateLimitPerSecond()
The maximum number of requests per second to send to the HTTP invocation endpoint.
public CreateApiDestinationRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateApiDestinationRequest.Builder,CreateApiDestinationRequest>
toBuilder
in class EventBridgeRequest
public static CreateApiDestinationRequest.Builder builder()
public static Class<? extends CreateApiDestinationRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2022. All rights reserved.