Partajați prin


LiveEventInputAccessControl Class

  • java.lang.Object
    • com.azure.resourcemanager.mediaservices.models.LiveEventInputAccessControl

Implements

public final class LiveEventInputAccessControl
implements JsonSerializable<LiveEventInputAccessControl>

The IP access control for live event input.

Constructor Summary

Constructor Description
LiveEventInputAccessControl()

Creates an instance of LiveEventInputAccessControl class.

Method Summary

Modifier and Type Method and Description
static LiveEventInputAccessControl fromJson(JsonReader jsonReader)

Reads an instance of LiveEventInputAccessControl from the JsonReader.

IpAccessControl ip()

Get the ip property: The IP access control properties.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LiveEventInputAccessControl withIp(IpAccessControl ip)

Set the ip property: The IP access control properties.

Methods inherited from java.lang.Object

Constructor Details

LiveEventInputAccessControl

public LiveEventInputAccessControl()

Creates an instance of LiveEventInputAccessControl class.

Method Details

fromJson

public static LiveEventInputAccessControl fromJson(JsonReader jsonReader)

Reads an instance of LiveEventInputAccessControl from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LiveEventInputAccessControl if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the LiveEventInputAccessControl.

ip

public IpAccessControl ip()

Get the ip property: The IP access control properties.

Returns:

the ip value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIp

public LiveEventInputAccessControl withIp(IpAccessControl ip)

Set the ip property: The IP access control properties.

Parameters:

ip - the ip value to set.

Returns:

the LiveEventInputAccessControl object itself.

Applies to