@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsCodeBuildProjectVpcConfig extends Object implements Serializable, Cloneable, StructuredPojo
Information about the VPC configuration that AWS CodeBuild accesses.
Constructor and Description |
---|
AwsCodeBuildProjectVpcConfig() |
Modifier and Type | Method and Description |
---|---|
AwsCodeBuildProjectVpcConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
A list of one or more security group IDs in your Amazon VPC.
|
List<String> |
getSubnets()
A list of one or more subnet IDs in your Amazon VPC.
|
String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
A list of one or more security group IDs in your Amazon VPC.
|
void |
setSubnets(Collection<String> subnets)
A list of one or more subnet IDs in your Amazon VPC.
|
void |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object.
|
AwsCodeBuildProjectVpcConfig |
withSecurityGroupIds(Collection<String> securityGroupIds)
A list of one or more security group IDs in your Amazon VPC.
|
AwsCodeBuildProjectVpcConfig |
withSecurityGroupIds(String... securityGroupIds)
A list of one or more security group IDs in your Amazon VPC.
|
AwsCodeBuildProjectVpcConfig |
withSubnets(Collection<String> subnets)
A list of one or more subnet IDs in your Amazon VPC.
|
AwsCodeBuildProjectVpcConfig |
withSubnets(String... subnets)
A list of one or more subnet IDs in your Amazon VPC.
|
AwsCodeBuildProjectVpcConfig |
withVpcId(String vpcId)
The ID of the VPC.
|
public void setVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public String getVpcId()
The ID of the VPC.
public AwsCodeBuildProjectVpcConfig withVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public List<String> getSubnets()
A list of one or more subnet IDs in your Amazon VPC.
public void setSubnets(Collection<String> subnets)
A list of one or more subnet IDs in your Amazon VPC.
subnets
- A list of one or more subnet IDs in your Amazon VPC.public AwsCodeBuildProjectVpcConfig withSubnets(String... subnets)
A list of one or more subnet IDs in your Amazon VPC.
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
- A list of one or more subnet IDs in your Amazon VPC.public AwsCodeBuildProjectVpcConfig withSubnets(Collection<String> subnets)
A list of one or more subnet IDs in your Amazon VPC.
subnets
- A list of one or more subnet IDs in your Amazon VPC.public List<String> getSecurityGroupIds()
A list of one or more security group IDs in your Amazon VPC.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
A list of one or more security group IDs in your Amazon VPC.
securityGroupIds
- A list of one or more security group IDs in your Amazon VPC.public AwsCodeBuildProjectVpcConfig withSecurityGroupIds(String... securityGroupIds)
A list of one or more security group IDs in your Amazon VPC.
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
- A list of one or more security group IDs in your Amazon VPC.public AwsCodeBuildProjectVpcConfig withSecurityGroupIds(Collection<String> securityGroupIds)
A list of one or more security group IDs in your Amazon VPC.
securityGroupIds
- A list of one or more security group IDs in your Amazon VPC.public String toString()
toString
in class Object
Object.toString()
public AwsCodeBuildProjectVpcConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.