com.pulumi.aws.sagemaker.outputs.EndpointDeploymentConfigRollingUpdatePolicyMaximumBatchSize Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** 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.aws.sagemaker.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class EndpointDeploymentConfigRollingUpdatePolicyMaximumBatchSize {
/**
* @return Specifies the endpoint capacity type. Valid values are: `INSTANCE_COUNT`, or `CAPACITY_PERCENT`.
*
*/
private String type;
/**
* @return Defines the capacity size, either as a number of instances or a capacity percentage.
*
*/
private Integer value;
private EndpointDeploymentConfigRollingUpdatePolicyMaximumBatchSize() {}
/**
* @return Specifies the endpoint capacity type. Valid values are: `INSTANCE_COUNT`, or `CAPACITY_PERCENT`.
*
*/
public String type() {
return this.type;
}
/**
* @return Defines the capacity size, either as a number of instances or a capacity percentage.
*
*/
public Integer value() {
return this.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EndpointDeploymentConfigRollingUpdatePolicyMaximumBatchSize defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String type;
private Integer value;
public Builder() {}
public Builder(EndpointDeploymentConfigRollingUpdatePolicyMaximumBatchSize defaults) {
Objects.requireNonNull(defaults);
this.type = defaults.type;
this.value = defaults.value;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("EndpointDeploymentConfigRollingUpdatePolicyMaximumBatchSize", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder value(Integer value) {
if (value == null) {
throw new MissingRequiredPropertyException("EndpointDeploymentConfigRollingUpdatePolicyMaximumBatchSize", "value");
}
this.value = value;
return this;
}
public EndpointDeploymentConfigRollingUpdatePolicyMaximumBatchSize build() {
final var _resultValue = new EndpointDeploymentConfigRollingUpdatePolicyMaximumBatchSize();
_resultValue.type = type;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy