@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcInterfaceRequest extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
VpcInterfaceRequest() |
Modifier and Type | Method and Description |
---|---|
VpcInterfaceRequest |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the VPC Interface.
|
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)
The name of the VPC Interface.
|
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.
|
VpcInterfaceRequest |
withName(String name)
The name of the VPC Interface.
|
VpcInterfaceRequest |
withNetworkInterfaceType(NetworkInterfaceType networkInterfaceType)
The type of network interface.
|
VpcInterfaceRequest |
withNetworkInterfaceType(String networkInterfaceType)
The type of network interface.
|
VpcInterfaceRequest |
withRoleArn(String roleArn)
Role Arn MediaConnect can assumes to create ENIs in customer's account
|
VpcInterfaceRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
Security Group IDs to be used on ENI.
|
VpcInterfaceRequest |
withSecurityGroupIds(String... securityGroupIds)
Security Group IDs to be used on ENI.
|
VpcInterfaceRequest |
withSubnetId(String subnetId)
Subnet must be in the AZ of the Flow
|
public void setName(String name)
name
- The name of the VPC Interface. This value must be unique within the current flow.public String getName()
public VpcInterfaceRequest withName(String name)
name
- The name of the VPC Interface. This value must be unique within the current flow.public void setNetworkInterfaceType(String networkInterfaceType)
networkInterfaceType
- The type of network interface. If this value is not included in the request, MediaConnect uses ENA as the
networkInterfaceType.NetworkInterfaceType
public String getNetworkInterfaceType()
NetworkInterfaceType
public VpcInterfaceRequest withNetworkInterfaceType(String networkInterfaceType)
networkInterfaceType
- The type of network interface. If this value is not included in the request, MediaConnect uses ENA as the
networkInterfaceType.NetworkInterfaceType
public VpcInterfaceRequest withNetworkInterfaceType(NetworkInterfaceType networkInterfaceType)
networkInterfaceType
- The type of network interface. If this value is not included in the request, MediaConnect uses ENA as the
networkInterfaceType.NetworkInterfaceType
public void setRoleArn(String roleArn)
roleArn
- Role Arn MediaConnect can assumes to create ENIs in customer's accountpublic String getRoleArn()
public VpcInterfaceRequest 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 VpcInterfaceRequest 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 VpcInterfaceRequest 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 VpcInterfaceRequest withSubnetId(String subnetId)
subnetId
- Subnet must be in the AZ of the Flowpublic String toString()
toString
in class Object
Object.toString()
public VpcInterfaceRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.