你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphSiteCollection Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSiteCollection

Implements

public final class MicrosoftGraphSiteCollection
implements JsonSerializable<MicrosoftGraphSiteCollection>

siteCollection.

Constructor Summary

Constructor Description
MicrosoftGraphSiteCollection()

Creates an instance of MicrosoftGraphSiteCollection class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: siteCollection.

String dataLocationCode()

Get the dataLocationCode property: The geographic region code for where this site collection resides.

static MicrosoftGraphSiteCollection fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSiteCollection from the JsonReader.

String hostname()

Get the hostname property: The hostname for the site collection.

Map<String,Object> root()

Get the root property: root.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphSiteCollection withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: siteCollection.

MicrosoftGraphSiteCollection withDataLocationCode(String dataLocationCode)

Set the dataLocationCode property: The geographic region code for where this site collection resides.

MicrosoftGraphSiteCollection withHostname(String hostname)

Set the hostname property: The hostname for the site collection.

MicrosoftGraphSiteCollection withRoot(Map<String,Object> root)

Set the root property: root.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphSiteCollection

public MicrosoftGraphSiteCollection()

Creates an instance of MicrosoftGraphSiteCollection class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: siteCollection.

Returns:

the additionalProperties value.

dataLocationCode

public String dataLocationCode()

Get the dataLocationCode property: The geographic region code for where this site collection resides. Read-only.

Returns:

the dataLocationCode value.

fromJson

public static MicrosoftGraphSiteCollection fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSiteCollection from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

hostname

public String hostname()

Get the hostname property: The hostname for the site collection. Read-only.

Returns:

the hostname value.

root

public Map root()

Get the root property: root.

Returns:

the root value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphSiteCollection withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: siteCollection.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphSiteCollection object itself.

withDataLocationCode

public MicrosoftGraphSiteCollection withDataLocationCode(String dataLocationCode)

Set the dataLocationCode property: The geographic region code for where this site collection resides. Read-only.

Parameters:

dataLocationCode - the dataLocationCode value to set.

Returns:

the MicrosoftGraphSiteCollection object itself.

withHostname

public MicrosoftGraphSiteCollection withHostname(String hostname)

Set the hostname property: The hostname for the site collection. Read-only.

Parameters:

hostname - the hostname value to set.

Returns:

the MicrosoftGraphSiteCollection object itself.

withRoot

public MicrosoftGraphSiteCollection withRoot(Map root)

Set the root property: root.

Parameters:

root - the root value to set.

Returns:

the MicrosoftGraphSiteCollection object itself.

Applies to