SharedPrivateLinkResourceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. SharedPrivateLinkResourceProperties
- com.
Implements
public final class SharedPrivateLinkResourceProperties
implements JsonSerializable<SharedPrivateLinkResourceProperties>
Describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin.
Constructor Summary
Constructor | Description |
---|---|
SharedPrivateLinkResourceProperties() |
Creates an instance of Shared |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Shared |
fromJson(JsonReader jsonReader)
Reads an instance of Shared |
String |
groupId()
Get the group |
Resource |
privateLink()
Get the private |
String |
privateLinkLocation()
Get the private |
String |
requestMessage()
Get the request |
Shared |
status()
Get the status property: Status of the shared private link resource. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Shared |
withGroupId(String groupId)
Set the group |
Shared |
withPrivateLink(ResourceReference privateLink)
Set the private |
Shared |
withPrivateLinkLocation(String privateLinkLocation)
Set the private |
Shared |
withRequestMessage(String requestMessage)
Set the request |
Shared |
withStatus(SharedPrivateLinkResourceStatus status)
Set the status property: Status of the shared private link resource. |
Methods inherited from java.lang.Object
Constructor Details
SharedPrivateLinkResourceProperties
public SharedPrivateLinkResourceProperties()
Creates an instance of SharedPrivateLinkResourceProperties class.
Method Details
fromJson
public static SharedPrivateLinkResourceProperties fromJson(JsonReader jsonReader)
Reads an instance of SharedPrivateLinkResourceProperties from the JsonReader.
Parameters:
Returns:
Throws:
groupId
public String groupId()
Get the groupId property: The group id from the provider of resource the shared private link resource is for.
Returns:
privateLink
public ResourceReference privateLink()
Get the privateLink property: The resource id of the resource the shared private link resource is for.
Returns:
privateLinkLocation
public String privateLinkLocation()
Get the privateLinkLocation property: The location of the shared private link resource.
Returns:
requestMessage
public String requestMessage()
Get the requestMessage property: The request message for requesting approval of the shared private link resource.
Returns:
status
public SharedPrivateLinkResourceStatus status()
Get the status property: Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout.
Returns:
toJson
validate
public void validate()
Validates the instance.
withGroupId
public SharedPrivateLinkResourceProperties withGroupId(String groupId)
Set the groupId property: The group id from the provider of resource the shared private link resource is for.
Parameters:
Returns:
withPrivateLink
public SharedPrivateLinkResourceProperties withPrivateLink(ResourceReference privateLink)
Set the privateLink property: The resource id of the resource the shared private link resource is for.
Parameters:
Returns:
withPrivateLinkLocation
public SharedPrivateLinkResourceProperties withPrivateLinkLocation(String privateLinkLocation)
Set the privateLinkLocation property: The location of the shared private link resource.
Parameters:
Returns:
withRequestMessage
public SharedPrivateLinkResourceProperties withRequestMessage(String requestMessage)
Set the requestMessage property: The request message for requesting approval of the shared private link resource.
Parameters:
Returns:
withStatus
public SharedPrivateLinkResourceProperties withStatus(SharedPrivateLinkResourceStatus status)
Set the status property: Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout.
Parameters:
Returns: