@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcInterface extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
VpcInterface() |
Modifier and Type | Method and Description |
---|---|
VpcInterface |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Immutable and has to be a unique against other VpcInterfaces in this Flow.
|
List<String> |
getNetworkInterfaceIds()
IDs of the network interfaces created in customer's account by MediaConnect.
|
String |
getNetworkInterfaceType()
The type of network interface.
|
String |
getRoleArn()
Role Arn MediaConnect can assumes to create ENIs in customer's account
|
List<String> |
getSecurityGroupIds()
Security Group IDs to be used on ENI.
|
String |
getSubnetId()
Subnet must be in the AZ of the Flow
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
Immutable and has to be a unique against other VpcInterfaces in this Flow.
|
void |
setNetworkInterfaceIds(Collection<String> networkInterfaceIds)
IDs of the network interfaces created in customer's account by MediaConnect.
|
void |
setNetworkInterfaceType(String networkInterfaceType)
The type of network interface.
|
void |
setRoleArn(String roleArn)
Role Arn MediaConnect can assumes to create ENIs in customer's account
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
Security Group IDs to be used on ENI.
|
void |
setSubnetId(String subnetId)
Subnet must be in the AZ of the Flow
|
String |
toString()
Returns a string representation of this object.
|
VpcInterface |
withName(String name)
Immutable and has to be a unique against other VpcInterfaces in this Flow.
|
VpcInterface |
withNetworkInterfaceIds(Collection<String> networkInterfaceIds)
IDs of the network interfaces created in customer's account by MediaConnect.
|
VpcInterface |
withNetworkInterfaceIds(String... networkInterfaceIds)
IDs of the network interfaces created in customer's account by MediaConnect.
|
VpcInterface |
withNetworkInterfaceType(NetworkInterfaceType networkInterfaceType)
The type of network interface.
|
VpcInterface |
withNetworkInterfaceType(String networkInterfaceType)
The type of network interface.
|
VpcInterface |
withRoleArn(String roleArn)
Role Arn MediaConnect can assumes to create ENIs in customer's account
|
VpcInterface |
withSecurityGroupIds(Collection<String> securityGroupIds)
Security Group IDs to be used on ENI.
|
VpcInterface |
withSecurityGroupIds(String... securityGroupIds)
Security Group IDs to be used on ENI.
|
VpcInterface |
withSubnetId(String subnetId)
Subnet must be in the AZ of the Flow
|
public void setName(String name)
name
- Immutable and has to be a unique against other VpcInterfaces in this Flow.public String getName()
public VpcInterface withName(String name)
name
- Immutable and has to be a unique against other VpcInterfaces in this Flow.public List<String> getNetworkInterfaceIds()
public void setNetworkInterfaceIds(Collection<String> networkInterfaceIds)
networkInterfaceIds
- IDs of the network interfaces created in customer's account by MediaConnect.public VpcInterface withNetworkInterfaceIds(String... networkInterfaceIds)
NOTE: This method appends the values to the existing list (if any). Use
setNetworkInterfaceIds(java.util.Collection)
or withNetworkInterfaceIds(java.util.Collection)
if you want to override the existing values.
networkInterfaceIds
- IDs of the network interfaces created in customer's account by MediaConnect.public VpcInterface withNetworkInterfaceIds(Collection<String> networkInterfaceIds)
networkInterfaceIds
- IDs of the network interfaces created in customer's account by MediaConnect.public void setNetworkInterfaceType(String networkInterfaceType)
networkInterfaceType
- The type of network interface.NetworkInterfaceType
public String getNetworkInterfaceType()
NetworkInterfaceType
public VpcInterface withNetworkInterfaceType(String networkInterfaceType)
networkInterfaceType
- The type of network interface.NetworkInterfaceType
public VpcInterface withNetworkInterfaceType(NetworkInterfaceType networkInterfaceType)
networkInterfaceType
- The type of network interface.NetworkInterfaceType
public void setRoleArn(String roleArn)
roleArn
- Role Arn MediaConnect can assumes to create ENIs in customer's accountpublic String getRoleArn()
public VpcInterface withRoleArn(String roleArn)
roleArn
- Role Arn MediaConnect can assumes to create ENIs in customer's accountpublic List<String> getSecurityGroupIds()
public void setSecurityGroupIds(Collection<String> securityGroupIds)
securityGroupIds
- Security Group IDs to be used on ENI.public VpcInterface withSecurityGroupIds(String... securityGroupIds)
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
- Security Group IDs to be used on ENI.public VpcInterface withSecurityGroupIds(Collection<String> securityGroupIds)
securityGroupIds
- Security Group IDs to be used on ENI.public void setSubnetId(String subnetId)
subnetId
- Subnet must be in the AZ of the Flowpublic String getSubnetId()
public VpcInterface withSubnetId(String subnetId)
subnetId
- Subnet must be in the AZ of the Flowpublic String toString()
toString
in class Object
Object.toString()
public VpcInterface clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.