SolutionInner Class

public final class SolutionInner
extends Resource

The container for solution.

Constructor Summary

Constructor Description
SolutionInner()

Creates an instance of SolutionInner class.

Method Summary

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

Reads an instance of SolutionInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

SolutionPlan plan()

Get the plan property: Plan for solution object supported by the OperationsManagement resource provider.

SolutionProperties properties()

Get the properties property: Properties for solution object supported by the OperationsManagement resource provider.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SolutionInner withLocation(String location)
SolutionInner withPlan(SolutionPlan plan)

Set the plan property: Plan for solution object supported by the OperationsManagement resource provider.

SolutionInner withProperties(SolutionProperties properties)

Set the properties property: Properties for solution object supported by the OperationsManagement resource provider.

SolutionInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

SolutionInner

public SolutionInner()

Creates an instance of SolutionInner class.

Method Details

fromJson

public static SolutionInner fromJson(JsonReader jsonReader)

Reads an instance of SolutionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

SolutionInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SolutionInner.name()

Returns:

the name value.

plan

public SolutionPlan plan()

Get the plan property: Plan for solution object supported by the OperationsManagement resource provider.

Returns:

the plan value.

properties

public SolutionProperties properties()

Get the properties property: Properties for solution object supported by the OperationsManagement resource provider.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SolutionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SolutionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLocation

public SolutionInner withLocation(String location)

Overrides:

SolutionInner.withLocation(String location)

Parameters:

location

withPlan

public SolutionInner withPlan(SolutionPlan plan)

Set the plan property: Plan for solution object supported by the OperationsManagement resource provider.

Parameters:

plan - the plan value to set.

Returns:

the SolutionInner object itself.

withProperties

public SolutionInner withProperties(SolutionProperties properties)

Set the properties property: Properties for solution object supported by the OperationsManagement resource provider.

Parameters:

properties - the properties value to set.

Returns:

the SolutionInner object itself.

withTags

public SolutionInner withTags(Map<String,String> tags)

Overrides:

SolutionInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to