azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.c...

342 строки
26 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters"
name: "OriginUpdateParameters"
nameWithType: "OriginUpdateParameters"
summary: "Origin properties needed for origin update."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **OriginUpdateParameters**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.cdn.models.OriginUpdateParameters?alt=com.azure.resourcemanager.cdn.models.OriginUpdateParameters&text=OriginUpdateParameters\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.OriginUpdateParameters()"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.OriginUpdateParameters()"
name: "OriginUpdateParameters()"
nameWithType: "OriginUpdateParameters.OriginUpdateParameters()"
summary: "Creates an instance of Origin<wbr>Update<wbr>Parameters class."
syntax: "public OriginUpdateParameters()"
desc: "Creates an instance of OriginUpdateParameters class."
methods:
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.enabled()"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.enabled()"
name: "enabled()"
nameWithType: "OriginUpdateParameters.enabled()"
summary: "Get the enabled property: Origin is enabled for load balancing or not."
syntax: "public Boolean enabled()"
desc: "Get the enabled property: Origin is enabled for load balancing or not."
returns:
description: "the enabled value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "OriginUpdateParameters.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Origin<wbr>Update<wbr>Parameters from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static OriginUpdateParameters fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the OriginUpdateParameters."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of OriginUpdateParameters from the JsonReader."
returns:
description: "An instance of OriginUpdateParameters if the JsonReader was pointing to an instance of it, or null if it\n was pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.cdn.models.OriginUpdateParameters?alt=com.azure.resourcemanager.cdn.models.OriginUpdateParameters&text=OriginUpdateParameters\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.hostname()"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.hostname()"
name: "hostname()"
nameWithType: "OriginUpdateParameters.hostname()"
summary: "Get the hostname property: The address of the origin."
syntax: "public String hostname()"
desc: "Get the hostname property: The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint."
returns:
description: "the hostname value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.httpPort()"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.httpPort()"
name: "httpPort()"
nameWithType: "OriginUpdateParameters.httpPort()"
summary: "Get the http<wbr>Port property: The value of the HTTP port."
syntax: "public Integer httpPort()"
desc: "Get the httpPort property: The value of the HTTP port. Must be between 1 and 65535."
returns:
description: "the httpPort value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.httpsPort()"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.httpsPort()"
name: "httpsPort()"
nameWithType: "OriginUpdateParameters.httpsPort()"
summary: "Get the https<wbr>Port property: The value of the HTTPS port."
syntax: "public Integer httpsPort()"
desc: "Get the httpsPort property: The value of the HTTPS port. Must be between 1 and 65535."
returns:
description: "the httpsPort value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.originHostHeader()"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.originHostHeader()"
name: "originHostHeader()"
nameWithType: "OriginUpdateParameters.originHostHeader()"
summary: "Get the origin<wbr>Host<wbr>Header property: The host header value sent to the origin with each request."
syntax: "public String originHostHeader()"
desc: "Get the originHostHeader property: The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint."
returns:
description: "the originHostHeader value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.priority()"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.priority()"
name: "priority()"
nameWithType: "OriginUpdateParameters.priority()"
summary: "Get the priority property: Priority of origin in given origin group for load balancing."
syntax: "public Integer priority()"
desc: "Get the priority property: Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5."
returns:
description: "the priority value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.privateLinkAlias()"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.privateLinkAlias()"
name: "privateLinkAlias()"
nameWithType: "OriginUpdateParameters.privateLinkAlias()"
summary: "Get the private<wbr>Link<wbr>Alias property: The Alias of the Private Link resource."
syntax: "public String privateLinkAlias()"
desc: "Get the privateLinkAlias property: The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'."
returns:
description: "the privateLinkAlias value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.privateLinkApprovalMessage()"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.privateLinkApprovalMessage()"
name: "privateLinkApprovalMessage()"
nameWithType: "OriginUpdateParameters.privateLinkApprovalMessage()"
summary: "Get the private<wbr>Link<wbr>Approval<wbr>Message property: A custom message to be included in the approval request to connect to the Private Link."
syntax: "public String privateLinkApprovalMessage()"
desc: "Get the privateLinkApprovalMessage property: A custom message to be included in the approval request to connect to the Private Link."
returns:
description: "the privateLinkApprovalMessage value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.privateLinkLocation()"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.privateLinkLocation()"
name: "privateLinkLocation()"
nameWithType: "OriginUpdateParameters.privateLinkLocation()"
summary: "Get the private<wbr>Link<wbr>Location property: The location of the Private Link resource."
syntax: "public String privateLinkLocation()"
desc: "Get the privateLinkLocation property: The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated."
returns:
description: "the privateLinkLocation value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.privateLinkResourceId()"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.privateLinkResourceId()"
name: "privateLinkResourceId()"
nameWithType: "OriginUpdateParameters.privateLinkResourceId()"
summary: "Get the private<wbr>Link<wbr>Resource<wbr>Id property: The Resource Id of the Private Link resource."
syntax: "public String privateLinkResourceId()"
desc: "Get the privateLinkResourceId property: The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'."
returns:
description: "the privateLinkResourceId value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "OriginUpdateParameters.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.validate()"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.validate()"
name: "validate()"
nameWithType: "OriginUpdateParameters.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.weight()"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.weight()"
name: "weight()"
nameWithType: "OriginUpdateParameters.weight()"
summary: "Get the weight property: Weight of the origin in given origin group for load balancing."
syntax: "public Integer weight()"
desc: "Get the weight property: Weight of the origin in given origin group for load balancing. Must be between 1 and 1000."
returns:
description: "the weight value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withEnabled(java.lang.Boolean)"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withEnabled(Boolean enabled)"
name: "withEnabled(Boolean enabled)"
nameWithType: "OriginUpdateParameters.withEnabled(Boolean enabled)"
summary: "Set the enabled property: Origin is enabled for load balancing or not."
parameters:
- description: "the enabled value to set."
name: "enabled"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public OriginUpdateParameters withEnabled(Boolean enabled)"
desc: "Set the enabled property: Origin is enabled for load balancing or not."
returns:
description: "the OriginUpdateParameters object itself."
type: "<xref href=\"com.azure.resourcemanager.cdn.models.OriginUpdateParameters?alt=com.azure.resourcemanager.cdn.models.OriginUpdateParameters&text=OriginUpdateParameters\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withHostname(java.lang.String)"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withHostname(String hostname)"
name: "withHostname(String hostname)"
nameWithType: "OriginUpdateParameters.withHostname(String hostname)"
summary: "Set the hostname property: The address of the origin."
parameters:
- description: "the hostname value to set."
name: "hostname"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OriginUpdateParameters withHostname(String hostname)"
desc: "Set the hostname property: The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint."
returns:
description: "the OriginUpdateParameters object itself."
type: "<xref href=\"com.azure.resourcemanager.cdn.models.OriginUpdateParameters?alt=com.azure.resourcemanager.cdn.models.OriginUpdateParameters&text=OriginUpdateParameters\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withHttpPort(java.lang.Integer)"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withHttpPort(Integer httpPort)"
name: "withHttpPort(Integer httpPort)"
nameWithType: "OriginUpdateParameters.withHttpPort(Integer httpPort)"
summary: "Set the http<wbr>Port property: The value of the HTTP port."
parameters:
- description: "the httpPort value to set."
name: "httpPort"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public OriginUpdateParameters withHttpPort(Integer httpPort)"
desc: "Set the httpPort property: The value of the HTTP port. Must be between 1 and 65535."
returns:
description: "the OriginUpdateParameters object itself."
type: "<xref href=\"com.azure.resourcemanager.cdn.models.OriginUpdateParameters?alt=com.azure.resourcemanager.cdn.models.OriginUpdateParameters&text=OriginUpdateParameters\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withHttpsPort(java.lang.Integer)"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withHttpsPort(Integer httpsPort)"
name: "withHttpsPort(Integer httpsPort)"
nameWithType: "OriginUpdateParameters.withHttpsPort(Integer httpsPort)"
summary: "Set the https<wbr>Port property: The value of the HTTPS port."
parameters:
- description: "the httpsPort value to set."
name: "httpsPort"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public OriginUpdateParameters withHttpsPort(Integer httpsPort)"
desc: "Set the httpsPort property: The value of the HTTPS port. Must be between 1 and 65535."
returns:
description: "the OriginUpdateParameters object itself."
type: "<xref href=\"com.azure.resourcemanager.cdn.models.OriginUpdateParameters?alt=com.azure.resourcemanager.cdn.models.OriginUpdateParameters&text=OriginUpdateParameters\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withOriginHostHeader(java.lang.String)"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withOriginHostHeader(String originHostHeader)"
name: "withOriginHostHeader(String originHostHeader)"
nameWithType: "OriginUpdateParameters.withOriginHostHeader(String originHostHeader)"
summary: "Set the origin<wbr>Host<wbr>Header property: The host header value sent to the origin with each request."
parameters:
- description: "the originHostHeader value to set."
name: "originHostHeader"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OriginUpdateParameters withOriginHostHeader(String originHostHeader)"
desc: "Set the originHostHeader property: The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint."
returns:
description: "the OriginUpdateParameters object itself."
type: "<xref href=\"com.azure.resourcemanager.cdn.models.OriginUpdateParameters?alt=com.azure.resourcemanager.cdn.models.OriginUpdateParameters&text=OriginUpdateParameters\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withPriority(java.lang.Integer)"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withPriority(Integer priority)"
name: "withPriority(Integer priority)"
nameWithType: "OriginUpdateParameters.withPriority(Integer priority)"
summary: "Set the priority property: Priority of origin in given origin group for load balancing."
parameters:
- description: "the priority value to set."
name: "priority"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public OriginUpdateParameters withPriority(Integer priority)"
desc: "Set the priority property: Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5."
returns:
description: "the OriginUpdateParameters object itself."
type: "<xref href=\"com.azure.resourcemanager.cdn.models.OriginUpdateParameters?alt=com.azure.resourcemanager.cdn.models.OriginUpdateParameters&text=OriginUpdateParameters\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withPrivateLinkAlias(java.lang.String)"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withPrivateLinkAlias(String privateLinkAlias)"
name: "withPrivateLinkAlias(String privateLinkAlias)"
nameWithType: "OriginUpdateParameters.withPrivateLinkAlias(String privateLinkAlias)"
summary: "Set the private<wbr>Link<wbr>Alias property: The Alias of the Private Link resource."
parameters:
- description: "the privateLinkAlias value to set."
name: "privateLinkAlias"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OriginUpdateParameters withPrivateLinkAlias(String privateLinkAlias)"
desc: "Set the privateLinkAlias property: The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'."
returns:
description: "the OriginUpdateParameters object itself."
type: "<xref href=\"com.azure.resourcemanager.cdn.models.OriginUpdateParameters?alt=com.azure.resourcemanager.cdn.models.OriginUpdateParameters&text=OriginUpdateParameters\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withPrivateLinkApprovalMessage(java.lang.String)"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withPrivateLinkApprovalMessage(String privateLinkApprovalMessage)"
name: "withPrivateLinkApprovalMessage(String privateLinkApprovalMessage)"
nameWithType: "OriginUpdateParameters.withPrivateLinkApprovalMessage(String privateLinkApprovalMessage)"
summary: "Set the private<wbr>Link<wbr>Approval<wbr>Message property: A custom message to be included in the approval request to connect to the Private Link."
parameters:
- description: "the privateLinkApprovalMessage value to set."
name: "privateLinkApprovalMessage"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OriginUpdateParameters withPrivateLinkApprovalMessage(String privateLinkApprovalMessage)"
desc: "Set the privateLinkApprovalMessage property: A custom message to be included in the approval request to connect to the Private Link."
returns:
description: "the OriginUpdateParameters object itself."
type: "<xref href=\"com.azure.resourcemanager.cdn.models.OriginUpdateParameters?alt=com.azure.resourcemanager.cdn.models.OriginUpdateParameters&text=OriginUpdateParameters\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withPrivateLinkLocation(java.lang.String)"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withPrivateLinkLocation(String privateLinkLocation)"
name: "withPrivateLinkLocation(String privateLinkLocation)"
nameWithType: "OriginUpdateParameters.withPrivateLinkLocation(String privateLinkLocation)"
summary: "Set the private<wbr>Link<wbr>Location property: The location of the Private Link resource."
parameters:
- description: "the privateLinkLocation value to set."
name: "privateLinkLocation"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OriginUpdateParameters withPrivateLinkLocation(String privateLinkLocation)"
desc: "Set the privateLinkLocation property: The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated."
returns:
description: "the OriginUpdateParameters object itself."
type: "<xref href=\"com.azure.resourcemanager.cdn.models.OriginUpdateParameters?alt=com.azure.resourcemanager.cdn.models.OriginUpdateParameters&text=OriginUpdateParameters\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withPrivateLinkResourceId(java.lang.String)"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withPrivateLinkResourceId(String privateLinkResourceId)"
name: "withPrivateLinkResourceId(String privateLinkResourceId)"
nameWithType: "OriginUpdateParameters.withPrivateLinkResourceId(String privateLinkResourceId)"
summary: "Set the private<wbr>Link<wbr>Resource<wbr>Id property: The Resource Id of the Private Link resource."
parameters:
- description: "the privateLinkResourceId value to set."
name: "privateLinkResourceId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OriginUpdateParameters withPrivateLinkResourceId(String privateLinkResourceId)"
desc: "Set the privateLinkResourceId property: The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'."
returns:
description: "the OriginUpdateParameters object itself."
type: "<xref href=\"com.azure.resourcemanager.cdn.models.OriginUpdateParameters?alt=com.azure.resourcemanager.cdn.models.OriginUpdateParameters&text=OriginUpdateParameters\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withWeight(java.lang.Integer)"
fullName: "com.azure.resourcemanager.cdn.models.OriginUpdateParameters.withWeight(Integer weight)"
name: "withWeight(Integer weight)"
nameWithType: "OriginUpdateParameters.withWeight(Integer weight)"
summary: "Set the weight property: Weight of the origin in given origin group for load balancing."
parameters:
- description: "the weight value to set."
name: "weight"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public OriginUpdateParameters withWeight(Integer weight)"
desc: "Set the weight property: Weight of the origin in given origin group for load balancing. Must be between 1 and 1000."
returns:
description: "the OriginUpdateParameters object itself."
type: "<xref href=\"com.azure.resourcemanager.cdn.models.OriginUpdateParameters?alt=com.azure.resourcemanager.cdn.models.OriginUpdateParameters&text=OriginUpdateParameters\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Origin properties needed for origin update."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.cdn.models.OriginUpdateParameters?alt=com.azure.resourcemanager.cdn.models.OriginUpdateParameters&text=OriginUpdateParameters\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.cdn.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-cdn:2.44.0