Class CloudServiceRoleProfile
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.CloudServiceRoleProfile
-
public final class CloudServiceRoleProfile extends Object
Describes the role profile for the cloud service.
-
-
Constructor Summary
Constructors Constructor Description CloudServiceRoleProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CloudServiceRoleProfileProperties>roles()Get the roles property: List of roles for the cloud service.voidvalidate()Validates the instance.CloudServiceRoleProfilewithRoles(List<CloudServiceRoleProfileProperties> roles)Set the roles property: List of roles for the cloud service.
-
-
-
Method Detail
-
roles
public List<CloudServiceRoleProfileProperties> roles()
Get the roles property: List of roles for the cloud service.- Returns:
- the roles value.
-
withRoles
public CloudServiceRoleProfile withRoles(List<CloudServiceRoleProfileProperties> roles)
Set the roles property: List of roles for the cloud service.- Parameters:
roles- the roles value to set.- Returns:
- the CloudServiceRoleProfile object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-