Package com.amazonaws.partitions.model
Class Endpoint
java.lang.Object
com.amazonaws.partitions.model.Endpoint
Endpoint configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturns credential scope for the endpoint.returns the endpoint string.returns the supported schemes for the endpoint.returns the supported signature versions of the endpoint.returns the ssl common name for the endpoint.boolean
A convienient methods that returns true if the endpoint support HTTPS scheme.boolean
A convienient methods that returns true if the endpoint support HTTP scheme.static Endpoint
Merges the given endpoints and returns the merged one.void
setCredentialScope
(CredentialScope credentialScope) sets the credential scope for the endpoint.void
setHostName
(String hostName) sets the endpoint string.void
setProtocols
(Set<String> protocols) sets the supported schemes for the endpoint.void
setSignatureVersions
(Set<String> signatureVersions) returns the supported signature versions of the endpoint.void
setSslCommonName
(String sslCommonName) sets the ssl common name for the endpoint.
-
Constructor Details
-
Endpoint
public Endpoint()
-
-
Method Details
-
merge
Merges the given endpoints and returns the merged one. -
getHostName
returns the endpoint string. -
setHostName
sets the endpoint string. -
getCredentialScope
returns credential scope for the endpoint. -
setCredentialScope
sets the credential scope for the endpoint. -
getProtocols
returns the supported schemes for the endpoint. -
setProtocols
sets the supported schemes for the endpoint. -
getSignatureVersions
returns the supported signature versions of the endpoint. -
setSignatureVersions
returns the supported signature versions of the endpoint. -
getSslCommonName
returns the ssl common name for the endpoint. -
setSslCommonName
sets the ssl common name for the endpoint. -
hasHttpsSupport
public boolean hasHttpsSupport()A convienient methods that returns true if the endpoint support HTTPS scheme. Returns false otherwise. -
hasHttpSupport
public boolean hasHttpSupport()A convienient methods that returns true if the endpoint support HTTP scheme. Returns false otherwise.
-