RunbookAssociationProperty Class

  • java.lang.Object
    • com.azure.resourcemanager.automation.models.RunbookAssociationProperty

Implements

public final class RunbookAssociationProperty
implements JsonSerializable<RunbookAssociationProperty>

The runbook property associated with the entity.

Constructor Summary

Constructor Description
RunbookAssociationProperty()

Creates an instance of RunbookAssociationProperty class.

Method Summary

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

Reads an instance of RunbookAssociationProperty from the JsonReader.

String name()

Get the name property: Gets or sets the name of the runbook.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RunbookAssociationProperty withName(String name)

Set the name property: Gets or sets the name of the runbook.

Methods inherited from java.lang.Object

Constructor Details

RunbookAssociationProperty

public RunbookAssociationProperty()

Creates an instance of RunbookAssociationProperty class.

Method Details

fromJson

public static RunbookAssociationProperty fromJson(JsonReader jsonReader)

Reads an instance of RunbookAssociationProperty from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Gets or sets the name of the runbook.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withName

public RunbookAssociationProperty withName(String name)

Set the name property: Gets or sets the name of the runbook.

Parameters:

name - the name value to set.

Returns:

the RunbookAssociationProperty object itself.

Applies to