Class UpdateApiDestinationRequest
- 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.UpdateApiDestinationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateApiDestinationRequest.Builder,UpdateApiDestinationRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateApiDestinationRequest extends EventBridgeRequest implements ToCopyableBuilder<UpdateApiDestinationRequest.Builder,UpdateApiDestinationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateApiDestinationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateApiDestinationRequest.Builderbuilder()StringconnectionArn()The ARN of the connection to use for the API destination.Stringdescription()The name of the API destination to update.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ApiDestinationHttpMethodhttpMethod()The method to use for the API destination.StringhttpMethodAsString()The method to use for the API destination.StringinvocationEndpoint()The URL to the endpoint to use for the API destination.IntegerinvocationRateLimitPerSecond()The maximum number of invocations per second to send to the API destination.Stringname()The name of the API destination to update.List<SdkField<?>>sdkFields()static Class<? extends UpdateApiDestinationRequest.Builder>serializableBuilderClass()UpdateApiDestinationRequest.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 of the API destination to update.
- Returns:
- The name of the API destination to update.
-
description
public final String description()
The name of the API destination to update.
- Returns:
- The name of the API destination to update.
-
connectionArn
public final String connectionArn()
The ARN of the connection to use for the API destination.
- Returns:
- The ARN of the connection to use for the API destination.
-
invocationEndpoint
public final String invocationEndpoint()
The URL to the endpoint to use for the API destination.
- Returns:
- The URL to the endpoint to use for the API destination.
-
httpMethod
public final ApiDestinationHttpMethod httpMethod()
The method to use for the API destination.
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 API destination.
- See Also:
ApiDestinationHttpMethod
-
httpMethodAsString
public final String httpMethodAsString()
The method to use for the API destination.
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 API destination.
- See Also:
ApiDestinationHttpMethod
-
invocationRateLimitPerSecond
public final Integer invocationRateLimitPerSecond()
The maximum number of invocations per second to send to the API destination.
- Returns:
- The maximum number of invocations per second to send to the API destination.
-
toBuilder
public UpdateApiDestinationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateApiDestinationRequest.Builder,UpdateApiDestinationRequest>- Specified by:
toBuilderin classEventBridgeRequest
-
builder
public static UpdateApiDestinationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateApiDestinationRequest.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
-
-