ApplicationStack Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.ApplicationStack

Implements

public final class ApplicationStack
implements JsonSerializable<ApplicationStack>

Application stack.

Constructor Summary

Constructor Description
ApplicationStack()

Creates an instance of ApplicationStack class.

Method Summary

Modifier and Type Method and Description
String dependency()

Get the dependency property: Application stack dependency.

String display()

Get the display property: Application stack display name.

List<ApplicationStack> frameworks()

Get the frameworks property: List of frameworks associated with application stack.

static ApplicationStack fromJson(JsonReader jsonReader)

Reads an instance of ApplicationStack from the JsonReader.

List<ApplicationStack> isDeprecated()

Get the isDeprecated property: true if this is the stack is deprecated; otherwise, false.

List<StackMajorVersion> majorVersions()

Get the majorVersions property: List of major versions available.

String name()

Get the name property: Application stack name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationStack withDependency(String dependency)

Set the dependency property: Application stack dependency.

ApplicationStack withDisplay(String display)

Set the display property: Application stack display name.

ApplicationStack withFrameworks(List<ApplicationStack> frameworks)

Set the frameworks property: List of frameworks associated with application stack.

ApplicationStack withIsDeprecated(List<ApplicationStack> isDeprecated)

Set the isDeprecated property: true if this is the stack is deprecated; otherwise, false.

ApplicationStack withMajorVersions(List<StackMajorVersion> majorVersions)

Set the majorVersions property: List of major versions available.

ApplicationStack withName(String name)

Set the name property: Application stack name.

Methods inherited from java.lang.Object

Constructor Details

ApplicationStack

public ApplicationStack()

Creates an instance of ApplicationStack class.

Method Details

dependency

public String dependency()

Get the dependency property: Application stack dependency.

Returns:

the dependency value.

display

public String display()

Get the display property: Application stack display name.

Returns:

the display value.

frameworks

public List frameworks()

Get the frameworks property: List of frameworks associated with application stack.

Returns:

the frameworks value.

fromJson

public static ApplicationStack fromJson(JsonReader jsonReader)

Reads an instance of ApplicationStack from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

isDeprecated

public List isDeprecated()

Get the isDeprecated property: true if this is the stack is deprecated; otherwise, false.

Returns:

the isDeprecated value.

majorVersions

public List majorVersions()

Get the majorVersions property: List of major versions available.

Returns:

the majorVersions value.

name

public String name()

Get the name property: Application stack name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDependency

public ApplicationStack withDependency(String dependency)

Set the dependency property: Application stack dependency.

Parameters:

dependency - the dependency value to set.

Returns:

the ApplicationStack object itself.

withDisplay

public ApplicationStack withDisplay(String display)

Set the display property: Application stack display name.

Parameters:

display - the display value to set.

Returns:

the ApplicationStack object itself.

withFrameworks

public ApplicationStack withFrameworks(List frameworks)

Set the frameworks property: List of frameworks associated with application stack.

Parameters:

frameworks - the frameworks value to set.

Returns:

the ApplicationStack object itself.

withIsDeprecated

public ApplicationStack withIsDeprecated(List isDeprecated)

Set the isDeprecated property: true if this is the stack is deprecated; otherwise, false.

Parameters:

isDeprecated - the isDeprecated value to set.

Returns:

the ApplicationStack object itself.

withMajorVersions

public ApplicationStack withMajorVersions(List majorVersions)

Set the majorVersions property: List of major versions available.

Parameters:

majorVersions - the majorVersions value to set.

Returns:

the ApplicationStack object itself.

withName

public ApplicationStack withName(String name)

Set the name property: Application stack name.

Parameters:

name - the name value to set.

Returns:

the ApplicationStack object itself.

Applies to