public class OriginUpdateParameters extends Object
| Constructor and Description |
|---|
OriginUpdateParameters() |
| 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.
|
OriginUpdateParameters |
withEnabled(Boolean enabled)
Set the enabled property: Origin is enabled for load balancing or not.
|
OriginUpdateParameters |
withHostname(String hostname)
Set the hostname property: The address of the origin.
|
OriginUpdateParameters |
withHttpPort(Integer httpPort)
Set the httpPort property: The value of the HTTP port.
|
OriginUpdateParameters |
withHttpsPort(Integer httpsPort)
Set the httpsPort property: The value of the HTTPS port.
|
OriginUpdateParameters |
withOriginHostHeader(String originHostHeader)
Set the originHostHeader property: The host header value sent to the origin with each request.
|
OriginUpdateParameters |
withPriority(Integer priority)
Set the priority property: Priority of origin in given origin group for load balancing.
|
OriginUpdateParameters |
withPrivateLinkAlias(String privateLinkAlias)
Set the privateLinkAlias property: The Alias of the Private Link resource.
|
OriginUpdateParameters |
withPrivateLinkApprovalMessage(String privateLinkApprovalMessage)
Set the privateLinkApprovalMessage property: A custom message to be included in the approval request to connect
to the Private Link.
|
OriginUpdateParameters |
withPrivateLinkLocation(String privateLinkLocation)
Set the privateLinkLocation property: The location of the Private Link resource.
|
OriginUpdateParameters |
withPrivateLinkResourceId(String privateLinkResourceId)
Set the privateLinkResourceId property: The Resource Id of the Private Link resource.
|
OriginUpdateParameters |
withWeight(Integer weight)
Set the weight property: Weight of the origin in given origin group for load balancing.
|
public String hostname()
public OriginUpdateParameters withHostname(String hostname)
hostname - the hostname value to set.public Integer httpPort()
public OriginUpdateParameters withHttpPort(Integer httpPort)
httpPort - the httpPort value to set.public Integer httpsPort()
public OriginUpdateParameters withHttpsPort(Integer httpsPort)
httpsPort - the httpsPort value to set.public String originHostHeader()
public OriginUpdateParameters withOriginHostHeader(String originHostHeader)
originHostHeader - the originHostHeader value to set.public Integer priority()
public OriginUpdateParameters withPriority(Integer priority)
priority - the priority value to set.public Integer weight()
public OriginUpdateParameters withWeight(Integer weight)
weight - the weight value to set.public Boolean enabled()
public OriginUpdateParameters withEnabled(Boolean enabled)
enabled - the enabled value to set.public String privateLinkAlias()
public OriginUpdateParameters withPrivateLinkAlias(String privateLinkAlias)
privateLinkAlias - the privateLinkAlias value to set.public String privateLinkResourceId()
public OriginUpdateParameters withPrivateLinkResourceId(String privateLinkResourceId)
privateLinkResourceId - the privateLinkResourceId value to set.public String privateLinkLocation()
public OriginUpdateParameters withPrivateLinkLocation(String privateLinkLocation)
privateLinkLocation - the privateLinkLocation value to set.public String privateLinkApprovalMessage()
public OriginUpdateParameters 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.