Поделиться через


DevCenterProperties Class

public final class DevCenterProperties
extends DevCenterUpdateProperties

Properties of the devcenter.

Constructor Summary

Constructor Description
DevCenterProperties()

Creates an instance of DevCenterProperties class.

Method Summary

Modifier and Type Method and Description
String devCenterUri()

Get the devCenterUri property: The URI of the Dev Center.

static DevCenterProperties fromJson(JsonReader jsonReader)

Reads an instance of DevCenterProperties from the JsonReader.

ProvisioningState provisioningState()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DevCenterProperties withDisplayName(String displayName)

Set the displayName property: The display name of the devcenter.

DevCenterProperties withEncryption(Encryption encryption)

Set the encryption property: Encryption settings to be used for server-side encryption for proprietary content (such as catalogs, logs, customizations).

DevCenterProperties withProjectCatalogSettings(DevCenterProjectCatalogSettings projectCatalogSettings)

Set the projectCatalogSettings property: Dev Center settings to be used when associating a project with a catalog.

Methods inherited from DevCenterUpdateProperties

Methods inherited from java.lang.Object

Constructor Details

DevCenterProperties

public DevCenterProperties()

Creates an instance of DevCenterProperties class.

Method Details

devCenterUri

public String devCenterUri()

Get the devCenterUri property: The URI of the Dev Center.

Returns:

the devCenterUri value.

fromJson

public static DevCenterProperties fromJson(JsonReader jsonReader)

Reads an instance of DevCenterProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DevCenterProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

DevCenterProperties.validate()

withDisplayName

public DevCenterProperties withDisplayName(String displayName)

Set the displayName property: The display name of the devcenter.

Overrides:

DevCenterProperties.withDisplayName(String displayName)

Parameters:

displayName

withEncryption

public DevCenterProperties withEncryption(Encryption encryption)

Set the encryption property: Encryption settings to be used for server-side encryption for proprietary content (such as catalogs, logs, customizations).

Overrides:

DevCenterProperties.withEncryption(Encryption encryption)

Parameters:

encryption

withProjectCatalogSettings

public DevCenterProperties withProjectCatalogSettings(DevCenterProjectCatalogSettings projectCatalogSettings)

Set the projectCatalogSettings property: Dev Center settings to be used when associating a project with a catalog.

Overrides:

DevCenterProperties.withProjectCatalogSettings(DevCenterProjectCatalogSettings projectCatalogSettings)

Parameters:

projectCatalogSettings

Applies to