@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsApiGatewayEndpointConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the endpoints for the API.
Constructor and Description |
---|
AwsApiGatewayEndpointConfiguration() |
Modifier and Type | Method and Description |
---|---|
AwsApiGatewayEndpointConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getTypes()
A list of endpoint types for the REST API.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTypes(Collection<String> types)
A list of endpoint types for the REST API.
|
String |
toString()
Returns a string representation of this object.
|
AwsApiGatewayEndpointConfiguration |
withTypes(Collection<String> types)
A list of endpoint types for the REST API.
|
AwsApiGatewayEndpointConfiguration |
withTypes(String... types)
A list of endpoint types for the REST API.
|
public List<String> getTypes()
A list of endpoint types for the REST API.
For an edge-optimized API, the endpoint type is EDGE
. For a Regional API, the endpoint type is
REGIONAL
. For a private API, the endpoint type is PRIVATE
.
For an edge-optimized API, the endpoint type is EDGE
. For a Regional API, the endpoint type
is REGIONAL
. For a private API, the endpoint type is PRIVATE
.
public void setTypes(Collection<String> types)
A list of endpoint types for the REST API.
For an edge-optimized API, the endpoint type is EDGE
. For a Regional API, the endpoint type is
REGIONAL
. For a private API, the endpoint type is PRIVATE
.
types
- A list of endpoint types for the REST API.
For an edge-optimized API, the endpoint type is EDGE
. For a Regional API, the endpoint type
is REGIONAL
. For a private API, the endpoint type is PRIVATE
.
public AwsApiGatewayEndpointConfiguration withTypes(String... types)
A list of endpoint types for the REST API.
For an edge-optimized API, the endpoint type is EDGE
. For a Regional API, the endpoint type is
REGIONAL
. For a private API, the endpoint type is PRIVATE
.
NOTE: This method appends the values to the existing list (if any). Use
setTypes(java.util.Collection)
or withTypes(java.util.Collection)
if you want to override the
existing values.
types
- A list of endpoint types for the REST API.
For an edge-optimized API, the endpoint type is EDGE
. For a Regional API, the endpoint type
is REGIONAL
. For a private API, the endpoint type is PRIVATE
.
public AwsApiGatewayEndpointConfiguration withTypes(Collection<String> types)
A list of endpoint types for the REST API.
For an edge-optimized API, the endpoint type is EDGE
. For a Regional API, the endpoint type is
REGIONAL
. For a private API, the endpoint type is PRIVATE
.
types
- A list of endpoint types for the REST API.
For an edge-optimized API, the endpoint type is EDGE
. For a Regional API, the endpoint type
is REGIONAL
. For a private API, the endpoint type is PRIVATE
.
public String toString()
toString
in class Object
Object.toString()
public AwsApiGatewayEndpointConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.