ApplicationAcceleratorComponent Class

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

Implements

public final class ApplicationAcceleratorComponent
implements JsonSerializable<ApplicationAcceleratorComponent>

The ApplicationAcceleratorComponent model.

Constructor Summary

Constructor Description
ApplicationAcceleratorComponent()

Creates an instance of ApplicationAcceleratorComponent class.

Method Summary

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

Reads an instance of ApplicationAcceleratorComponent from the JsonReader.

List<ApplicationAcceleratorInstance> instances()

Get the instances property: The instances property.

String name()

Get the name property: The name property.

ApplicationAcceleratorResourceRequests resourceRequests()

Get the resourceRequests property: The resourceRequests property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationAcceleratorComponent withResourceRequests(ApplicationAcceleratorResourceRequests resourceRequests)

Set the resourceRequests property: The resourceRequests property.

Methods inherited from java.lang.Object

Constructor Details

ApplicationAcceleratorComponent

public ApplicationAcceleratorComponent()

Creates an instance of ApplicationAcceleratorComponent class.

Method Details

fromJson

public static ApplicationAcceleratorComponent fromJson(JsonReader jsonReader)

Reads an instance of ApplicationAcceleratorComponent from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

instances

public List instances()

Get the instances property: The instances property.

Returns:

the instances value.

name

public String name()

Get the name property: The name property.

Returns:

the name value.

resourceRequests

public ApplicationAcceleratorResourceRequests resourceRequests()

Get the resourceRequests property: The resourceRequests property.

Returns:

the resourceRequests value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withResourceRequests

public ApplicationAcceleratorComponent withResourceRequests(ApplicationAcceleratorResourceRequests resourceRequests)

Set the resourceRequests property: The resourceRequests property.

Parameters:

resourceRequests - the resourceRequests value to set.

Returns:

the ApplicationAcceleratorComponent object itself.

Applies to