public final class OriginProperties extends OriginUpdatePropertiesParameters
| Constructor and Description |
|---|
OriginProperties() |
| Modifier and Type | Method and Description |
|---|---|
PrivateEndpointStatus |
privateEndpointStatus()
Get the privateEndpointStatus property: The approval status for the connection to the Private Link.
|
String |
provisioningState()
Get the provisioningState property: Provisioning status of the origin.
|
OriginResourceState |
resourceState()
Get the resourceState property: Resource status of the origin.
|
void |
validate()
Validates the instance.
|
OriginProperties |
withEnabled(Boolean enabled)
Set the enabled property: Origin is enabled for load balancing or not.
|
OriginProperties |
withHostname(String hostname)
Set the hostname property: The address of the origin.
|
OriginProperties |
withHttpPort(Integer httpPort)
Set the httpPort property: The value of the HTTP port.
|
OriginProperties |
withHttpsPort(Integer httpsPort)
Set the httpsPort property: The value of the HTTPS port.
|
OriginProperties |
withOriginHostHeader(String originHostHeader)
Set the originHostHeader property: The host header value sent to the origin with each request.
|
OriginProperties |
withPriority(Integer priority)
Set the priority property: Priority of origin in given origin group for load balancing.
|
OriginProperties |
withPrivateLinkAlias(String privateLinkAlias)
Set the privateLinkAlias property: The Alias of the Private Link resource.
|
OriginProperties |
withPrivateLinkApprovalMessage(String privateLinkApprovalMessage)
Set the privateLinkApprovalMessage property: A custom message to be included in the approval request to connect
to the Private Link.
|
OriginProperties |
withPrivateLinkLocation(String privateLinkLocation)
Set the privateLinkLocation property: The location of the Private Link resource.
|
OriginProperties |
withPrivateLinkResourceId(String privateLinkResourceId)
Set the privateLinkResourceId property: The Resource Id of the Private Link resource.
|
OriginProperties |
withWeight(Integer weight)
Set the weight property: Weight of the origin in given origin group for load balancing.
|
enabled, hostname, httpPort, httpsPort, originHostHeader, priority, privateLinkAlias, privateLinkApprovalMessage, privateLinkLocation, privateLinkResourceId, weightpublic OriginResourceState resourceState()
public String provisioningState()
public PrivateEndpointStatus privateEndpointStatus()
public OriginProperties withHostname(String hostname)
withHostname in class OriginUpdatePropertiesParametershostname - the hostname value to set.public OriginProperties withHttpPort(Integer httpPort)
withHttpPort in class OriginUpdatePropertiesParametershttpPort - the httpPort value to set.public OriginProperties withHttpsPort(Integer httpsPort)
withHttpsPort in class OriginUpdatePropertiesParametershttpsPort - the httpsPort value to set.public OriginProperties withOriginHostHeader(String originHostHeader)
withOriginHostHeader in class OriginUpdatePropertiesParametersoriginHostHeader - the originHostHeader value to set.public OriginProperties withPriority(Integer priority)
withPriority in class OriginUpdatePropertiesParameterspriority - the priority value to set.public OriginProperties withWeight(Integer weight)
withWeight in class OriginUpdatePropertiesParametersweight - the weight value to set.public OriginProperties withEnabled(Boolean enabled)
withEnabled in class OriginUpdatePropertiesParametersenabled - the enabled value to set.public OriginProperties withPrivateLinkAlias(String privateLinkAlias)
withPrivateLinkAlias in class OriginUpdatePropertiesParametersprivateLinkAlias - the privateLinkAlias value to set.public OriginProperties withPrivateLinkResourceId(String privateLinkResourceId)
withPrivateLinkResourceId in class OriginUpdatePropertiesParametersprivateLinkResourceId - the privateLinkResourceId value to set.public OriginProperties withPrivateLinkLocation(String privateLinkLocation)
withPrivateLinkLocation in class OriginUpdatePropertiesParametersprivateLinkLocation - the privateLinkLocation value to set.public OriginProperties withPrivateLinkApprovalMessage(String privateLinkApprovalMessage)
withPrivateLinkApprovalMessage in class OriginUpdatePropertiesParametersprivateLinkApprovalMessage - the privateLinkApprovalMessage value to set.public void validate()
validate in class OriginUpdatePropertiesParametersIllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.