Class TeamProperties
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.TeamProperties
-
public final class TeamProperties extends Object
Describes team properties.
-
-
Constructor Summary
Constructors Constructor Description TeamProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<UUID>
groupIds()
Get the groupIds property: List of group IDs to add their members to the team.List<UUID>
memberIds()
Get the memberIds property: List of member IDs to add to the team.String
teamDescription()
Get the teamDescription property: The description of the team.String
teamName()
Get the teamName property: The name of the team.void
validate()
Validates the instance.TeamProperties
withGroupIds(List<UUID> groupIds)
Set the groupIds property: List of group IDs to add their members to the team.TeamProperties
withMemberIds(List<UUID> memberIds)
Set the memberIds property: List of member IDs to add to the team.TeamProperties
withTeamDescription(String teamDescription)
Set the teamDescription property: The description of the team.TeamProperties
withTeamName(String teamName)
Set the teamName property: The name of the team.
-
-
-
Method Detail
-
teamName
public String teamName()
Get the teamName property: The name of the team.- Returns:
- the teamName value.
-
withTeamName
public TeamProperties withTeamName(String teamName)
Set the teamName property: The name of the team.- Parameters:
teamName
- the teamName value to set.- Returns:
- the TeamProperties object itself.
-
teamDescription
public String teamDescription()
Get the teamDescription property: The description of the team.- Returns:
- the teamDescription value.
-
withTeamDescription
public TeamProperties withTeamDescription(String teamDescription)
Set the teamDescription property: The description of the team.- Parameters:
teamDescription
- the teamDescription value to set.- Returns:
- the TeamProperties object itself.
-
memberIds
public List<UUID> memberIds()
Get the memberIds property: List of member IDs to add to the team.- Returns:
- the memberIds value.
-
withMemberIds
public TeamProperties withMemberIds(List<UUID> memberIds)
Set the memberIds property: List of member IDs to add to the team.- Parameters:
memberIds
- the memberIds value to set.- Returns:
- the TeamProperties object itself.
-
groupIds
public List<UUID> groupIds()
Get the groupIds property: List of group IDs to add their members to the team.- Returns:
- the groupIds value.
-
withGroupIds
public TeamProperties withGroupIds(List<UUID> groupIds)
Set the groupIds property: List of group IDs to add their members to the team.- Parameters:
groupIds
- the groupIds value to set.- Returns:
- the TeamProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-