
com.pulumi.azurenative.automation.outputs.SoftwareUpdateConfigurationTasksResponse 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.azurenative.automation.outputs.TaskPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SoftwareUpdateConfigurationTasksResponse {
/**
* @return Post task properties.
*
*/
private @Nullable TaskPropertiesResponse postTask;
/**
* @return Pre task properties.
*
*/
private @Nullable TaskPropertiesResponse preTask;
private SoftwareUpdateConfigurationTasksResponse() {}
/**
* @return Post task properties.
*
*/
public Optional postTask() {
return Optional.ofNullable(this.postTask);
}
/**
* @return Pre task properties.
*
*/
public Optional preTask() {
return Optional.ofNullable(this.preTask);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SoftwareUpdateConfigurationTasksResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable TaskPropertiesResponse postTask;
private @Nullable TaskPropertiesResponse preTask;
public Builder() {}
public Builder(SoftwareUpdateConfigurationTasksResponse defaults) {
Objects.requireNonNull(defaults);
this.postTask = defaults.postTask;
this.preTask = defaults.preTask;
}
@CustomType.Setter
public Builder postTask(@Nullable TaskPropertiesResponse postTask) {
this.postTask = postTask;
return this;
}
@CustomType.Setter
public Builder preTask(@Nullable TaskPropertiesResponse preTask) {
this.preTask = preTask;
return this;
}
public SoftwareUpdateConfigurationTasksResponse build() {
final var _resultValue = new SoftwareUpdateConfigurationTasksResponse();
_resultValue.postTask = postTask;
_resultValue.preTask = preTask;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy