Compartir a través de


CustomerProperty Class

  • java.lang.Object
    • com.azure.resourcemanager.connectedcache.models.CustomerProperty

Implements

public final class CustomerProperty
implements JsonSerializable<CustomerProperty>

Model representing customer for connectedCache resource.

Constructor Summary

Constructor Description
CustomerProperty()

Creates an instance of CustomerProperty class.

Method Summary

Modifier and Type Method and Description
AdditionalCustomerProperties additionalCustomerProperties()

Get the additionalCustomerProperties property: Mcc customer resource additional properties.

CustomerEntity customer()

Get the customer property: Mcc customer resource (customer entity).

ManagementError error()

Get the error property: Mcc response error details.

static CustomerProperty fromJson(JsonReader jsonReader)

Reads an instance of CustomerProperty from the JsonReader.

ProvisioningState provisioningState()

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

String status()

Get the status property: HTTP error status code.

String statusCode()

Get the statusCode property: Mcc response status code.

String statusDetails()

Get the statusDetails property: Mcc response status details for retrieving response inner details.

String statusText()

Get the statusText property: Mcc response status text as string for retrieving status details.

JsonWriter toJson(JsonWriter jsonWriter)
CustomerProperty withAdditionalCustomerProperties(AdditionalCustomerProperties additionalCustomerProperties)

Set the additionalCustomerProperties property: Mcc customer resource additional properties.

CustomerProperty withCustomer(CustomerEntity customer)

Set the customer property: Mcc customer resource (customer entity).

Methods inherited from java.lang.Object

Constructor Details

CustomerProperty

public CustomerProperty()

Creates an instance of CustomerProperty class.

Method Details

additionalCustomerProperties

public AdditionalCustomerProperties additionalCustomerProperties()

Get the additionalCustomerProperties property: Mcc customer resource additional properties.

Returns:

the additionalCustomerProperties value.

customer

public CustomerEntity customer()

Get the customer property: Mcc customer resource (customer entity).

Returns:

the customer value.

error

public ManagementError error()

Get the error property: Mcc response error details.

Returns:

the error value.

fromJson

public static CustomerProperty fromJson(JsonReader jsonReader)

Reads an instance of CustomerProperty from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

status

public String status()

Get the status property: HTTP error status code.

Returns:

the status value.

statusCode

public String statusCode()

Get the statusCode property: Mcc response status code.

Returns:

the statusCode value.

statusDetails

public String statusDetails()

Get the statusDetails property: Mcc response status details for retrieving response inner details.

Returns:

the statusDetails value.

statusText

public String statusText()

Get the statusText property: Mcc response status text as string for retrieving status details.

Returns:

the statusText value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withAdditionalCustomerProperties

public CustomerProperty withAdditionalCustomerProperties(AdditionalCustomerProperties additionalCustomerProperties)

Set the additionalCustomerProperties property: Mcc customer resource additional properties.

Parameters:

additionalCustomerProperties - the additionalCustomerProperties value to set.

Returns:

the CustomerProperty object itself.

withCustomer

public CustomerProperty withCustomer(CustomerEntity customer)

Set the customer property: Mcc customer resource (customer entity).

Parameters:

customer - the customer value to set.

Returns:

the CustomerProperty object itself.

Applies to