@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationJobVpcConfig extends Object implements Serializable, Cloneable, StructuredPojo
Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.
Constructor and Description |
---|
RecommendationJobVpcConfig() |
Modifier and Type | Method and Description |
---|---|
RecommendationJobVpcConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
The VPC security group IDs.
|
List<String> |
getSubnets()
The ID of the subnets in the VPC to which you want to connect your model.
|
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 to which you want to connect your model.
|
String |
toString()
Returns a string representation of this object.
|
RecommendationJobVpcConfig |
withSecurityGroupIds(Collection<String> securityGroupIds)
The VPC security group IDs.
|
RecommendationJobVpcConfig |
withSecurityGroupIds(String... securityGroupIds)
The VPC security group IDs.
|
RecommendationJobVpcConfig |
withSubnets(Collection<String> subnets)
The ID of the subnets in the VPC to which you want to connect your model.
|
RecommendationJobVpcConfig |
withSubnets(String... subnets)
The ID of the subnets in the VPC to which you want to connect your model.
|
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 RecommendationJobVpcConfig 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 RecommendationJobVpcConfig 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 to which you want to connect your model.
public void setSubnets(Collection<String> subnets)
The ID of the subnets in the VPC to which you want to connect your model.
subnets
- The ID of the subnets in the VPC to which you want to connect your model.public RecommendationJobVpcConfig withSubnets(String... subnets)
The ID of the subnets in the VPC to which you want to connect your model.
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 to which you want to connect your model.public RecommendationJobVpcConfig withSubnets(Collection<String> subnets)
The ID of the subnets in the VPC to which you want to connect your model.
subnets
- The ID of the subnets in the VPC to which you want to connect your model.public String toString()
toString
in class Object
Object.toString()
public RecommendationJobVpcConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.