Class SharingProfileGroup
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.SharingProfileGroup
-
public final class SharingProfileGroup extends Object
Group of the gallery sharing profile.
-
-
Constructor Summary
Constructors Constructor Description SharingProfileGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>ids()Get the ids property: A list of subscription/tenant ids the gallery is aimed to be shared to.SharingProfileGroupTypestype()Get the type property: This property allows you to specify the type of sharing group.voidvalidate()Validates the instance.SharingProfileGroupwithIds(List<String> ids)Set the ids property: A list of subscription/tenant ids the gallery is aimed to be shared to.SharingProfileGroupwithType(SharingProfileGroupTypes type)Set the type property: This property allows you to specify the type of sharing group.
-
-
-
Method Detail
-
type
public SharingProfileGroupTypes type()
Get the type property: This property allows you to specify the type of sharing group. <br><br> Possible values are: <br><br> **Subscriptions** <br><br> **AADTenants** <br><br> **Community**.- Returns:
- the type value.
-
withType
public SharingProfileGroup withType(SharingProfileGroupTypes type)
Set the type property: This property allows you to specify the type of sharing group. <br><br> Possible values are: <br><br> **Subscriptions** <br><br> **AADTenants** <br><br> **Community**.- Parameters:
type- the type value to set.- Returns:
- the SharingProfileGroup object itself.
-
ids
public List<String> ids()
Get the ids property: A list of subscription/tenant ids the gallery is aimed to be shared to.- Returns:
- the ids value.
-
withIds
public SharingProfileGroup withIds(List<String> ids)
Set the ids property: A list of subscription/tenant ids the gallery is aimed to be shared to.- Parameters:
ids- the ids value to set.- Returns:
- the SharingProfileGroup object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-