com.azure.resourcemanager.automation.implementation.HybridRunbookWorkerGroupImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-automation Show documentation
Show all versions of azure-resourcemanager-automation Show documentation
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-2019-06.
// 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.HybridRunbookWorkerGroupInner;
import com.azure.resourcemanager.automation.models.GroupTypeEnum;
import com.azure.resourcemanager.automation.models.HybridRunbookWorker;
import com.azure.resourcemanager.automation.models.HybridRunbookWorkerGroup;
import com.azure.resourcemanager.automation.models.RunAsCredentialAssociationProperty;
import java.util.Collections;
import java.util.List;
public final class HybridRunbookWorkerGroupImpl implements HybridRunbookWorkerGroup {
private HybridRunbookWorkerGroupInner innerObject;
private final com.azure.resourcemanager.automation.AutomationManager serviceManager;
HybridRunbookWorkerGroupImpl(
HybridRunbookWorkerGroupInner innerObject,
com.azure.resourcemanager.automation.AutomationManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
public String id() {
return this.innerModel().id();
}
public String name() {
return this.innerModel().name();
}
public List hybridRunbookWorkers() {
List inner = this.innerModel().hybridRunbookWorkers();
if (inner != null) {
return Collections.unmodifiableList(inner);
} else {
return Collections.emptyList();
}
}
public RunAsCredentialAssociationProperty credential() {
return this.innerModel().credential();
}
public GroupTypeEnum groupType() {
return this.innerModel().groupType();
}
public HybridRunbookWorkerGroupInner innerModel() {
return this.innerObject;
}
private com.azure.resourcemanager.automation.AutomationManager manager() {
return this.serviceManager;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy