RegisteredServerUpdateProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.storagesync.fluent.models.RegisteredServerUpdateProperties

Implements

public final class RegisteredServerUpdateProperties
implements JsonSerializable<RegisteredServerUpdateProperties>

RegisteredServer Update Properties object.

Constructor Summary

Constructor Description
RegisteredServerUpdateProperties()

Creates an instance of RegisteredServerUpdateProperties class.

Method Summary

Modifier and Type Method and Description
String applicationId()

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

static RegisteredServerUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of RegisteredServerUpdateProperties from the JsonReader.

Boolean identity()

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

JsonWriter toJson(JsonWriter jsonWriter)
RegisteredServerUpdateProperties withApplicationId(String applicationId)

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

RegisteredServerUpdateProperties withIdentity(Boolean identity)

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

Methods inherited from java.lang.Object

Constructor Details

RegisteredServerUpdateProperties

public RegisteredServerUpdateProperties()

Creates an instance of RegisteredServerUpdateProperties class.

Method Details

applicationId

public String applicationId()

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

Returns:

the applicationId value.

fromJson

public static RegisteredServerUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of RegisteredServerUpdateProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

identity

public Boolean identity()

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

Returns:

the identity value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withApplicationId

public RegisteredServerUpdateProperties withApplicationId(String applicationId)

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

Parameters:

applicationId - the applicationId value to set.

Returns:

the RegisteredServerUpdateProperties object itself.

withIdentity

public RegisteredServerUpdateProperties withIdentity(Boolean identity)

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

Parameters:

identity - the identity value to set.

Returns:

the RegisteredServerUpdateProperties object itself.

Applies to