com.pulumi.azurenative.automation.outputs.TaskPropertiesResponse 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.automation.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class TaskPropertiesResponse {
/**
* @return Gets or sets the parameters of the task.
*
*/
private @Nullable Map parameters;
/**
* @return Gets or sets the name of the runbook.
*
*/
private @Nullable String source;
private TaskPropertiesResponse() {}
/**
* @return Gets or sets the parameters of the task.
*
*/
public Map parameters() {
return this.parameters == null ? Map.of() : this.parameters;
}
/**
* @return Gets or sets the name of the runbook.
*
*/
public Optional source() {
return Optional.ofNullable(this.source);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(TaskPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Map parameters;
private @Nullable String source;
public Builder() {}
public Builder(TaskPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.parameters = defaults.parameters;
this.source = defaults.source;
}
@CustomType.Setter
public Builder parameters(@Nullable Map parameters) {
this.parameters = parameters;
return this;
}
@CustomType.Setter
public Builder source(@Nullable String source) {
this.source = source;
return this;
}
public TaskPropertiesResponse build() {
final var _resultValue = new TaskPropertiesResponse();
_resultValue.parameters = parameters;
_resultValue.source = source;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy