Class OrganizationResourceUpdateProperties
java.lang.Object
com.azure.resourcemanager.astro.models.OrganizationResourceUpdateProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<OrganizationResourceUpdateProperties>
public final class OrganizationResourceUpdateProperties
extends Object
implements com.azure.json.JsonSerializable<OrganizationResourceUpdateProperties>
The updatable properties of the OrganizationResource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of OrganizationResourceUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of OrganizationResourceUpdateProperties from the JsonReader.Get the marketplace property: Marketplace details of the resource.Get the partnerOrganizationProperties property: Organization properties.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) user()Get the user property: Details of the user.voidvalidate()Validates the instance.withMarketplace(LiftrBaseMarketplaceDetailsUpdate marketplace) Set the marketplace property: Marketplace details of the resource.withPartnerOrganizationProperties(LiftrBaseDataPartnerOrganizationPropertiesUpdate partnerOrganizationProperties) Set the partnerOrganizationProperties property: Organization properties.Set the user property: Details of the user.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
OrganizationResourceUpdateProperties
public OrganizationResourceUpdateProperties()Creates an instance of OrganizationResourceUpdateProperties class.
-
-
Method Details
-
marketplace
Get the marketplace property: Marketplace details of the resource.- Returns:
- the marketplace value.
-
withMarketplace
public OrganizationResourceUpdateProperties withMarketplace(LiftrBaseMarketplaceDetailsUpdate marketplace) Set the marketplace property: Marketplace details of the resource.- Parameters:
marketplace- the marketplace value to set.- Returns:
- the OrganizationResourceUpdateProperties object itself.
-
user
Get the user property: Details of the user.- Returns:
- the user value.
-
withUser
Set the user property: Details of the user.- Parameters:
user- the user value to set.- Returns:
- the OrganizationResourceUpdateProperties object itself.
-
partnerOrganizationProperties
Get the partnerOrganizationProperties property: Organization properties.- Returns:
- the partnerOrganizationProperties value.
-
withPartnerOrganizationProperties
public OrganizationResourceUpdateProperties withPartnerOrganizationProperties(LiftrBaseDataPartnerOrganizationPropertiesUpdate partnerOrganizationProperties) Set the partnerOrganizationProperties property: Organization properties.- Parameters:
partnerOrganizationProperties- the partnerOrganizationProperties value to set.- Returns:
- the OrganizationResourceUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<OrganizationResourceUpdateProperties>- Throws:
IOException
-
fromJson
public static OrganizationResourceUpdateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of OrganizationResourceUpdateProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of OrganizationResourceUpdateProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the OrganizationResourceUpdateProperties.
-