Class ServerTrustGroupInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.sql.fluent.models.ServerTrustGroupInner
public final class ServerTrustGroupInner
extends com.azure.core.management.ProxyResource
A server trust group.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the groupMembers property: Group members information for the server trust group.Get the trustScopes property: Trust scope of the server trust group.voidvalidate()Validates the instance.withGroupMembers(List<ServerInfo> groupMembers) Set the groupMembers property: Group members information for the server trust group.withTrustScopes(List<ServerTrustGroupPropertiesTrustScopesItem> trustScopes) Set the trustScopes property: Trust scope of the server trust group.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ServerTrustGroupInner
public ServerTrustGroupInner()Creates an instance of ServerTrustGroupInner class.
-
-
Method Details
-
groupMembers
Get the groupMembers property: Group members information for the server trust group.- Returns:
- the groupMembers value.
-
withGroupMembers
Set the groupMembers property: Group members information for the server trust group.- Parameters:
groupMembers- the groupMembers value to set.- Returns:
- the ServerTrustGroupInner object itself.
-
trustScopes
Get the trustScopes property: Trust scope of the server trust group.- Returns:
- the trustScopes value.
-
withTrustScopes
public ServerTrustGroupInner withTrustScopes(List<ServerTrustGroupPropertiesTrustScopesItem> trustScopes) Set the trustScopes property: Trust scope of the server trust group.- Parameters:
trustScopes- the trustScopes value to set.- Returns:
- the ServerTrustGroupInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-