@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EndpointConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has.
Constructor and Description |
---|
EndpointConfiguration() |
Modifier and Type | Method and Description |
---|---|
EndpointConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getTypes()
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName).
|
List<String> |
getVpcEndpointIds()
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTypes(Collection<String> types)
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName).
|
void |
setVpcEndpointIds(Collection<String> vpcEndpointIds)
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes.
|
String |
toString()
Returns a string representation of this object.
|
EndpointConfiguration |
withTypes(Collection<String> types)
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName).
|
EndpointConfiguration |
withTypes(EndpointType... types)
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName).
|
EndpointConfiguration |
withTypes(String... types)
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName).
|
EndpointConfiguration |
withVpcEndpointIds(Collection<String> vpcEndpointIds)
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes.
|
EndpointConfiguration |
withVpcEndpointIds(String... vpcEndpointIds)
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes.
|
public List<String> getTypes()
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an
edge-optimized API and its custom domain name, the endpoint type is "EDGE"
. For a regional API and
its custom domain name, the endpoint type is REGIONAL
. For a private API, the endpoint type is
PRIVATE
.
"EDGE"
. For a regional
API and its custom domain name, the endpoint type is REGIONAL
. For a private API, the
endpoint type is PRIVATE
.EndpointType
public void setTypes(Collection<String> types)
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an
edge-optimized API and its custom domain name, the endpoint type is "EDGE"
. For a regional API and
its custom domain name, the endpoint type is REGIONAL
. For a private API, the endpoint type is
PRIVATE
.
types
- A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an
edge-optimized API and its custom domain name, the endpoint type is "EDGE"
. For a regional
API and its custom domain name, the endpoint type is REGIONAL
. For a private API, the
endpoint type is PRIVATE
.EndpointType
public EndpointConfiguration withTypes(String... types)
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an
edge-optimized API and its custom domain name, the endpoint type is "EDGE"
. For a regional API and
its custom domain name, 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 of an API (RestApi) or its custom domain name (DomainName). For an
edge-optimized API and its custom domain name, the endpoint type is "EDGE"
. For a regional
API and its custom domain name, the endpoint type is REGIONAL
. For a private API, the
endpoint type is PRIVATE
.EndpointType
public EndpointConfiguration withTypes(Collection<String> types)
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an
edge-optimized API and its custom domain name, the endpoint type is "EDGE"
. For a regional API and
its custom domain name, the endpoint type is REGIONAL
. For a private API, the endpoint type is
PRIVATE
.
types
- A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an
edge-optimized API and its custom domain name, the endpoint type is "EDGE"
. For a regional
API and its custom domain name, the endpoint type is REGIONAL
. For a private API, the
endpoint type is PRIVATE
.EndpointType
public EndpointConfiguration withTypes(EndpointType... types)
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an
edge-optimized API and its custom domain name, the endpoint type is "EDGE"
. For a regional API and
its custom domain name, the endpoint type is REGIONAL
. For a private API, the endpoint type is
PRIVATE
.
types
- A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an
edge-optimized API and its custom domain name, the endpoint type is "EDGE"
. For a regional
API and its custom domain name, the endpoint type is REGIONAL
. For a private API, the
endpoint type is PRIVATE
.EndpointType
public List<String> getVpcEndpointIds()
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported
for PRIVATE
endpoint type.
PRIVATE
endpoint type.public void setVpcEndpointIds(Collection<String> vpcEndpointIds)
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported
for PRIVATE
endpoint type.
vpcEndpointIds
- A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only
supported for PRIVATE
endpoint type.public EndpointConfiguration withVpcEndpointIds(String... vpcEndpointIds)
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported
for PRIVATE
endpoint type.
NOTE: This method appends the values to the existing list (if any). Use
setVpcEndpointIds(java.util.Collection)
or withVpcEndpointIds(java.util.Collection)
if you want
to override the existing values.
vpcEndpointIds
- A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only
supported for PRIVATE
endpoint type.public EndpointConfiguration withVpcEndpointIds(Collection<String> vpcEndpointIds)
A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported
for PRIVATE
endpoint type.
vpcEndpointIds
- A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only
supported for PRIVATE
endpoint type.public String toString()
toString
in class Object
Object.toString()
public EndpointConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.