com.azure.resourcemanager.hybridcompute.fluent.models.PatchSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-hybridcompute Show documentation
Show all versions of azure-resourcemanager-hybridcompute Show documentation
This package contains Microsoft Azure SDK for HybridCompute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Hybrid Compute Management Client. Package tag package-preview-2024-07.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.hybridcompute.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.hybridcompute.models.AssessmentModeTypes;
import com.azure.resourcemanager.hybridcompute.models.PatchModeTypes;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Specifies the patch settings.
*/
@Fluent
public final class PatchSettings {
/*
* Specifies the assessment mode.
*/
@JsonProperty(value = "assessmentMode")
private AssessmentModeTypes assessmentMode;
/*
* Specifies the patch mode.
*/
@JsonProperty(value = "patchMode")
private PatchModeTypes patchMode;
/**
* Creates an instance of PatchSettings class.
*/
public PatchSettings() {
}
/**
* Get the assessmentMode property: Specifies the assessment mode.
*
* @return the assessmentMode value.
*/
public AssessmentModeTypes assessmentMode() {
return this.assessmentMode;
}
/**
* Set the assessmentMode property: Specifies the assessment mode.
*
* @param assessmentMode the assessmentMode value to set.
* @return the PatchSettings object itself.
*/
public PatchSettings withAssessmentMode(AssessmentModeTypes assessmentMode) {
this.assessmentMode = assessmentMode;
return this;
}
/**
* Get the patchMode property: Specifies the patch mode.
*
* @return the patchMode value.
*/
public PatchModeTypes patchMode() {
return this.patchMode;
}
/**
* Set the patchMode property: Specifies the patch mode.
*
* @param patchMode the patchMode value to set.
* @return the PatchSettings object itself.
*/
public PatchSettings withPatchMode(PatchModeTypes patchMode) {
this.patchMode = patchMode;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy