@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkSettings extends Object implements Serializable, Cloneable, StructuredPojo
A network settings resource that can be associated with a web portal. Once associated with a web portal, network settings define how streaming instances will connect with your specified VPC.
Constructor and Description |
---|
NetworkSettings() |
Modifier and Type | Method and Description |
---|---|
NetworkSettings |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAssociatedPortalArns()
A list of web portal ARNs that this network settings is associated with.
|
String |
getNetworkSettingsArn()
The ARN of the network settings.
|
List<String> |
getSecurityGroupIds()
One or more security groups used to control access from streaming instances to your VPC.
|
List<String> |
getSubnetIds()
The subnets in which network interfaces are created to connect streaming instances to your VPC.
|
String |
getVpcId()
The VPC that streaming instances will connect to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociatedPortalArns(Collection<String> associatedPortalArns)
A list of web portal ARNs that this network settings is associated with.
|
void |
setNetworkSettingsArn(String networkSettingsArn)
The ARN of the network settings.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
One or more security groups used to control access from streaming instances to your VPC.
|
void |
setSubnetIds(Collection<String> subnetIds)
The subnets in which network interfaces are created to connect streaming instances to your VPC.
|
void |
setVpcId(String vpcId)
The VPC that streaming instances will connect to.
|
String |
toString()
Returns a string representation of this object.
|
NetworkSettings |
withAssociatedPortalArns(Collection<String> associatedPortalArns)
A list of web portal ARNs that this network settings is associated with.
|
NetworkSettings |
withAssociatedPortalArns(String... associatedPortalArns)
A list of web portal ARNs that this network settings is associated with.
|
NetworkSettings |
withNetworkSettingsArn(String networkSettingsArn)
The ARN of the network settings.
|
NetworkSettings |
withSecurityGroupIds(Collection<String> securityGroupIds)
One or more security groups used to control access from streaming instances to your VPC.
|
NetworkSettings |
withSecurityGroupIds(String... securityGroupIds)
One or more security groups used to control access from streaming instances to your VPC.
|
NetworkSettings |
withSubnetIds(Collection<String> subnetIds)
The subnets in which network interfaces are created to connect streaming instances to your VPC.
|
NetworkSettings |
withSubnetIds(String... subnetIds)
The subnets in which network interfaces are created to connect streaming instances to your VPC.
|
NetworkSettings |
withVpcId(String vpcId)
The VPC that streaming instances will connect to.
|
public List<String> getAssociatedPortalArns()
A list of web portal ARNs that this network settings is associated with.
public void setAssociatedPortalArns(Collection<String> associatedPortalArns)
A list of web portal ARNs that this network settings is associated with.
associatedPortalArns
- A list of web portal ARNs that this network settings is associated with.public NetworkSettings withAssociatedPortalArns(String... associatedPortalArns)
A list of web portal ARNs that this network settings is associated with.
NOTE: This method appends the values to the existing list (if any). Use
setAssociatedPortalArns(java.util.Collection)
or withAssociatedPortalArns(java.util.Collection)
if you want to override the existing values.
associatedPortalArns
- A list of web portal ARNs that this network settings is associated with.public NetworkSettings withAssociatedPortalArns(Collection<String> associatedPortalArns)
A list of web portal ARNs that this network settings is associated with.
associatedPortalArns
- A list of web portal ARNs that this network settings is associated with.public void setNetworkSettingsArn(String networkSettingsArn)
The ARN of the network settings.
networkSettingsArn
- The ARN of the network settings.public String getNetworkSettingsArn()
The ARN of the network settings.
public NetworkSettings withNetworkSettingsArn(String networkSettingsArn)
The ARN of the network settings.
networkSettingsArn
- The ARN of the network settings.public List<String> getSecurityGroupIds()
One or more security groups used to control access from streaming instances to your VPC.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
One or more security groups used to control access from streaming instances to your VPC.
securityGroupIds
- One or more security groups used to control access from streaming instances to your VPC.public NetworkSettings withSecurityGroupIds(String... securityGroupIds)
One or more security groups used to control access from streaming instances to your 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
- One or more security groups used to control access from streaming instances to your VPC.public NetworkSettings withSecurityGroupIds(Collection<String> securityGroupIds)
One or more security groups used to control access from streaming instances to your VPC.
securityGroupIds
- One or more security groups used to control access from streaming instances to your VPC.public List<String> getSubnetIds()
The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.
public void setSubnetIds(Collection<String> subnetIds)
The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.
subnetIds
- The subnets in which network interfaces are created to connect streaming instances to your VPC. At least
two of these subnets must be in different availability zones.public NetworkSettings withSubnetIds(String... subnetIds)
The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- The subnets in which network interfaces are created to connect streaming instances to your VPC. At least
two of these subnets must be in different availability zones.public NetworkSettings withSubnetIds(Collection<String> subnetIds)
The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.
subnetIds
- The subnets in which network interfaces are created to connect streaming instances to your VPC. At least
two of these subnets must be in different availability zones.public void setVpcId(String vpcId)
The VPC that streaming instances will connect to.
vpcId
- The VPC that streaming instances will connect to.public String getVpcId()
The VPC that streaming instances will connect to.
public NetworkSettings withVpcId(String vpcId)
The VPC that streaming instances will connect to.
vpcId
- The VPC that streaming instances will connect to.public String toString()
toString
in class Object
Object.toString()
public NetworkSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.