com.pulumi.aws.sagemaker.outputs.DataQualityJobDefinitionNetworkConfigVpcConfig 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.
// *** 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.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class DataQualityJobDefinitionNetworkConfigVpcConfig {
/**
* @return The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the `subnets` field.
*
*/
private List securityGroupIds;
/**
* @return The ID of the subnets in the VPC to which you want to connect your training job or model.
*
*/
private List subnets;
private DataQualityJobDefinitionNetworkConfigVpcConfig() {}
/**
* @return The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the `subnets` field.
*
*/
public List securityGroupIds() {
return this.securityGroupIds;
}
/**
* @return The ID of the subnets in the VPC to which you want to connect your training job or model.
*
*/
public List subnets() {
return this.subnets;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DataQualityJobDefinitionNetworkConfigVpcConfig defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List securityGroupIds;
private List subnets;
public Builder() {}
public Builder(DataQualityJobDefinitionNetworkConfigVpcConfig defaults) {
Objects.requireNonNull(defaults);
this.securityGroupIds = defaults.securityGroupIds;
this.subnets = defaults.subnets;
}
@CustomType.Setter
public Builder securityGroupIds(List securityGroupIds) {
if (securityGroupIds == null) {
throw new MissingRequiredPropertyException("DataQualityJobDefinitionNetworkConfigVpcConfig", "securityGroupIds");
}
this.securityGroupIds = securityGroupIds;
return this;
}
public Builder securityGroupIds(String... securityGroupIds) {
return securityGroupIds(List.of(securityGroupIds));
}
@CustomType.Setter
public Builder subnets(List subnets) {
if (subnets == null) {
throw new MissingRequiredPropertyException("DataQualityJobDefinitionNetworkConfigVpcConfig", "subnets");
}
this.subnets = subnets;
return this;
}
public Builder subnets(String... subnets) {
return subnets(List.of(subnets));
}
public DataQualityJobDefinitionNetworkConfigVpcConfig build() {
final var _resultValue = new DataQualityJobDefinitionNetworkConfigVpcConfig();
_resultValue.securityGroupIds = securityGroupIds;
_resultValue.subnets = subnets;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy