@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateApiDestinationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateApiDestinationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateApiDestinationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getConnectionArn()
The ARN of the connection to use for the API destination.
|
String |
getDescription()
A description for the API destination to create.
|
String |
getHttpMethod()
The method to use for the request to the HTTP invocation endpoint.
|
String |
getInvocationEndpoint()
The URL to the HTTP invocation endpoint for the API destination.
|
Integer |
getInvocationRateLimitPerSecond()
The maximum number of requests per second to send to the HTTP invocation endpoint.
|
String |
getName()
The name for the API destination to create.
|
int |
hashCode() |
void |
setConnectionArn(String connectionArn)
The ARN of the connection to use for the API destination.
|
void |
setDescription(String description)
A description for the API destination to create.
|
void |
setHttpMethod(String httpMethod)
The method to use for the request to the HTTP invocation endpoint.
|
void |
setInvocationEndpoint(String invocationEndpoint)
The URL to the HTTP invocation endpoint for the API destination.
|
void |
setInvocationRateLimitPerSecond(Integer invocationRateLimitPerSecond)
The maximum number of requests per second to send to the HTTP invocation endpoint.
|
void |
setName(String name)
The name for the API destination to create.
|
String |
toString()
Returns a string representation of this object.
|
CreateApiDestinationRequest |
withConnectionArn(String connectionArn)
The ARN of the connection to use for the API destination.
|
CreateApiDestinationRequest |
withDescription(String description)
A description for the API destination to create.
|
CreateApiDestinationRequest |
withHttpMethod(ApiDestinationHttpMethod httpMethod)
The method to use for the request to the HTTP invocation endpoint.
|
CreateApiDestinationRequest |
withHttpMethod(String httpMethod)
The method to use for the request to the HTTP invocation endpoint.
|
CreateApiDestinationRequest |
withInvocationEndpoint(String invocationEndpoint)
The URL to the HTTP invocation endpoint for the API destination.
|
CreateApiDestinationRequest |
withInvocationRateLimitPerSecond(Integer invocationRateLimitPerSecond)
The maximum number of requests per second to send to the HTTP invocation endpoint.
|
CreateApiDestinationRequest |
withName(String name)
The name for the API destination to create.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The name for the API destination to create.
name
- The name for the API destination to create.public String getName()
The name for the API destination to create.
public CreateApiDestinationRequest withName(String name)
The name for the API destination to create.
name
- The name for the API destination to create.public void setDescription(String description)
A description for the API destination to create.
description
- A description for the API destination to create.public String getDescription()
A description for the API destination to create.
public CreateApiDestinationRequest withDescription(String description)
A description for the API destination to create.
description
- A description for the API destination to create.public void setConnectionArn(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.
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 String getConnectionArn()
The ARN of the connection to use for the API destination. The destination endpoint must support the authorization type specified for the connection.
public CreateApiDestinationRequest withConnectionArn(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.
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 void setInvocationEndpoint(String invocationEndpoint)
The URL to the HTTP invocation endpoint for the API destination.
invocationEndpoint
- The URL to the HTTP invocation endpoint for the API destination.public String getInvocationEndpoint()
The URL to the HTTP invocation endpoint for the API destination.
public CreateApiDestinationRequest withInvocationEndpoint(String invocationEndpoint)
The URL to the HTTP invocation endpoint for the API destination.
invocationEndpoint
- The URL to the HTTP invocation endpoint for the API destination.public void setHttpMethod(String httpMethod)
The method to use for the request to the HTTP invocation endpoint.
httpMethod
- The method to use for the request to the HTTP invocation endpoint.ApiDestinationHttpMethod
public String getHttpMethod()
The method to use for the request to the HTTP invocation endpoint.
ApiDestinationHttpMethod
public CreateApiDestinationRequest withHttpMethod(String httpMethod)
The method to use for the request to the HTTP invocation endpoint.
httpMethod
- The method to use for the request to the HTTP invocation endpoint.ApiDestinationHttpMethod
public CreateApiDestinationRequest withHttpMethod(ApiDestinationHttpMethod httpMethod)
The method to use for the request to the HTTP invocation endpoint.
httpMethod
- The method to use for the request to the HTTP invocation endpoint.ApiDestinationHttpMethod
public void setInvocationRateLimitPerSecond(Integer invocationRateLimitPerSecond)
The maximum number of requests per second to send to the HTTP invocation endpoint.
invocationRateLimitPerSecond
- The maximum number of requests per second to send to the HTTP invocation endpoint.public Integer getInvocationRateLimitPerSecond()
The maximum number of requests per second to send to the HTTP invocation endpoint.
public CreateApiDestinationRequest withInvocationRateLimitPerSecond(Integer invocationRateLimitPerSecond)
The maximum number of requests per second to send to the HTTP invocation endpoint.
invocationRateLimitPerSecond
- The maximum number of requests per second to send to the HTTP invocation endpoint.public String toString()
toString
in class Object
Object.toString()
public CreateApiDestinationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()