![JAR search and dependency download from the Maven repository](/logo.png)
com.azure.resourcemanager.automation.implementation.RunbookPropertiesImpl Maven / Gradle / Ivy
// 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.RunbookDraftInner;
import com.azure.resourcemanager.automation.fluent.models.RunbookPropertiesInner;
import com.azure.resourcemanager.automation.models.ContentLink;
import com.azure.resourcemanager.automation.models.RunbookDraft;
import com.azure.resourcemanager.automation.models.RunbookParameter;
import com.azure.resourcemanager.automation.models.RunbookProperties;
import com.azure.resourcemanager.automation.models.RunbookProvisioningState;
import com.azure.resourcemanager.automation.models.RunbookState;
import com.azure.resourcemanager.automation.models.RunbookTypeEnum;
import java.time.OffsetDateTime;
import java.util.Collections;
import java.util.List;
import java.util.Map;
public final class RunbookPropertiesImpl implements RunbookProperties {
private RunbookPropertiesInner innerObject;
private final com.azure.resourcemanager.automation.AutomationManager serviceManager;
RunbookPropertiesImpl(RunbookPropertiesInner innerObject,
com.azure.resourcemanager.automation.AutomationManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
public RunbookTypeEnum runbookType() {
return this.innerModel().runbookType();
}
public ContentLink publishContentLink() {
return this.innerModel().publishContentLink();
}
public RunbookState state() {
return this.innerModel().state();
}
public Boolean logVerbose() {
return this.innerModel().logVerbose();
}
public Boolean logProgress() {
return this.innerModel().logProgress();
}
public Integer logActivityTrace() {
return this.innerModel().logActivityTrace();
}
public Integer jobCount() {
return this.innerModel().jobCount();
}
public Map parameters() {
Map inner = this.innerModel().parameters();
if (inner != null) {
return Collections.unmodifiableMap(inner);
} else {
return Collections.emptyMap();
}
}
public List outputTypes() {
List inner = this.innerModel().outputTypes();
if (inner != null) {
return Collections.unmodifiableList(inner);
} else {
return Collections.emptyList();
}
}
public RunbookDraft draft() {
RunbookDraftInner inner = this.innerModel().draft();
if (inner != null) {
return new RunbookDraftImpl(inner, this.manager());
} else {
return null;
}
}
public RunbookProvisioningState provisioningState() {
return this.innerModel().provisioningState();
}
public String lastModifiedBy() {
return this.innerModel().lastModifiedBy();
}
public OffsetDateTime creationTime() {
return this.innerModel().creationTime();
}
public OffsetDateTime lastModifiedTime() {
return this.innerModel().lastModifiedTime();
}
public String description() {
return this.innerModel().description();
}
public RunbookPropertiesInner innerModel() {
return this.innerObject;
}
private com.azure.resourcemanager.automation.AutomationManager manager() {
return this.serviceManager;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy