
com.pulumi.azurenative.batch.outputs.NodePlacementConfigurationResponse 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.batch.outputs;
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 NodePlacementConfigurationResponse {
/**
* @return Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
*
*/
private @Nullable String policy;
private NodePlacementConfigurationResponse() {}
/**
* @return Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
*
*/
public Optional policy() {
return Optional.ofNullable(this.policy);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NodePlacementConfigurationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String policy;
public Builder() {}
public Builder(NodePlacementConfigurationResponse defaults) {
Objects.requireNonNull(defaults);
this.policy = defaults.policy;
}
@CustomType.Setter
public Builder policy(@Nullable String policy) {
this.policy = policy;
return this;
}
public NodePlacementConfigurationResponse build() {
final var _resultValue = new NodePlacementConfigurationResponse();
_resultValue.policy = policy;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy