
com.pulumi.azurenative.appplatform.outputs.BuildServiceAgentPoolPropertiesResponse 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.appplatform.outputs;
import com.pulumi.azurenative.appplatform.outputs.BuildServiceAgentPoolSizePropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class BuildServiceAgentPoolPropertiesResponse {
/**
* @return build service agent pool size properties
*
*/
private @Nullable BuildServiceAgentPoolSizePropertiesResponse poolSize;
/**
* @return Provisioning state of the build service agent pool
*
*/
private String provisioningState;
private BuildServiceAgentPoolPropertiesResponse() {}
/**
* @return build service agent pool size properties
*
*/
public Optional poolSize() {
return Optional.ofNullable(this.poolSize);
}
/**
* @return Provisioning state of the build service agent pool
*
*/
public String provisioningState() {
return this.provisioningState;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BuildServiceAgentPoolPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable BuildServiceAgentPoolSizePropertiesResponse poolSize;
private String provisioningState;
public Builder() {}
public Builder(BuildServiceAgentPoolPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.poolSize = defaults.poolSize;
this.provisioningState = defaults.provisioningState;
}
@CustomType.Setter
public Builder poolSize(@Nullable BuildServiceAgentPoolSizePropertiesResponse poolSize) {
this.poolSize = poolSize;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("BuildServiceAgentPoolPropertiesResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
public BuildServiceAgentPoolPropertiesResponse build() {
final var _resultValue = new BuildServiceAgentPoolPropertiesResponse();
_resultValue.poolSize = poolSize;
_resultValue.provisioningState = provisioningState;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy