Share via


UnresolvedDependencyInner Class

  • java.lang.Object
    • com.azure.resourcemanager.resourcemover.fluent.models.UnresolvedDependencyInner

Implements

public final class UnresolvedDependencyInner
implements JsonSerializable<UnresolvedDependencyInner>

Unresolved dependency.

Constructor Summary

Constructor Description
UnresolvedDependencyInner()

Creates an instance of UnresolvedDependencyInner class.

Method Summary

Modifier and Type Method and Description
Integer count()

Get the count property: Gets or sets the count.

static UnresolvedDependencyInner fromJson(JsonReader jsonReader)

Reads an instance of UnresolvedDependencyInner from the JsonReader.

String id()

Get the id property: Gets or sets the arm id of the dependency.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

UnresolvedDependencyInner withCount(Integer count)

Set the count property: Gets or sets the count.

UnresolvedDependencyInner withId(String id)

Set the id property: Gets or sets the arm id of the dependency.

Methods inherited from java.lang.Object

Constructor Details

UnresolvedDependencyInner

public UnresolvedDependencyInner()

Creates an instance of UnresolvedDependencyInner class.

Method Details

count

public Integer count()

Get the count property: Gets or sets the count.

Returns:

the count value.

fromJson

public static UnresolvedDependencyInner fromJson(JsonReader jsonReader)

Reads an instance of UnresolvedDependencyInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Gets or sets the arm id of the dependency.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCount

public UnresolvedDependencyInner withCount(Integer count)

Set the count property: Gets or sets the count.

Parameters:

count - the count value to set.

Returns:

the UnresolvedDependencyInner object itself.

withId

public UnresolvedDependencyInner withId(String id)

Set the id property: Gets or sets the arm id of the dependency.

Parameters:

id - the id value to set.

Returns:

the UnresolvedDependencyInner object itself.

Applies to