Class ConfigurationAssignmentProperties
java.lang.Object
com.azure.resourcemanager.maintenance.fluent.models.ConfigurationAssignmentProperties
Properties for configuration assignment.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ConfigurationAssignmentProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the maintenanceConfigurationId property: The maintenance configuration Id.Get the resourceId property: The unique resourceId.void
validate()
Validates the instance.withMaintenanceConfigurationId
(String maintenanceConfigurationId) Set the maintenanceConfigurationId property: The maintenance configuration Id.withResourceId
(String resourceId) Set the resourceId property: The unique resourceId.
-
Constructor Details
-
ConfigurationAssignmentProperties
public ConfigurationAssignmentProperties()Creates an instance of ConfigurationAssignmentProperties class.
-
-
Method Details
-
maintenanceConfigurationId
Get the maintenanceConfigurationId property: The maintenance configuration Id.- Returns:
- the maintenanceConfigurationId value.
-
withMaintenanceConfigurationId
public ConfigurationAssignmentProperties withMaintenanceConfigurationId(String maintenanceConfigurationId) Set the maintenanceConfigurationId property: The maintenance configuration Id.- Parameters:
maintenanceConfigurationId
- the maintenanceConfigurationId value to set.- Returns:
- the ConfigurationAssignmentProperties 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 ConfigurationAssignmentProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-