Compartilhar via


BuildpacksGroupProperties Class

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

Implements

public final class BuildpacksGroupProperties
implements JsonSerializable<BuildpacksGroupProperties>

Buildpack group properties of the Builder.

Constructor Summary

Constructor Description
BuildpacksGroupProperties()

Creates an instance of BuildpacksGroupProperties class.

Method Summary

Modifier and Type Method and Description
List<BuildpackProperties> buildpacks()

Get the buildpacks property: Buildpacks in the buildpack group.

static BuildpacksGroupProperties fromJson(JsonReader jsonReader)

Reads an instance of BuildpacksGroupProperties from the JsonReader.

String name()

Get the name property: Buildpack group name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BuildpacksGroupProperties withBuildpacks(List<BuildpackProperties> buildpacks)

Set the buildpacks property: Buildpacks in the buildpack group.

BuildpacksGroupProperties withName(String name)

Set the name property: Buildpack group name.

Methods inherited from java.lang.Object

Constructor Details

BuildpacksGroupProperties

public BuildpacksGroupProperties()

Creates an instance of BuildpacksGroupProperties class.

Method Details

buildpacks

public List buildpacks()

Get the buildpacks property: Buildpacks in the buildpack group.

Returns:

the buildpacks value.

fromJson

public static BuildpacksGroupProperties fromJson(JsonReader jsonReader)

Reads an instance of BuildpacksGroupProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Buildpack group name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBuildpacks

public BuildpacksGroupProperties withBuildpacks(List buildpacks)

Set the buildpacks property: Buildpacks in the buildpack group.

Parameters:

buildpacks - the buildpacks value to set.

Returns:

the BuildpacksGroupProperties object itself.

withName

public BuildpacksGroupProperties withName(String name)

Set the name property: Buildpack group name.

Parameters:

name - the name value to set.

Returns:

the BuildpacksGroupProperties object itself.

Applies to