Class CreateApiDestinationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.eventbridge.model.EventBridgeRequest
-
- software.amazon.awssdk.services.eventbridge.model.CreateApiDestinationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateApiDestinationRequest.Builder,CreateApiDestinationRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateApiDestinationRequest extends EventBridgeRequest implements ToCopyableBuilder<CreateApiDestinationRequest.Builder,CreateApiDestinationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateApiDestinationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateApiDestinationRequest.Builderbuilder()StringconnectionArn()The ARN of the connection to use for the API destination.Stringdescription()A description for the API destination to create.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ApiDestinationHttpMethodhttpMethod()The method to use for the request to the HTTP invocation endpoint.StringhttpMethodAsString()The method to use for the request to the HTTP invocation endpoint.StringinvocationEndpoint()The URL to the HTTP invocation endpoint for the API destination.IntegerinvocationRateLimitPerSecond()The maximum number of requests per second to send to the HTTP invocation endpoint.Stringname()The name for the API destination to create.List<SdkField<?>>sdkFields()static Class<? extends CreateApiDestinationRequest.Builder>serializableBuilderClass()CreateApiDestinationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name for the API destination to create.
- Returns:
- The name for the API destination to create.
-
description
public final String description()
A description for the API destination to create.
- Returns:
- A description for the API destination to create.
-
connectionArn
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.
- Returns:
- The ARN of the connection to use for the API destination. The destination endpoint must support the authorization type specified for the connection.
-
invocationEndpoint
public final String invocationEndpoint()
The URL to the HTTP invocation endpoint for the API destination.
- Returns:
- The URL to the HTTP invocation endpoint for the API destination.
-
httpMethod
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,
httpMethodwill returnApiDestinationHttpMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhttpMethodAsString().- Returns:
- The method to use for the request to the HTTP invocation endpoint.
- See Also:
ApiDestinationHttpMethod
-
httpMethodAsString
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,
httpMethodwill returnApiDestinationHttpMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhttpMethodAsString().- Returns:
- The method to use for the request to the HTTP invocation endpoint.
- See Also:
ApiDestinationHttpMethod
-
invocationRateLimitPerSecond
public final Integer invocationRateLimitPerSecond()
The maximum number of requests per second to send to the HTTP invocation endpoint.
- Returns:
- The maximum number of requests per second to send to the HTTP invocation endpoint.
-
toBuilder
public CreateApiDestinationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateApiDestinationRequest.Builder,CreateApiDestinationRequest>- Specified by:
toBuilderin classEventBridgeRequest
-
builder
public static CreateApiDestinationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateApiDestinationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-