@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).
|
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).
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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).
|
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
.
"EDGE"
. For a regional
API and its custom domain name, the endpoint type is REGIONAL
.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
.
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
.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
.
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
.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
.
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
.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
.
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
.EndpointType
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.