SupportedBuildpackResourceProperties Class

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

Implements

public final class SupportedBuildpackResourceProperties
implements JsonSerializable<SupportedBuildpackResourceProperties>

Supported buildpack resource properties.

Constructor Summary

Constructor Description
SupportedBuildpackResourceProperties()

Creates an instance of SupportedBuildpackResourceProperties class.

Method Summary

Modifier and Type Method and Description
String buildpackId()

Get the buildpackId property: The id of supported buildpack.

static SupportedBuildpackResourceProperties fromJson(JsonReader jsonReader)

Reads an instance of SupportedBuildpackResourceProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SupportedBuildpackResourceProperties withBuildpackId(String buildpackId)

Set the buildpackId property: The id of supported buildpack.

Methods inherited from java.lang.Object

Constructor Details

SupportedBuildpackResourceProperties

public SupportedBuildpackResourceProperties()

Creates an instance of SupportedBuildpackResourceProperties class.

Method Details

buildpackId

public String buildpackId()

Get the buildpackId property: The id of supported buildpack.

Returns:

the buildpackId value.

fromJson

public static SupportedBuildpackResourceProperties fromJson(JsonReader jsonReader)

Reads an instance of SupportedBuildpackResourceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBuildpackId

public SupportedBuildpackResourceProperties withBuildpackId(String buildpackId)

Set the buildpackId property: The id of supported buildpack.

Parameters:

buildpackId - the buildpackId value to set.

Returns:

the SupportedBuildpackResourceProperties object itself.

Applies to