com.azure.resourcemanager.automation.implementation.JobStreamImpl 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-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.JobStreamInner;
import com.azure.resourcemanager.automation.models.JobStream;
import com.azure.resourcemanager.automation.models.JobStreamType;
import java.time.OffsetDateTime;
import java.util.Collections;
import java.util.Map;
public final class JobStreamImpl implements JobStream {
private JobStreamInner innerObject;
private final com.azure.resourcemanager.automation.AutomationManager serviceManager;
JobStreamImpl(JobStreamInner innerObject, com.azure.resourcemanager.automation.AutomationManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
public String id() {
return this.innerModel().id();
}
public String jobStreamId() {
return this.innerModel().jobStreamId();
}
public OffsetDateTime time() {
return this.innerModel().time();
}
public JobStreamType streamType() {
return this.innerModel().streamType();
}
public String streamText() {
return this.innerModel().streamText();
}
public String summary() {
return this.innerModel().summary();
}
public Map value() {
Map inner = this.innerModel().value();
if (inner != null) {
return Collections.unmodifiableMap(inner);
} else {
return Collections.emptyMap();
}
}
public JobStreamInner innerModel() {
return this.innerObject;
}
private com.azure.resourcemanager.automation.AutomationManager manager() {
return this.serviceManager;
}
}