ParentT
- the stage of the parent CDN profile definition to return to after attaching this definitionpublic static interface CdnEndpoint.DefinitionStages.WithPremiumAttach<ParentT> extends CdnEndpoint.DefinitionStages.AttachablePremium<ParentT>
At this stage, any remaining optional settings can be specified, or the CDN profile endpoint definition can be attached to the parent CDN profile definition.
Modifier and Type | Method and Description |
---|---|
CdnEndpoint.DefinitionStages.WithPremiumAttach<ParentT> |
withCustomDomain(String hostName)
Adds a new CDN custom domain for the endpoint.
|
CdnEndpoint.DefinitionStages.WithPremiumAttach<ParentT> |
withHostHeader(String hostHeader)
Specifies the host header.
|
CdnEndpoint.DefinitionStages.WithPremiumAttach<ParentT> |
withHttpAllowed(boolean httpAllowed)
Specifies if HTTP traffic is allowed.
|
CdnEndpoint.DefinitionStages.WithPremiumAttach<ParentT> |
withHttpPort(int httpPort)
Specifies the port for HTTP traffic.
|
CdnEndpoint.DefinitionStages.WithPremiumAttach<ParentT> |
withHttpsAllowed(boolean httpsAllowed)
Specifies if HTTPS traffic is allowed.
|
CdnEndpoint.DefinitionStages.WithPremiumAttach<ParentT> |
withHttpsPort(int httpsPort)
Specifies the port for HTTPS traffic.
|
CdnEndpoint.DefinitionStages.WithPremiumAttach<ParentT> |
withOriginPath(String originPath)
Specifies the origin path.
|
attach
CdnEndpoint.DefinitionStages.WithPremiumAttach<ParentT> withOriginPath(String originPath)
originPath
- an origin path.CdnEndpoint.DefinitionStages.WithPremiumAttach<ParentT> withHostHeader(String hostHeader)
hostHeader
- a host header.CdnEndpoint.DefinitionStages.WithPremiumAttach<ParentT> withHttpAllowed(boolean httpAllowed)
httpAllowed
- if true, then HTTP traffic will be allowedCdnEndpoint.DefinitionStages.WithPremiumAttach<ParentT> withHttpsAllowed(boolean httpsAllowed)
httpsAllowed
- if true then HTTPS traffic will be allowedCdnEndpoint.DefinitionStages.WithPremiumAttach<ParentT> withHttpPort(int httpPort)
httpPort
- a port number.CdnEndpoint.DefinitionStages.WithPremiumAttach<ParentT> withHttpsPort(int httpsPort)
httpsPort
- a port number.CdnEndpoint.DefinitionStages.WithPremiumAttach<ParentT> withCustomDomain(String hostName)
hostName
- a custom domain host nameCopyright © 2019. All rights reserved.