JobTargetGroupInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. JobTargetGroupInner
- com.
- com.
public final class JobTargetGroupInner
extends ProxyResource
A group of job targets.
Constructor Summary
Constructor | Description |
---|---|
JobTargetGroupInner() |
Creates an instance of Job |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Job |
fromJson(JsonReader jsonReader)
Reads an instance of Job |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
List<Job |
members()
Get the members property: Members of the target group. |
String |
name()
Get the name property: The name of the resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Job |
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:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
JobTargetGroupInner.id()Returns:
members
public List
Get the members property: Members of the target group.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
JobTargetGroupInner.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
JobTargetGroupInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
JobTargetGroupInner.type()Returns:
validate
public void validate()
Validates the instance.
withMembers
public JobTargetGroupInner withMembers(List
Set the members property: Members of the target group.
Parameters:
Returns:
Applies to
Azure SDK for Java