@Generated(value="software.amazon.awssdk:codegen") public final class ApiDestination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ApiDestination.Builder,ApiDestination>
Contains details about an API destination.
Modifier and Type | Class and Description |
---|---|
static interface |
ApiDestination.Builder |
Modifier and Type | Method and Description |
---|---|
String |
apiDestinationArn()
The ARN of the API destination.
|
ApiDestinationState |
apiDestinationState()
The state of the API destination.
|
String |
apiDestinationStateAsString()
The state of the API destination.
|
static ApiDestination.Builder |
builder() |
String |
connectionArn()
The ARN of the connection specified for the API destination.
|
Instant |
creationTime()
A time stamp for the time that the API destination was created.
|
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 to connect to the HTTP endpoint.
|
String |
httpMethodAsString()
The method to use to connect to the HTTP endpoint.
|
String |
invocationEndpoint()
The URL to the endpoint for the API destination.
|
Integer |
invocationRateLimitPerSecond()
The maximum number of invocations per second to send to the HTTP endpoint.
|
Instant |
lastModifiedTime()
A time stamp for the time that the API destination was last modified.
|
String |
name()
The name of the API destination.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ApiDestination.Builder> |
serializableBuilderClass() |
ApiDestination.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String apiDestinationArn()
The ARN of the API destination.
public final String name()
The name of the API destination.
public final ApiDestinationState apiDestinationState()
The state of the API destination.
If the service returns an enum value that is not available in the current SDK version,
apiDestinationState
will return ApiDestinationState.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from apiDestinationStateAsString()
.
ApiDestinationState
public final String apiDestinationStateAsString()
The state of the API destination.
If the service returns an enum value that is not available in the current SDK version,
apiDestinationState
will return ApiDestinationState.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from apiDestinationStateAsString()
.
ApiDestinationState
public final String connectionArn()
The ARN of the connection specified for the API destination.
public final String invocationEndpoint()
The URL to the endpoint for the API destination.
public final ApiDestinationHttpMethod httpMethod()
The method to use to connect to the HTTP 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 to connect to the HTTP 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 invocations per second to send to the HTTP endpoint.
public final Instant creationTime()
A time stamp for the time that the API destination was created.
public final Instant lastModifiedTime()
A time stamp for the time that the API destination was last modified.
public ApiDestination.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ApiDestination.Builder,ApiDestination>
public static ApiDestination.Builder builder()
public static Class<? extends ApiDestination.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.