Package com.amazonaws.partitions.model
Class Endpoint
- java.lang.Object
-
- com.amazonaws.partitions.model.Endpoint
-
public class Endpoint extends Object
Endpoint configuration.
-
-
Constructor Summary
Constructors Constructor Description Endpoint()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CredentialScopegetCredentialScope()returns credential scope for the endpoint.StringgetHostName()returns the endpoint string.Set<String>getProtocols()returns the supported schemes for the endpoint.Set<String>getSignatureVersions()returns the supported signature versions of the endpoint.StringgetSslCommonName()returns the ssl common name for the endpoint.booleanhasHttpsSupport()A convienient methods that returns true if the endpoint support HTTPS scheme.booleanhasHttpSupport()A convienient methods that returns true if the endpoint support HTTP scheme.static Endpointmerge(Endpoint defaults, Endpoint override)Merges the given endpoints and returns the merged one.voidsetCredentialScope(CredentialScope credentialScope)sets the credential scope for the endpoint.voidsetHostName(String hostName)sets the endpoint string.voidsetProtocols(Set<String> protocols)sets the supported schemes for the endpoint.voidsetSignatureVersions(Set<String> signatureVersions)returns the supported signature versions of the endpoint.voidsetSslCommonName(String sslCommonName)sets the ssl common name for the endpoint.
-
-
-
Method Detail
-
merge
public static Endpoint merge(Endpoint defaults, Endpoint override)
Merges the given endpoints and returns the merged one.
-
getHostName
public String getHostName()
returns the endpoint string.
-
setHostName
public void setHostName(String hostName)
sets the endpoint string.
-
getCredentialScope
public CredentialScope getCredentialScope()
returns credential scope for the endpoint.
-
setCredentialScope
public void setCredentialScope(CredentialScope credentialScope)
sets the credential scope for the endpoint.
-
setProtocols
public void setProtocols(Set<String> protocols)
sets the supported schemes for the endpoint.
-
getSignatureVersions
public Set<String> getSignatureVersions()
returns the supported signature versions of the endpoint.
-
setSignatureVersions
public void setSignatureVersions(Set<String> signatureVersions)
returns the supported signature versions of the endpoint.
-
getSslCommonName
public String getSslCommonName()
returns the ssl common name for the endpoint.
-
setSslCommonName
public void setSslCommonName(String sslCommonName)
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.
-
-