DscpConfigurationInner Class

public final class DscpConfigurationInner
extends Resource

Differentiated Services Code Point configuration for any given network interface.

Constructor Summary

Constructor Description
DscpConfigurationInner()

Creates an instance of DscpConfigurationInner class.

Method Summary

Modifier and Type Method and Description
List<NetworkInterfaceInner> associatedNetworkInterfaces()

Get the associatedNetworkInterfaces property: Associated Network Interfaces to the DSCP Configuration.

List<QosIpRange> destinationIpRanges()

Get the destinationIpRanges property: Destination IP ranges.

List<QosPortRange> destinationPortRanges()

Get the destinationPortRanges property: Destination port ranges.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static DscpConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of DscpConfigurationInner from the JsonReader.

String id()

Get the id property: Resource ID.

List<Integer> markings()

Get the markings property: List of markings to be used in the configuration.

String name()

Get the name property: The name of the resource.

ProtocolType protocol()

Get the protocol property: RNM supported protocol types.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the DSCP Configuration resource.

String qosCollectionId()

Get the qosCollectionId property: Qos Collection ID generated by RNM.

List<QosDefinition> qosDefinitionCollection()

Get the qosDefinitionCollection property: QoS object definitions.

String resourceGuid()

Get the resourceGuid property: The resource GUID property of the DSCP Configuration resource.

List<QosIpRange> sourceIpRanges()

Get the sourceIpRanges property: Source IP ranges.

List<QosPortRange> sourcePortRanges()

Get the sourcePortRanges property: Sources port ranges.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DscpConfigurationInner withDestinationIpRanges(List<QosIpRange> destinationIpRanges)

Set the destinationIpRanges property: Destination IP ranges.

DscpConfigurationInner withDestinationPortRanges(List<QosPortRange> destinationPortRanges)

Set the destinationPortRanges property: Destination port ranges.

DscpConfigurationInner withId(String id)

Set the id property: Resource ID.

DscpConfigurationInner withLocation(String location)
DscpConfigurationInner withMarkings(List<Integer> markings)

Set the markings property: List of markings to be used in the configuration.

DscpConfigurationInner withProtocol(ProtocolType protocol)

Set the protocol property: RNM supported protocol types.

DscpConfigurationInner withQosDefinitionCollection(List<QosDefinition> qosDefinitionCollection)

Set the qosDefinitionCollection property: QoS object definitions.

DscpConfigurationInner withSourceIpRanges(List<QosIpRange> sourceIpRanges)

Set the sourceIpRanges property: Source IP ranges.

DscpConfigurationInner withSourcePortRanges(List<QosPortRange> sourcePortRanges)

Set the sourcePortRanges property: Sources port ranges.

DscpConfigurationInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

DscpConfigurationInner

public DscpConfigurationInner()

Creates an instance of DscpConfigurationInner class.

Method Details

associatedNetworkInterfaces

public List associatedNetworkInterfaces()

Get the associatedNetworkInterfaces property: Associated Network Interfaces to the DSCP Configuration.

Returns:

the associatedNetworkInterfaces value.

destinationIpRanges

public List destinationIpRanges()

Get the destinationIpRanges property: Destination IP ranges.

Returns:

the destinationIpRanges value.

destinationPortRanges

public List destinationPortRanges()

Get the destinationPortRanges property: Destination port ranges.

Returns:

the destinationPortRanges value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static DscpConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of DscpConfigurationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Resource ID.

Overrides:

DscpConfigurationInner.id()

Returns:

the id value.

markings

public List markings()

Get the markings property: List of markings to be used in the configuration.

Returns:

the markings value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DscpConfigurationInner.name()

Returns:

the name value.

protocol

public ProtocolType protocol()

Get the protocol property: RNM supported protocol types.

Returns:

the protocol value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the DSCP Configuration resource.

Returns:

the provisioningState value.

qosCollectionId

public String qosCollectionId()

Get the qosCollectionId property: Qos Collection ID generated by RNM.

Returns:

the qosCollectionId value.

qosDefinitionCollection

public List qosDefinitionCollection()

Get the qosDefinitionCollection property: QoS object definitions.

Returns:

the qosDefinitionCollection value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: The resource GUID property of the DSCP Configuration resource.

Returns:

the resourceGuid value.

sourceIpRanges

public List sourceIpRanges()

Get the sourceIpRanges property: Source IP ranges.

Returns:

the sourceIpRanges value.

sourcePortRanges

public List sourcePortRanges()

Get the sourcePortRanges property: Sources port ranges.

Returns:

the sourcePortRanges value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DscpConfigurationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DscpConfigurationInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDestinationIpRanges

public DscpConfigurationInner withDestinationIpRanges(List destinationIpRanges)

Set the destinationIpRanges property: Destination IP ranges.

Parameters:

destinationIpRanges - the destinationIpRanges value to set.

Returns:

the DscpConfigurationInner object itself.

withDestinationPortRanges

public DscpConfigurationInner withDestinationPortRanges(List destinationPortRanges)

Set the destinationPortRanges property: Destination port ranges.

Parameters:

destinationPortRanges - the destinationPortRanges value to set.

Returns:

the DscpConfigurationInner object itself.

withId

public DscpConfigurationInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the DscpConfigurationInner object itself.

withLocation

public DscpConfigurationInner withLocation(String location)

Overrides:

DscpConfigurationInner.withLocation(String location)

Parameters:

location

withMarkings

public DscpConfigurationInner withMarkings(List markings)

Set the markings property: List of markings to be used in the configuration.

Parameters:

markings - the markings value to set.

Returns:

the DscpConfigurationInner object itself.

withProtocol

public DscpConfigurationInner withProtocol(ProtocolType protocol)

Set the protocol property: RNM supported protocol types.

Parameters:

protocol - the protocol value to set.

Returns:

the DscpConfigurationInner object itself.

withQosDefinitionCollection

public DscpConfigurationInner withQosDefinitionCollection(List qosDefinitionCollection)

Set the qosDefinitionCollection property: QoS object definitions.

Parameters:

qosDefinitionCollection - the qosDefinitionCollection value to set.

Returns:

the DscpConfigurationInner object itself.

withSourceIpRanges

public DscpConfigurationInner withSourceIpRanges(List sourceIpRanges)

Set the sourceIpRanges property: Source IP ranges.

Parameters:

sourceIpRanges - the sourceIpRanges value to set.

Returns:

the DscpConfigurationInner object itself.

withSourcePortRanges

public DscpConfigurationInner withSourcePortRanges(List sourcePortRanges)

Set the sourcePortRanges property: Sources port ranges.

Parameters:

sourcePortRanges - the sourcePortRanges value to set.

Returns:

the DscpConfigurationInner object itself.

withTags

public DscpConfigurationInner withTags(Map tags)

Overrides:

DscpConfigurationInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to