RegisteredServerUpdateParameters Class

public final class RegisteredServerUpdateParameters
extends ProxyResource

The parameters used when updating a registered server.

Constructor Summary

Constructor Description
RegisteredServerUpdateParameters()

Creates an instance of RegisteredServerUpdateParameters class.

Method Summary

Modifier and Type Method and Description
String applicationId()

Get the applicationId property: Apply server with new ServicePrincipal Id.

static RegisteredServerUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of RegisteredServerUpdateParameters from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

Boolean identity()

Get the identity property: Apply server with newly discovered ApplicationId if available.

String name()

Get the name property: The name of the resource.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

RegisteredServerUpdateParameters withApplicationId(String applicationId)

Set the applicationId property: Apply server with new ServicePrincipal Id.

RegisteredServerUpdateParameters withIdentity(Boolean identity)

Set the identity property: Apply server with newly discovered ApplicationId if available.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

RegisteredServerUpdateParameters

public RegisteredServerUpdateParameters()

Creates an instance of RegisteredServerUpdateParameters class.

Method Details

applicationId

public String applicationId()

Get the applicationId property: Apply server with new ServicePrincipal Id.

Returns:

the applicationId value.

fromJson

public static RegisteredServerUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of RegisteredServerUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RegisteredServerUpdateParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

RegisteredServerUpdateParameters.id()

Returns:

the id value.

identity

public Boolean identity()

Get the identity property: Apply server with newly discovered ApplicationId if available.

Returns:

the identity value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RegisteredServerUpdateParameters.name()

Returns:

the name value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RegisteredServerUpdateParameters.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RegisteredServerUpdateParameters.type()

Returns:

the type value.

withApplicationId

public RegisteredServerUpdateParameters withApplicationId(String applicationId)

Set the applicationId property: Apply server with new ServicePrincipal Id.

Parameters:

applicationId - the applicationId value to set.

Returns:

the RegisteredServerUpdateParameters object itself.

withIdentity

public RegisteredServerUpdateParameters withIdentity(Boolean identity)

Set the identity property: Apply server with newly discovered ApplicationId if available.

Parameters:

identity - the identity value to set.

Returns:

the RegisteredServerUpdateParameters object itself.

Applies to