JobTargetGroupInner Class

public final class JobTargetGroupInner
extends ProxyResource

A group of job targets.

Constructor Summary

Constructor Description
JobTargetGroupInner()

Creates an instance of JobTargetGroupInner class.

Method Summary

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

Reads an instance of JobTargetGroupInner from the JsonReader.

String id()

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

List<JobTarget> members()

Get the members property: Members of the target group.

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

JobTargetGroupInner withMembers(List<JobTarget> members)

Set the members property: Members of the target group.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

JobTargetGroupInner

public JobTargetGroupInner()

Creates an instance of JobTargetGroupInner class.

Method Details

fromJson

public static JobTargetGroupInner fromJson(JsonReader jsonReader)

Reads an instance of JobTargetGroupInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of JobTargetGroupInner 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:

JobTargetGroupInner.id()

Returns:

the id value.

members

public List members()

Get the members property: Members of the target group.

Returns:

the members value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

JobTargetGroupInner.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

JobTargetGroupInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

JobTargetGroupInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withMembers

public JobTargetGroupInner withMembers(List members)

Set the members property: Members of the target group.

Parameters:

members - the members value to set.

Returns:

the JobTargetGroupInner object itself.

Applies to