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

com.azure.resourcemanager.automation.implementation.RunbookCreateOrUpdatePropertiesImpl Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for Automation Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Automation Client. Package tag package-2022-02-22.

The 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.automation.implementation;

import com.azure.resourcemanager.automation.fluent.models.RunbookCreateOrUpdatePropertiesInner;
import com.azure.resourcemanager.automation.fluent.models.RunbookDraftInner;
import com.azure.resourcemanager.automation.models.ContentLink;
import com.azure.resourcemanager.automation.models.RunbookCreateOrUpdateProperties;
import com.azure.resourcemanager.automation.models.RunbookDraft;
import com.azure.resourcemanager.automation.models.RunbookTypeEnum;

public final class RunbookCreateOrUpdatePropertiesImpl implements RunbookCreateOrUpdateProperties {
    private RunbookCreateOrUpdatePropertiesInner innerObject;

    private final com.azure.resourcemanager.automation.AutomationManager serviceManager;

    RunbookCreateOrUpdatePropertiesImpl(RunbookCreateOrUpdatePropertiesInner innerObject,
        com.azure.resourcemanager.automation.AutomationManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

    public RunbookTypeEnum runbookType() {
        return this.innerModel().runbookType();
    }

    public RunbookDraft draft() {
        RunbookDraftInner inner = this.innerModel().draft();
        if (inner != null) {
            return new RunbookDraftImpl(inner, this.manager());
        } else {
            return null;
        }
    }

    public ContentLink publishContentLink() {
        return this.innerModel().publishContentLink();
    }

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

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

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

    private com.azure.resourcemanager.automation.AutomationManager manager() {
        return this.serviceManager;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy