ExtendedLocation Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ExtendedLocation

public final class ExtendedLocation

ExtendedLocation complex type.

Constructor Summary

Constructor Description
ExtendedLocation()

Creates an instance of ExtendedLocation class.

Method Summary

Modifier and Type Method and Description
String name()

Get the name property: The name of the extended location.

ExtendedLocationTypes type()

Get the type property: The type of the extended location.

void validate()

Validates the instance.

ExtendedLocation withName(String name)

Set the name property: The name of the extended location.

ExtendedLocation withType(ExtendedLocationTypes type)

Set the type property: The type of the extended location.

Methods inherited from java.lang.Object

Constructor Details

ExtendedLocation

public ExtendedLocation()

Creates an instance of ExtendedLocation class.

Method Details

name

public String name()

Get the name property: The name of the extended location.

Returns:

the name value.

type

public ExtendedLocationTypes type()

Get the type property: The type of the extended location.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withName

public ExtendedLocation withName(String name)

Set the name property: The name of the extended location.

Parameters:

name - the name value to set.

Returns:

the ExtendedLocation object itself.

withType

public ExtendedLocation withType(ExtendedLocationTypes type)

Set the type property: The type of the extended location.

Parameters:

type - the type value to set.

Returns:

the ExtendedLocation object itself.

Applies to