public class OriginUpdatePropertiesParameters extends Object
| Constructor and Description |
|---|
OriginUpdatePropertiesParameters() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
enabled()
Get the enabled property: Origin is enabled for load balancing or not.
|
String |
hostname()
Get the hostname property: The address of the origin.
|
Integer |
httpPort()
Get the httpPort property: The value of the HTTP port.
|
Integer |
httpsPort()
Get the httpsPort property: The value of the HTTPS port.
|
String |
originHostHeader()
Get the originHostHeader property: The host header value sent to the origin with each request.
|
Integer |
priority()
Get the priority property: Priority of origin in given origin group for load balancing.
|
String |
privateLinkAlias()
Get the privateLinkAlias property: The Alias of the Private Link resource.
|
String |
privateLinkApprovalMessage()
Get the privateLinkApprovalMessage property: A custom message to be included in the approval request to connect
to the Private Link.
|
String |
privateLinkLocation()
Get the privateLinkLocation property: The location of the Private Link resource.
|
String |
privateLinkResourceId()
Get the privateLinkResourceId property: The Resource Id of the Private Link resource.
|
void |
validate()
Validates the instance.
|
Integer |
weight()
Get the weight property: Weight of the origin in given origin group for load balancing.
|
OriginUpdatePropertiesParameters |
withEnabled(Boolean enabled)
Set the enabled property: Origin is enabled for load balancing or not.
|
OriginUpdatePropertiesParameters |
withHostname(String hostname)
Set the hostname property: The address of the origin.
|
OriginUpdatePropertiesParameters |
withHttpPort(Integer httpPort)
Set the httpPort property: The value of the HTTP port.
|
OriginUpdatePropertiesParameters |
withHttpsPort(Integer httpsPort)
Set the httpsPort property: The value of the HTTPS port.
|
OriginUpdatePropertiesParameters |
withOriginHostHeader(String originHostHeader)
Set the originHostHeader property: The host header value sent to the origin with each request.
|
OriginUpdatePropertiesParameters |
withPriority(Integer priority)
Set the priority property: Priority of origin in given origin group for load balancing.
|
OriginUpdatePropertiesParameters |
withPrivateLinkAlias(String privateLinkAlias)
Set the privateLinkAlias property: The Alias of the Private Link resource.
|
OriginUpdatePropertiesParameters |
withPrivateLinkApprovalMessage(String privateLinkApprovalMessage)
Set the privateLinkApprovalMessage property: A custom message to be included in the approval request to connect
to the Private Link.
|
OriginUpdatePropertiesParameters |
withPrivateLinkLocation(String privateLinkLocation)
Set the privateLinkLocation property: The location of the Private Link resource.
|
OriginUpdatePropertiesParameters |
withPrivateLinkResourceId(String privateLinkResourceId)
Set the privateLinkResourceId property: The Resource Id of the Private Link resource.
|
OriginUpdatePropertiesParameters |
withWeight(Integer weight)
Set the weight property: Weight of the origin in given origin group for load balancing.
|
public String hostname()
public OriginUpdatePropertiesParameters withHostname(String hostname)
hostname - the hostname value to set.public Integer httpPort()
public OriginUpdatePropertiesParameters withHttpPort(Integer httpPort)
httpPort - the httpPort value to set.public Integer httpsPort()
public OriginUpdatePropertiesParameters withHttpsPort(Integer httpsPort)
httpsPort - the httpsPort value to set.public String originHostHeader()
public OriginUpdatePropertiesParameters withOriginHostHeader(String originHostHeader)
originHostHeader - the originHostHeader value to set.public Integer priority()
public OriginUpdatePropertiesParameters withPriority(Integer priority)
priority - the priority value to set.public Integer weight()
public OriginUpdatePropertiesParameters withWeight(Integer weight)
weight - the weight value to set.public Boolean enabled()
public OriginUpdatePropertiesParameters withEnabled(Boolean enabled)
enabled - the enabled value to set.public String privateLinkAlias()
public OriginUpdatePropertiesParameters withPrivateLinkAlias(String privateLinkAlias)
privateLinkAlias - the privateLinkAlias value to set.public String privateLinkResourceId()
public OriginUpdatePropertiesParameters withPrivateLinkResourceId(String privateLinkResourceId)
privateLinkResourceId - the privateLinkResourceId value to set.public String privateLinkLocation()
public OriginUpdatePropertiesParameters withPrivateLinkLocation(String privateLinkLocation)
privateLinkLocation - the privateLinkLocation value to set.public String privateLinkApprovalMessage()
public OriginUpdatePropertiesParameters withPrivateLinkApprovalMessage(String privateLinkApprovalMessage)
privateLinkApprovalMessage - the privateLinkApprovalMessage value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.