All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.hybridcompute.implementation.MachineInstallPatchesResultImpl Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 1.1.0-beta.1
Show newest version
// 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.implementation;

import com.azure.core.management.exception.ManagementError;
import com.azure.resourcemanager.hybridcompute.fluent.models.MachineInstallPatchesResultInner;
import com.azure.resourcemanager.hybridcompute.models.MachineInstallPatchesResult;
import com.azure.resourcemanager.hybridcompute.models.OsType;
import com.azure.resourcemanager.hybridcompute.models.PatchOperationStartedBy;
import com.azure.resourcemanager.hybridcompute.models.PatchOperationStatus;
import com.azure.resourcemanager.hybridcompute.models.PatchServiceUsed;
import com.azure.resourcemanager.hybridcompute.models.VMGuestPatchRebootStatus;
import java.time.OffsetDateTime;

public final class MachineInstallPatchesResultImpl implements MachineInstallPatchesResult {
    private MachineInstallPatchesResultInner innerObject;

    private final com.azure.resourcemanager.hybridcompute.HybridComputeManager serviceManager;

    MachineInstallPatchesResultImpl(MachineInstallPatchesResultInner innerObject,
        com.azure.resourcemanager.hybridcompute.HybridComputeManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public PatchOperationStatus status() {
        return this.innerModel().status();
    }

    public String installationActivityId() {
        return this.innerModel().installationActivityId();
    }

    public VMGuestPatchRebootStatus rebootStatus() {
        return this.innerModel().rebootStatus();
    }

    public Boolean maintenanceWindowExceeded() {
        return this.innerModel().maintenanceWindowExceeded();
    }

    public Integer excludedPatchCount() {
        return this.innerModel().excludedPatchCount();
    }

    public Integer notSelectedPatchCount() {
        return this.innerModel().notSelectedPatchCount();
    }

    public Integer pendingPatchCount() {
        return this.innerModel().pendingPatchCount();
    }

    public Integer installedPatchCount() {
        return this.innerModel().installedPatchCount();
    }

    public Integer failedPatchCount() {
        return this.innerModel().failedPatchCount();
    }

    public OffsetDateTime startDateTime() {
        return this.innerModel().startDateTime();
    }

    public OffsetDateTime lastModifiedDateTime() {
        return this.innerModel().lastModifiedDateTime();
    }

    public PatchOperationStartedBy startedBy() {
        return this.innerModel().startedBy();
    }

    public PatchServiceUsed patchServiceUsed() {
        return this.innerModel().patchServiceUsed();
    }

    public OsType osType() {
        return this.innerModel().osType();
    }

    public ManagementError errorDetails() {
        return this.innerModel().errorDetails();
    }

    public MachineInstallPatchesResultInner innerModel() {
        return this.innerObject;
    }

    private com.azure.resourcemanager.hybridcompute.HybridComputeManager manager() {
        return this.serviceManager;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy