Compartilhar via


DimensionProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.models.DimensionProperties

Implements

public final class DimensionProperties
implements JsonSerializable<DimensionProperties>

Type of operation: get, read, delete, etc.

Constructor Summary

Constructor Description
DimensionProperties()

Creates an instance of DimensionProperties class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: Display name of dimension.

static DimensionProperties fromJson(JsonReader jsonReader)

Reads an instance of DimensionProperties from the JsonReader.

String internalName()

Get the internalName property: Internal name of dimension.

String name()

Get the name property: Name of dimension.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DimensionProperties withDisplayName(String displayName)

Set the displayName property: Display name of dimension.

DimensionProperties withInternalName(String internalName)

Set the internalName property: Internal name of dimension.

DimensionProperties withName(String name)

Set the name property: Name of dimension.

Methods inherited from java.lang.Object

Constructor Details

DimensionProperties

public DimensionProperties()

Creates an instance of DimensionProperties class.

Method Details

displayName

public String displayName()

Get the displayName property: Display name of dimension.

Returns:

the displayName value.

fromJson

public static DimensionProperties fromJson(JsonReader jsonReader)

Reads an instance of DimensionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DimensionProperties 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 DimensionProperties.

internalName

public String internalName()

Get the internalName property: Internal name of dimension.

Returns:

the internalName value.

name

public String name()

Get the name property: Name of dimension.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDisplayName

public DimensionProperties withDisplayName(String displayName)

Set the displayName property: Display name of dimension.

Parameters:

displayName - the displayName value to set.

Returns:

the DimensionProperties object itself.

withInternalName

public DimensionProperties withInternalName(String internalName)

Set the internalName property: Internal name of dimension.

Parameters:

internalName - the internalName value to set.

Returns:

the DimensionProperties object itself.

withName

public DimensionProperties withName(String name)

Set the name property: Name of dimension.

Parameters:

name - the name value to set.

Returns:

the DimensionProperties object itself.

Applies to