@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApiGatewayProxyInput extends Object implements Serializable, Cloneable, StructuredPojo
A wrapper object holding the Amazon API Gateway endpoint input.
| Constructor and Description |
|---|
ApiGatewayProxyInput() |
| Modifier and Type | Method and Description |
|---|---|
ApiGatewayProxyInput |
clone() |
boolean |
equals(Object obj) |
String |
getEndpointType()
The type of endpoint to use for the API Gateway proxy.
|
String |
getStageName()
The name of the API Gateway stage.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEndpointType(String endpointType)
The type of endpoint to use for the API Gateway proxy.
|
void |
setStageName(String stageName)
The name of the API Gateway stage.
|
String |
toString()
Returns a string representation of this object.
|
ApiGatewayProxyInput |
withEndpointType(ApiGatewayEndpointType endpointType)
The type of endpoint to use for the API Gateway proxy.
|
ApiGatewayProxyInput |
withEndpointType(String endpointType)
The type of endpoint to use for the API Gateway proxy.
|
ApiGatewayProxyInput |
withStageName(String stageName)
The name of the API Gateway stage.
|
public void setEndpointType(String endpointType)
The type of endpoint to use for the API Gateway proxy. If no value is specified in the request, the value is set
to REGIONAL by default.
If the value is set to PRIVATE in the request, this creates a private API endpoint that is isolated
from the public internet. The private endpoint can only be accessed by using Amazon Virtual Private Cloud (Amazon
VPC) interface endpoints for the Amazon API Gateway that has been granted access. For more information about
creating a private connection with Refactor Spaces and interface endpoint (Amazon Web Services PrivateLink)
availability, see Access Refactor Spaces using an interface endpoint (Amazon Web Services PrivateLink).
endpointType - The type of endpoint to use for the API Gateway proxy. If no value is specified in the request, the value
is set to REGIONAL by default.
If the value is set to PRIVATE in the request, this creates a private API endpoint that is
isolated from the public internet. The private endpoint can only be accessed by using Amazon Virtual
Private Cloud (Amazon VPC) interface endpoints for the Amazon API Gateway that has been granted access.
For more information about creating a private connection with Refactor Spaces and interface endpoint
(Amazon Web Services PrivateLink) availability, see Access Refactor Spaces using an interface endpoint (Amazon Web Services PrivateLink).
ApiGatewayEndpointTypepublic String getEndpointType()
The type of endpoint to use for the API Gateway proxy. If no value is specified in the request, the value is set
to REGIONAL by default.
If the value is set to PRIVATE in the request, this creates a private API endpoint that is isolated
from the public internet. The private endpoint can only be accessed by using Amazon Virtual Private Cloud (Amazon
VPC) interface endpoints for the Amazon API Gateway that has been granted access. For more information about
creating a private connection with Refactor Spaces and interface endpoint (Amazon Web Services PrivateLink)
availability, see Access Refactor Spaces using an interface endpoint (Amazon Web Services PrivateLink).
REGIONAL by default.
If the value is set to PRIVATE in the request, this creates a private API endpoint that is
isolated from the public internet. The private endpoint can only be accessed by using Amazon Virtual
Private Cloud (Amazon VPC) interface endpoints for the Amazon API Gateway that has been granted access.
For more information about creating a private connection with Refactor Spaces and interface endpoint
(Amazon Web Services PrivateLink) availability, see Access Refactor Spaces using an interface endpoint (Amazon Web Services PrivateLink).
ApiGatewayEndpointTypepublic ApiGatewayProxyInput withEndpointType(String endpointType)
The type of endpoint to use for the API Gateway proxy. If no value is specified in the request, the value is set
to REGIONAL by default.
If the value is set to PRIVATE in the request, this creates a private API endpoint that is isolated
from the public internet. The private endpoint can only be accessed by using Amazon Virtual Private Cloud (Amazon
VPC) interface endpoints for the Amazon API Gateway that has been granted access. For more information about
creating a private connection with Refactor Spaces and interface endpoint (Amazon Web Services PrivateLink)
availability, see Access Refactor Spaces using an interface endpoint (Amazon Web Services PrivateLink).
endpointType - The type of endpoint to use for the API Gateway proxy. If no value is specified in the request, the value
is set to REGIONAL by default.
If the value is set to PRIVATE in the request, this creates a private API endpoint that is
isolated from the public internet. The private endpoint can only be accessed by using Amazon Virtual
Private Cloud (Amazon VPC) interface endpoints for the Amazon API Gateway that has been granted access.
For more information about creating a private connection with Refactor Spaces and interface endpoint
(Amazon Web Services PrivateLink) availability, see Access Refactor Spaces using an interface endpoint (Amazon Web Services PrivateLink).
ApiGatewayEndpointTypepublic ApiGatewayProxyInput withEndpointType(ApiGatewayEndpointType endpointType)
The type of endpoint to use for the API Gateway proxy. If no value is specified in the request, the value is set
to REGIONAL by default.
If the value is set to PRIVATE in the request, this creates a private API endpoint that is isolated
from the public internet. The private endpoint can only be accessed by using Amazon Virtual Private Cloud (Amazon
VPC) interface endpoints for the Amazon API Gateway that has been granted access. For more information about
creating a private connection with Refactor Spaces and interface endpoint (Amazon Web Services PrivateLink)
availability, see Access Refactor Spaces using an interface endpoint (Amazon Web Services PrivateLink).
endpointType - The type of endpoint to use for the API Gateway proxy. If no value is specified in the request, the value
is set to REGIONAL by default.
If the value is set to PRIVATE in the request, this creates a private API endpoint that is
isolated from the public internet. The private endpoint can only be accessed by using Amazon Virtual
Private Cloud (Amazon VPC) interface endpoints for the Amazon API Gateway that has been granted access.
For more information about creating a private connection with Refactor Spaces and interface endpoint
(Amazon Web Services PrivateLink) availability, see Access Refactor Spaces using an interface endpoint (Amazon Web Services PrivateLink).
ApiGatewayEndpointTypepublic void setStageName(String stageName)
The name of the API Gateway stage. The name defaults to prod.
stageName - The name of the API Gateway stage. The name defaults to prod.public String getStageName()
The name of the API Gateway stage. The name defaults to prod.
prod.public ApiGatewayProxyInput withStageName(String stageName)
The name of the API Gateway stage. The name defaults to prod.
stageName - The name of the API Gateway stage. The name defaults to prod.public String toString()
toString in class ObjectObject.toString()public ApiGatewayProxyInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.