Class ConfigurationAssignmentInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.maintenance.fluent.models.ConfigurationAssignmentInner
public final class ConfigurationAssignmentInner
extends com.azure.core.management.ProxyResource
Configuration Assignment.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ConfigurationAssignmentInner class. -
Method Summary
Modifier and TypeMethodDescriptionlocation()
Get the location property: Location of the resource.Get the maintenanceConfigurationId property: The maintenance configuration Id.Get the resourceId property: The unique resourceId.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.void
validate()
Validates the instance.withLocation
(String location) Set the location property: Location of the resource.withMaintenanceConfigurationId
(String maintenanceConfigurationId) Set the maintenanceConfigurationId property: The maintenance configuration Id.withResourceId
(String resourceId) Set the resourceId property: The unique resourceId.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ConfigurationAssignmentInner
public ConfigurationAssignmentInner()Creates an instance of ConfigurationAssignmentInner class.
-
-
Method Details
-
location
Get the location property: Location of the resource.- Returns:
- the location value.
-
withLocation
Set the location property: Location of the resource.- Parameters:
location
- the location value to set.- Returns:
- the ConfigurationAssignmentInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
maintenanceConfigurationId
Get the maintenanceConfigurationId property: The maintenance configuration Id.- Returns:
- the maintenanceConfigurationId value.
-
withMaintenanceConfigurationId
public ConfigurationAssignmentInner withMaintenanceConfigurationId(String maintenanceConfigurationId) Set the maintenanceConfigurationId property: The maintenance configuration Id.- Parameters:
maintenanceConfigurationId
- the maintenanceConfigurationId value to set.- Returns:
- the ConfigurationAssignmentInner object itself.
-
resourceId
Get the resourceId property: The unique resourceId.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: The unique resourceId.- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the ConfigurationAssignmentInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-