@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NeoVpcConfig extends Object implements Serializable, Cloneable, StructuredPojo
The VpcConfig configuration object that specifies the VPC that you want the compilation jobs to connect to. For more information on controlling access to your Amazon S3 buckets used for compilation job, see Give Amazon SageMaker Compilation Jobs Access to Resources in Your Amazon VPC.
| Constructor and Description |
|---|
NeoVpcConfig() |
| Modifier and Type | Method and Description |
|---|---|
NeoVpcConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
The VPC security group IDs.
|
List<String> |
getSubnets()
The ID of the subnets in the VPC that you want to connect the compilation job to for accessing the model in
Amazon S3.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The VPC security group IDs.
|
void |
setSubnets(Collection<String> subnets)
The ID of the subnets in the VPC that you want to connect the compilation job to for accessing the model in
Amazon S3.
|
String |
toString()
Returns a string representation of this object.
|
NeoVpcConfig |
withSecurityGroupIds(Collection<String> securityGroupIds)
The VPC security group IDs.
|
NeoVpcConfig |
withSecurityGroupIds(String... securityGroupIds)
The VPC security group IDs.
|
NeoVpcConfig |
withSubnets(Collection<String> subnets)
The ID of the subnets in the VPC that you want to connect the compilation job to for accessing the model in
Amazon S3.
|
NeoVpcConfig |
withSubnets(String... subnets)
The ID of the subnets in the VPC that you want to connect the compilation job to for accessing the model in
Amazon S3.
|
public List<String> getSecurityGroupIds()
The VPC security group IDs. IDs have the form of sg-xxxxxxxx. Specify the security groups for the
VPC that is specified in the Subnets field.
sg-xxxxxxxx. Specify the security groups
for the VPC that is specified in the Subnets field.public void setSecurityGroupIds(Collection<String> securityGroupIds)
The VPC security group IDs. IDs have the form of sg-xxxxxxxx. Specify the security groups for the
VPC that is specified in the Subnets field.
securityGroupIds - The VPC security group IDs. IDs have the form of sg-xxxxxxxx. Specify the security groups for
the VPC that is specified in the Subnets field.public NeoVpcConfig withSecurityGroupIds(String... securityGroupIds)
The VPC security group IDs. IDs have the form of sg-xxxxxxxx. Specify the security groups for the
VPC that is specified in the Subnets field.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection) or withSecurityGroupIds(java.util.Collection) if you
want to override the existing values.
securityGroupIds - The VPC security group IDs. IDs have the form of sg-xxxxxxxx. Specify the security groups for
the VPC that is specified in the Subnets field.public NeoVpcConfig withSecurityGroupIds(Collection<String> securityGroupIds)
The VPC security group IDs. IDs have the form of sg-xxxxxxxx. Specify the security groups for the
VPC that is specified in the Subnets field.
securityGroupIds - The VPC security group IDs. IDs have the form of sg-xxxxxxxx. Specify the security groups for
the VPC that is specified in the Subnets field.public List<String> getSubnets()
The ID of the subnets in the VPC that you want to connect the compilation job to for accessing the model in Amazon S3.
public void setSubnets(Collection<String> subnets)
The ID of the subnets in the VPC that you want to connect the compilation job to for accessing the model in Amazon S3.
subnets - The ID of the subnets in the VPC that you want to connect the compilation job to for accessing the model
in Amazon S3.public NeoVpcConfig withSubnets(String... subnets)
The ID of the subnets in the VPC that you want to connect the compilation job to for accessing the model in Amazon S3.
NOTE: This method appends the values to the existing list (if any). Use
setSubnets(java.util.Collection) or withSubnets(java.util.Collection) if you want to override
the existing values.
subnets - The ID of the subnets in the VPC that you want to connect the compilation job to for accessing the model
in Amazon S3.public NeoVpcConfig withSubnets(Collection<String> subnets)
The ID of the subnets in the VPC that you want to connect the compilation job to for accessing the model in Amazon S3.
subnets - The ID of the subnets in the VPC that you want to connect the compilation job to for accessing the model
in Amazon S3.public String toString()
toString in class ObjectObject.toString()public NeoVpcConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.