次の方法で共有


ZoneMapping Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.ZoneMapping

public final class ZoneMapping

The ZoneMapping model.

Constructor Summary

Constructor Description
ZoneMapping()

Creates an instance of ZoneMapping class.

Method Summary

Modifier and Type Method and Description
String location()

Get the location property: The location of the zone mapping.

void validate()

Validates the instance.

ZoneMapping withLocation(String location)

Set the location property: The location of the zone mapping.

ZoneMapping withZones(List<String> zones)

Set the zones property: The zones property.

List<String> zones()

Get the zones property: The zones property.

Methods inherited from java.lang.Object

Constructor Details

ZoneMapping

public ZoneMapping()

Creates an instance of ZoneMapping class.

Method Details

location

public String location()

Get the location property: The location of the zone mapping.

Returns:

the location value.

validate

public void validate()

Validates the instance.

withLocation

public ZoneMapping withLocation(String location)

Set the location property: The location of the zone mapping.

Parameters:

location - the location value to set.

Returns:

the ZoneMapping object itself.

withZones

public ZoneMapping withZones(List zones)

Set the zones property: The zones property.

Parameters:

zones - the zones value to set.

Returns:

the ZoneMapping object itself.

zones

public List zones()

Get the zones property: The zones property.

Returns:

the zones value.

Applies to