@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkInterfacePermission extends Object implements Serializable, Cloneable
Describes a permission for a network interface.
Constructor and Description |
---|
NetworkInterfacePermission() |
Modifier and Type | Method and Description |
---|---|
NetworkInterfacePermission |
clone() |
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The Amazon Web Services account ID.
|
String |
getAwsService()
The Amazon Web Service.
|
String |
getNetworkInterfaceId()
The ID of the network interface.
|
String |
getNetworkInterfacePermissionId()
The ID of the network interface permission.
|
String |
getPermission()
The type of permission.
|
NetworkInterfacePermissionState |
getPermissionState()
Information about the state of the permission.
|
int |
hashCode() |
void |
setAwsAccountId(String awsAccountId)
The Amazon Web Services account ID.
|
void |
setAwsService(String awsService)
The Amazon Web Service.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
void |
setNetworkInterfacePermissionId(String networkInterfacePermissionId)
The ID of the network interface permission.
|
void |
setPermission(InterfacePermissionType permission)
The type of permission.
|
void |
setPermission(String permission)
The type of permission.
|
void |
setPermissionState(NetworkInterfacePermissionState permissionState)
Information about the state of the permission.
|
String |
toString()
Returns a string representation of this object.
|
NetworkInterfacePermission |
withAwsAccountId(String awsAccountId)
The Amazon Web Services account ID.
|
NetworkInterfacePermission |
withAwsService(String awsService)
The Amazon Web Service.
|
NetworkInterfacePermission |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
NetworkInterfacePermission |
withNetworkInterfacePermissionId(String networkInterfacePermissionId)
The ID of the network interface permission.
|
NetworkInterfacePermission |
withPermission(InterfacePermissionType permission)
The type of permission.
|
NetworkInterfacePermission |
withPermission(String permission)
The type of permission.
|
NetworkInterfacePermission |
withPermissionState(NetworkInterfacePermissionState permissionState)
Information about the state of the permission.
|
public void setNetworkInterfacePermissionId(String networkInterfacePermissionId)
The ID of the network interface permission.
networkInterfacePermissionId
- The ID of the network interface permission.public String getNetworkInterfacePermissionId()
The ID of the network interface permission.
public NetworkInterfacePermission withNetworkInterfacePermissionId(String networkInterfacePermissionId)
The ID of the network interface permission.
networkInterfacePermissionId
- The ID of the network interface permission.public void setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public String getNetworkInterfaceId()
The ID of the network interface.
public NetworkInterfacePermission withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public void setAwsAccountId(String awsAccountId)
The Amazon Web Services account ID.
awsAccountId
- The Amazon Web Services account ID.public String getAwsAccountId()
The Amazon Web Services account ID.
public NetworkInterfacePermission withAwsAccountId(String awsAccountId)
The Amazon Web Services account ID.
awsAccountId
- The Amazon Web Services account ID.public void setAwsService(String awsService)
The Amazon Web Service.
awsService
- The Amazon Web Service.public String getAwsService()
The Amazon Web Service.
public NetworkInterfacePermission withAwsService(String awsService)
The Amazon Web Service.
awsService
- The Amazon Web Service.public void setPermission(String permission)
The type of permission.
permission
- The type of permission.InterfacePermissionType
public String getPermission()
The type of permission.
InterfacePermissionType
public NetworkInterfacePermission withPermission(String permission)
The type of permission.
permission
- The type of permission.InterfacePermissionType
public void setPermission(InterfacePermissionType permission)
The type of permission.
permission
- The type of permission.InterfacePermissionType
public NetworkInterfacePermission withPermission(InterfacePermissionType permission)
The type of permission.
permission
- The type of permission.InterfacePermissionType
public void setPermissionState(NetworkInterfacePermissionState permissionState)
Information about the state of the permission.
permissionState
- Information about the state of the permission.public NetworkInterfacePermissionState getPermissionState()
Information about the state of the permission.
public NetworkInterfacePermission withPermissionState(NetworkInterfacePermissionState permissionState)
Information about the state of the permission.
permissionState
- Information about the state of the permission.public String toString()
toString
in class Object
Object.toString()
public NetworkInterfacePermission clone()