ApmProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.ApmProperties

Implements

public final class ApmProperties
implements JsonSerializable<ApmProperties>

Properties of an APM.

Constructor Summary

Constructor Description
ApmProperties()

Creates an instance of ApmProperties class.

Method Summary

Modifier and Type Method and Description
static ApmProperties fromJson(JsonReader jsonReader)

Reads an instance of ApmProperties from the JsonReader.

Map<String,String> properties()

Get the properties property: Non-sensitive properties for the APM.

ApmProvisioningState provisioningState()

Get the provisioningState property: State of the APM.

Map<String,String> secrets()

Get the secrets property: Sensitive properties for the APM.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: APM Type.

void validate()

Validates the instance.

ApmProperties withProperties(Map<String,String> properties)

Set the properties property: Non-sensitive properties for the APM.

ApmProperties withSecrets(Map<String,String> secrets)

Set the secrets property: Sensitive properties for the APM.

ApmProperties withType(String type)

Set the type property: APM Type.

Methods inherited from java.lang.Object

Constructor Details

ApmProperties

public ApmProperties()

Creates an instance of ApmProperties class.

Method Details

fromJson

public static ApmProperties fromJson(JsonReader jsonReader)

Reads an instance of ApmProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

properties

public Map properties()

Get the properties property: Non-sensitive properties for the APM.

Returns:

the properties value.

provisioningState

public ApmProvisioningState provisioningState()

Get the provisioningState property: State of the APM.

Returns:

the provisioningState value.

secrets

public Map secrets()

Get the secrets property: Sensitive properties for the APM.

Returns:

the secrets value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: APM Type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withProperties

public ApmProperties withProperties(Map properties)

Set the properties property: Non-sensitive properties for the APM.

Parameters:

properties - the properties value to set.

Returns:

the ApmProperties object itself.

withSecrets

public ApmProperties withSecrets(Map secrets)

Set the secrets property: Sensitive properties for the APM.

Parameters:

secrets - the secrets value to set.

Returns:

the ApmProperties object itself.

withType

public ApmProperties withType(String type)

Set the type property: APM Type.

Parameters:

type - the type value to set.

Returns:

the ApmProperties object itself.

Applies to