CustomizedAcceleratorProperties Class

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

Implements

public final class CustomizedAcceleratorProperties
implements JsonSerializable<CustomizedAcceleratorProperties>

Customized accelerator properties payload.

Constructor Summary

Constructor Description
CustomizedAcceleratorProperties()

Creates an instance of CustomizedAcceleratorProperties class.

Method Summary

Modifier and Type Method and Description
List<String> acceleratorTags()

Get the acceleratorTags property: The acceleratorTags property.

CustomizedAcceleratorType acceleratorType()

Get the acceleratorType property: Type of the customized accelerator.

String description()

Get the description property: The description property.

String displayName()

Get the displayName property: The displayName property.

static CustomizedAcceleratorProperties fromJson(JsonReader jsonReader)

Reads an instance of CustomizedAcceleratorProperties from the JsonReader.

AcceleratorGitRepository gitRepository()

Get the gitRepository property: The gitRepository property.

String iconUrl()

Get the iconUrl property: The iconUrl property.

List<String> imports()

Get the imports property: Imports references all imports that this accelerator/fragment depends upon.

CustomizedAcceleratorProvisioningState provisioningState()

Get the provisioningState property: State of the customized accelerator.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CustomizedAcceleratorProperties withAcceleratorTags(List<String> acceleratorTags)

Set the acceleratorTags property: The acceleratorTags property.

CustomizedAcceleratorProperties withAcceleratorType(CustomizedAcceleratorType acceleratorType)

Set the acceleratorType property: Type of the customized accelerator.

CustomizedAcceleratorProperties withDescription(String description)

Set the description property: The description property.

CustomizedAcceleratorProperties withDisplayName(String displayName)

Set the displayName property: The displayName property.

CustomizedAcceleratorProperties withGitRepository(AcceleratorGitRepository gitRepository)

Set the gitRepository property: The gitRepository property.

CustomizedAcceleratorProperties withIconUrl(String iconUrl)

Set the iconUrl property: The iconUrl property.

Methods inherited from java.lang.Object

Constructor Details

CustomizedAcceleratorProperties

public CustomizedAcceleratorProperties()

Creates an instance of CustomizedAcceleratorProperties class.

Method Details

acceleratorTags

public List acceleratorTags()

Get the acceleratorTags property: The acceleratorTags property.

Returns:

the acceleratorTags value.

acceleratorType

public CustomizedAcceleratorType acceleratorType()

Get the acceleratorType property: Type of the customized accelerator.

Returns:

the acceleratorType value.

description

public String description()

Get the description property: The description property.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: The displayName property.

Returns:

the displayName value.

fromJson

public static CustomizedAcceleratorProperties fromJson(JsonReader jsonReader)

Reads an instance of CustomizedAcceleratorProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

gitRepository

public AcceleratorGitRepository gitRepository()

Get the gitRepository property: The gitRepository property.

Returns:

the gitRepository value.

iconUrl

public String iconUrl()

Get the iconUrl property: The iconUrl property.

Returns:

the iconUrl value.

imports

public List imports()

Get the imports property: Imports references all imports that this accelerator/fragment depends upon.

Returns:

the imports value.

provisioningState

public CustomizedAcceleratorProvisioningState provisioningState()

Get the provisioningState property: State of the customized accelerator.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAcceleratorTags

public CustomizedAcceleratorProperties withAcceleratorTags(List acceleratorTags)

Set the acceleratorTags property: The acceleratorTags property.

Parameters:

acceleratorTags - the acceleratorTags value to set.

Returns:

the CustomizedAcceleratorProperties object itself.

withAcceleratorType

public CustomizedAcceleratorProperties withAcceleratorType(CustomizedAcceleratorType acceleratorType)

Set the acceleratorType property: Type of the customized accelerator.

Parameters:

acceleratorType - the acceleratorType value to set.

Returns:

the CustomizedAcceleratorProperties object itself.

withDescription

public CustomizedAcceleratorProperties withDescription(String description)

Set the description property: The description property.

Parameters:

description - the description value to set.

Returns:

the CustomizedAcceleratorProperties object itself.

withDisplayName

public CustomizedAcceleratorProperties withDisplayName(String displayName)

Set the displayName property: The displayName property.

Parameters:

displayName - the displayName value to set.

Returns:

the CustomizedAcceleratorProperties object itself.

withGitRepository

public CustomizedAcceleratorProperties withGitRepository(AcceleratorGitRepository gitRepository)

Set the gitRepository property: The gitRepository property.

Parameters:

gitRepository - the gitRepository value to set.

Returns:

the CustomizedAcceleratorProperties object itself.

withIconUrl

public CustomizedAcceleratorProperties withIconUrl(String iconUrl)

Set the iconUrl property: The iconUrl property.

Parameters:

iconUrl - the iconUrl value to set.

Returns:

the CustomizedAcceleratorProperties object itself.

Applies to