SolutionDependencyParameter Class

  • java.lang.Object
    • com.azure.resourcemanager.workloadorchestration.models.SolutionDependencyParameter

Implements

public final class SolutionDependencyParameter
implements JsonSerializable<SolutionDependencyParameter>

Solution Dependency Context.

Constructor Summary

Constructor Description
SolutionDependencyParameter()

Creates an instance of SolutionDependencyParameter class.

Method Summary

Modifier and Type Method and Description
List<SolutionDependencyParameter> dependencies()

Get the dependencies property: Solution dependencies.

static SolutionDependencyParameter fromJson(JsonReader jsonReader)

Reads an instance of SolutionDependencyParameter from the JsonReader.

String solutionInstanceName()

Get the solutionInstanceName property: Solution Instance Name.

String solutionTemplateId()

Get the solutionTemplateId property: Solution Template Id.

String solutionTemplateVersion()

Get the solutionTemplateVersion property: Solution Template Version.

String solutionVersionId()

Get the solutionVersionId property: Solution Version Id.

String targetId()

Get the targetId property: Target Id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SolutionDependencyParameter withDependencies(List<SolutionDependencyParameter> dependencies)

Set the dependencies property: Solution dependencies.

SolutionDependencyParameter withSolutionInstanceName(String solutionInstanceName)

Set the solutionInstanceName property: Solution Instance Name.

SolutionDependencyParameter withSolutionTemplateId(String solutionTemplateId)

Set the solutionTemplateId property: Solution Template Id.

SolutionDependencyParameter withSolutionTemplateVersion(String solutionTemplateVersion)

Set the solutionTemplateVersion property: Solution Template Version.

SolutionDependencyParameter withSolutionVersionId(String solutionVersionId)

Set the solutionVersionId property: Solution Version Id.

SolutionDependencyParameter withTargetId(String targetId)

Set the targetId property: Target Id.

Methods inherited from java.lang.Object

Constructor Details

SolutionDependencyParameter

public SolutionDependencyParameter()

Creates an instance of SolutionDependencyParameter class.

Method Details

dependencies

public List<SolutionDependencyParameter> dependencies()

Get the dependencies property: Solution dependencies.

Returns:

the dependencies value.

fromJson

public static SolutionDependencyParameter fromJson(JsonReader jsonReader)

Reads an instance of SolutionDependencyParameter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

solutionInstanceName

public String solutionInstanceName()

Get the solutionInstanceName property: Solution Instance Name.

Returns:

the solutionInstanceName value.

solutionTemplateId

public String solutionTemplateId()

Get the solutionTemplateId property: Solution Template Id.

Returns:

the solutionTemplateId value.

solutionTemplateVersion

public String solutionTemplateVersion()

Get the solutionTemplateVersion property: Solution Template Version.

Returns:

the solutionTemplateVersion value.

solutionVersionId

public String solutionVersionId()

Get the solutionVersionId property: Solution Version Id.

Returns:

the solutionVersionId value.

targetId

public String targetId()

Get the targetId property: Target Id.

Returns:

the targetId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDependencies

public SolutionDependencyParameter withDependencies(List<SolutionDependencyParameter> dependencies)

Set the dependencies property: Solution dependencies.

Parameters:

dependencies - the dependencies value to set.

Returns:

the SolutionDependencyParameter object itself.

withSolutionInstanceName

public SolutionDependencyParameter withSolutionInstanceName(String solutionInstanceName)

Set the solutionInstanceName property: Solution Instance Name.

Parameters:

solutionInstanceName - the solutionInstanceName value to set.

Returns:

the SolutionDependencyParameter object itself.

withSolutionTemplateId

public SolutionDependencyParameter withSolutionTemplateId(String solutionTemplateId)

Set the solutionTemplateId property: Solution Template Id.

Parameters:

solutionTemplateId - the solutionTemplateId value to set.

Returns:

the SolutionDependencyParameter object itself.

withSolutionTemplateVersion

public SolutionDependencyParameter withSolutionTemplateVersion(String solutionTemplateVersion)

Set the solutionTemplateVersion property: Solution Template Version.

Parameters:

solutionTemplateVersion - the solutionTemplateVersion value to set.

Returns:

the SolutionDependencyParameter object itself.

withSolutionVersionId

public SolutionDependencyParameter withSolutionVersionId(String solutionVersionId)

Set the solutionVersionId property: Solution Version Id.

Parameters:

solutionVersionId - the solutionVersionId value to set.

Returns:

the SolutionDependencyParameter object itself.

withTargetId

public SolutionDependencyParameter withTargetId(String targetId)

Set the targetId property: Target Id.

Parameters:

targetId - the targetId value to set.

Returns:

the SolutionDependencyParameter object itself.

Applies to