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