@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 AWS account ID.
|
String |
getAwsService()
The AWS 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 AWS account ID.
|
void |
setAwsService(String awsService)
The AWS 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; useful for testing and debugging.
|
NetworkInterfacePermission |
withAwsAccountId(String awsAccountId)
The AWS account ID.
|
NetworkInterfacePermission |
withAwsService(String awsService)
The AWS 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 AWS account ID.
awsAccountId
- The AWS account ID.public String getAwsAccountId()
The AWS account ID.
public NetworkInterfacePermission withAwsAccountId(String awsAccountId)
The AWS account ID.
awsAccountId
- The AWS account ID.public void setAwsService(String awsService)
The AWS service.
awsService
- The AWS service.public String getAwsService()
The AWS service.
public NetworkInterfacePermission withAwsService(String awsService)
The AWS service.
awsService
- The AWS 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.