com.pulumi.azurenative.datadog.outputs.DatadogHostMetadataResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.datadog.outputs;
import com.pulumi.azurenative.datadog.outputs.DatadogInstallMethodResponse;
import com.pulumi.azurenative.datadog.outputs.DatadogLogsAgentResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DatadogHostMetadataResponse {
/**
* @return The agent version.
*
*/
private @Nullable String agentVersion;
private @Nullable DatadogInstallMethodResponse installMethod;
private @Nullable DatadogLogsAgentResponse logsAgent;
private DatadogHostMetadataResponse() {}
/**
* @return The agent version.
*
*/
public Optional agentVersion() {
return Optional.ofNullable(this.agentVersion);
}
public Optional installMethod() {
return Optional.ofNullable(this.installMethod);
}
public Optional logsAgent() {
return Optional.ofNullable(this.logsAgent);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DatadogHostMetadataResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String agentVersion;
private @Nullable DatadogInstallMethodResponse installMethod;
private @Nullable DatadogLogsAgentResponse logsAgent;
public Builder() {}
public Builder(DatadogHostMetadataResponse defaults) {
Objects.requireNonNull(defaults);
this.agentVersion = defaults.agentVersion;
this.installMethod = defaults.installMethod;
this.logsAgent = defaults.logsAgent;
}
@CustomType.Setter
public Builder agentVersion(@Nullable String agentVersion) {
this.agentVersion = agentVersion;
return this;
}
@CustomType.Setter
public Builder installMethod(@Nullable DatadogInstallMethodResponse installMethod) {
this.installMethod = installMethod;
return this;
}
@CustomType.Setter
public Builder logsAgent(@Nullable DatadogLogsAgentResponse logsAgent) {
this.logsAgent = logsAgent;
return this;
}
public DatadogHostMetadataResponse build() {
final var _resultValue = new DatadogHostMetadataResponse();
_resultValue.agentVersion = agentVersion;
_resultValue.installMethod = installMethod;
_resultValue.logsAgent = logsAgent;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy