ServerTrustGroupInner Class

public final class ServerTrustGroupInner
extends ProxyResource

A server trust group.

Constructor Summary

Constructor Description
ServerTrustGroupInner()

Creates an instance of ServerTrustGroupInner class.

Method Summary

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

Reads an instance of ServerTrustGroupInner from the JsonReader.

List<ServerInfo> groupMembers()

Get the groupMembers property: Group members information for the server trust group.

String id()

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

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
List<ServerTrustGroupPropertiesTrustScopesItem> trustScopes()

Get the trustScopes property: Trust scope of the server trust group.

String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ServerTrustGroupInner withGroupMembers(List<ServerInfo> groupMembers)

Set the groupMembers property: Group members information for the server trust group.

ServerTrustGroupInner withTrustScopes(List<ServerTrustGroupPropertiesTrustScopesItem> trustScopes)

Set the trustScopes property: Trust scope of the server trust group.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ServerTrustGroupInner

public ServerTrustGroupInner()

Creates an instance of ServerTrustGroupInner class.

Method Details

fromJson

public static ServerTrustGroupInner fromJson(JsonReader jsonReader)

Reads an instance of ServerTrustGroupInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

groupMembers

public List groupMembers()

Get the groupMembers property: Group members information for the server trust group.

Returns:

the groupMembers value.

id

public String id()

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

Overrides:

ServerTrustGroupInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ServerTrustGroupInner.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ServerTrustGroupInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

trustScopes

public List trustScopes()

Get the trustScopes property: Trust scope of the server trust group.

Returns:

the trustScopes value.

type

public String type()

Get the type property: The type of the resource.

Overrides:

ServerTrustGroupInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withGroupMembers

public ServerTrustGroupInner withGroupMembers(List groupMembers)

Set the groupMembers property: Group members information for the server trust group.

Parameters:

groupMembers - the groupMembers value to set.

Returns:

the ServerTrustGroupInner object itself.

withTrustScopes

public ServerTrustGroupInner withTrustScopes(List trustScopes)

Set the trustScopes property: Trust scope of the server trust group.

Parameters:

trustScopes - the trustScopes value to set.

Returns:

the ServerTrustGroupInner object itself.

Applies to