@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApiDestination extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about an API destination.
Constructor and Description |
---|
ApiDestination() |
Modifier and Type | Method and Description |
---|---|
ApiDestination |
clone() |
boolean |
equals(Object obj) |
String |
getApiDestinationArn()
The ARN of the API destination.
|
String |
getApiDestinationState()
The state of the API destination.
|
String |
getConnectionArn()
The ARN of the connection specified for the API destination.
|
Date |
getCreationTime()
A time stamp for the time that the API destination was created.
|
String |
getHttpMethod()
The method to use to connect to the HTTP endpoint.
|
String |
getInvocationEndpoint()
The URL to the endpoint for the API destination.
|
Integer |
getInvocationRateLimitPerSecond()
The maximum number of invocations per second to send to the HTTP endpoint.
|
Date |
getLastModifiedTime()
A time stamp for the time that the API destination was last modified.
|
String |
getName()
The name of the API destination.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApiDestinationArn(String apiDestinationArn)
The ARN of the API destination.
|
void |
setApiDestinationState(String apiDestinationState)
The state of the API destination.
|
void |
setConnectionArn(String connectionArn)
The ARN of the connection specified for the API destination.
|
void |
setCreationTime(Date creationTime)
A time stamp for the time that the API destination was created.
|
void |
setHttpMethod(String httpMethod)
The method to use to connect to the HTTP endpoint.
|
void |
setInvocationEndpoint(String invocationEndpoint)
The URL to the endpoint for the API destination.
|
void |
setInvocationRateLimitPerSecond(Integer invocationRateLimitPerSecond)
The maximum number of invocations per second to send to the HTTP endpoint.
|
void |
setLastModifiedTime(Date lastModifiedTime)
A time stamp for the time that the API destination was last modified.
|
void |
setName(String name)
The name of the API destination.
|
String |
toString()
Returns a string representation of this object.
|
ApiDestination |
withApiDestinationArn(String apiDestinationArn)
The ARN of the API destination.
|
ApiDestination |
withApiDestinationState(ApiDestinationState apiDestinationState)
The state of the API destination.
|
ApiDestination |
withApiDestinationState(String apiDestinationState)
The state of the API destination.
|
ApiDestination |
withConnectionArn(String connectionArn)
The ARN of the connection specified for the API destination.
|
ApiDestination |
withCreationTime(Date creationTime)
A time stamp for the time that the API destination was created.
|
ApiDestination |
withHttpMethod(ApiDestinationHttpMethod httpMethod)
The method to use to connect to the HTTP endpoint.
|
ApiDestination |
withHttpMethod(String httpMethod)
The method to use to connect to the HTTP endpoint.
|
ApiDestination |
withInvocationEndpoint(String invocationEndpoint)
The URL to the endpoint for the API destination.
|
ApiDestination |
withInvocationRateLimitPerSecond(Integer invocationRateLimitPerSecond)
The maximum number of invocations per second to send to the HTTP endpoint.
|
ApiDestination |
withLastModifiedTime(Date lastModifiedTime)
A time stamp for the time that the API destination was last modified.
|
ApiDestination |
withName(String name)
The name of the API destination.
|
public void setApiDestinationArn(String apiDestinationArn)
The ARN of the API destination.
apiDestinationArn
- The ARN of the API destination.public String getApiDestinationArn()
The ARN of the API destination.
public ApiDestination withApiDestinationArn(String apiDestinationArn)
The ARN of the API destination.
apiDestinationArn
- The ARN of the API destination.public void setName(String name)
The name of the API destination.
name
- The name of the API destination.public String getName()
The name of the API destination.
public ApiDestination withName(String name)
The name of the API destination.
name
- The name of the API destination.public void setApiDestinationState(String apiDestinationState)
The state of the API destination.
apiDestinationState
- The state of the API destination.ApiDestinationState
public String getApiDestinationState()
The state of the API destination.
ApiDestinationState
public ApiDestination withApiDestinationState(String apiDestinationState)
The state of the API destination.
apiDestinationState
- The state of the API destination.ApiDestinationState
public ApiDestination withApiDestinationState(ApiDestinationState apiDestinationState)
The state of the API destination.
apiDestinationState
- The state of the API destination.ApiDestinationState
public void setConnectionArn(String connectionArn)
The ARN of the connection specified for the API destination.
connectionArn
- The ARN of the connection specified for the API destination.public String getConnectionArn()
The ARN of the connection specified for the API destination.
public ApiDestination withConnectionArn(String connectionArn)
The ARN of the connection specified for the API destination.
connectionArn
- The ARN of the connection specified for the API destination.public void setInvocationEndpoint(String invocationEndpoint)
The URL to the endpoint for the API destination.
invocationEndpoint
- The URL to the endpoint for the API destination.public String getInvocationEndpoint()
The URL to the endpoint for the API destination.
public ApiDestination withInvocationEndpoint(String invocationEndpoint)
The URL to the endpoint for the API destination.
invocationEndpoint
- The URL to the endpoint for the API destination.public void setHttpMethod(String httpMethod)
The method to use to connect to the HTTP endpoint.
httpMethod
- The method to use to connect to the HTTP endpoint.ApiDestinationHttpMethod
public String getHttpMethod()
The method to use to connect to the HTTP endpoint.
ApiDestinationHttpMethod
public ApiDestination withHttpMethod(String httpMethod)
The method to use to connect to the HTTP endpoint.
httpMethod
- The method to use to connect to the HTTP endpoint.ApiDestinationHttpMethod
public ApiDestination withHttpMethod(ApiDestinationHttpMethod httpMethod)
The method to use to connect to the HTTP endpoint.
httpMethod
- The method to use to connect to the HTTP endpoint.ApiDestinationHttpMethod
public void setInvocationRateLimitPerSecond(Integer invocationRateLimitPerSecond)
The maximum number of invocations per second to send to the HTTP endpoint.
invocationRateLimitPerSecond
- The maximum number of invocations per second to send to the HTTP endpoint.public Integer getInvocationRateLimitPerSecond()
The maximum number of invocations per second to send to the HTTP endpoint.
public ApiDestination withInvocationRateLimitPerSecond(Integer invocationRateLimitPerSecond)
The maximum number of invocations per second to send to the HTTP endpoint.
invocationRateLimitPerSecond
- The maximum number of invocations per second to send to the HTTP endpoint.public void setCreationTime(Date creationTime)
A time stamp for the time that the API destination was created.
creationTime
- A time stamp for the time that the API destination was created.public Date getCreationTime()
A time stamp for the time that the API destination was created.
public ApiDestination withCreationTime(Date creationTime)
A time stamp for the time that the API destination was created.
creationTime
- A time stamp for the time that the API destination was created.public void setLastModifiedTime(Date lastModifiedTime)
A time stamp for the time that the API destination was last modified.
lastModifiedTime
- A time stamp for the time that the API destination was last modified.public Date getLastModifiedTime()
A time stamp for the time that the API destination was last modified.
public ApiDestination withLastModifiedTime(Date lastModifiedTime)
A time stamp for the time that the API destination was last modified.
lastModifiedTime
- A time stamp for the time that the API destination was last modified.public String toString()
toString
in class Object
Object.toString()
public ApiDestination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.