ServerTrustGroupInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. ServerTrustGroupInner
- com.
- com.
public final class ServerTrustGroupInner
extends ProxyResource
A server trust group.
Constructor Summary
Constructor | Description |
---|---|
ServerTrustGroupInner() |
Creates an instance of Server |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
List<Server |
groupMembers()
Get the 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. |
Json |
toJson(JsonWriter jsonWriter) |
List<Server |
trustScopes()
Get the trust |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Server |
withGroupMembers(List<ServerInfo> groupMembers)
Set the group |
Server |
withTrustScopes(List<ServerTrustGroupPropertiesTrustScopesItem> trustScopes)
Set the trust |
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:
Returns:
Throws:
groupMembers
public List
Get the groupMembers property: Group members information for the server trust group.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ServerTrustGroupInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ServerTrustGroupInner.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ServerTrustGroupInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
trustScopes
public List
Get the trustScopes property: Trust scope of the server trust group.
Returns:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ServerTrustGroupInner.type()Returns:
validate
public void validate()
Validates the instance.
withGroupMembers
public ServerTrustGroupInner withGroupMembers(List
Set the groupMembers property: Group members information for the server trust group.
Parameters:
Returns:
withTrustScopes
public ServerTrustGroupInner withTrustScopes(List
Set the trustScopes property: Trust scope of the server trust group.
Parameters:
Returns:
Applies to
Azure SDK for Java