Class ServerTrustGroupProperties
java.lang.Object
com.azure.resourcemanager.sql.fluent.models.ServerTrustGroupProperties
Properties of a server trust group.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ServerTrustGroupProperties class. -
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.
-
Constructor Details
-
ServerTrustGroupProperties
public ServerTrustGroupProperties()Creates an instance of ServerTrustGroupProperties 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 ServerTrustGroupProperties object itself.
-
trustScopes
Get the trustScopes property: Trust scope of the server trust group.- Returns:
- the trustScopes value.
-
withTrustScopes
public ServerTrustGroupProperties withTrustScopes(List<ServerTrustGroupPropertiesTrustScopesItem> trustScopes) Set the trustScopes property: Trust scope of the server trust group.- Parameters:
trustScopes- the trustScopes value to set.- Returns:
- the ServerTrustGroupProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-