@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkInterfacePermissionState extends Object implements Serializable, Cloneable
Describes the state of a network interface permission.
| Constructor and Description |
|---|
NetworkInterfacePermissionState() |
| Modifier and Type | Method and Description |
|---|---|
NetworkInterfacePermissionState |
clone() |
boolean |
equals(Object obj) |
String |
getState()
The state of the permission.
|
String |
getStatusMessage()
A status message, if applicable.
|
int |
hashCode() |
void |
setState(NetworkInterfacePermissionStateCode state)
The state of the permission.
|
void |
setState(String state)
The state of the permission.
|
void |
setStatusMessage(String statusMessage)
A status message, if applicable.
|
String |
toString()
Returns a string representation of this object.
|
NetworkInterfacePermissionState |
withState(NetworkInterfacePermissionStateCode state)
The state of the permission.
|
NetworkInterfacePermissionState |
withState(String state)
The state of the permission.
|
NetworkInterfacePermissionState |
withStatusMessage(String statusMessage)
A status message, if applicable.
|
public void setState(String state)
The state of the permission.
state - The state of the permission.NetworkInterfacePermissionStateCodepublic String getState()
The state of the permission.
NetworkInterfacePermissionStateCodepublic NetworkInterfacePermissionState withState(String state)
The state of the permission.
state - The state of the permission.NetworkInterfacePermissionStateCodepublic void setState(NetworkInterfacePermissionStateCode state)
The state of the permission.
state - The state of the permission.NetworkInterfacePermissionStateCodepublic NetworkInterfacePermissionState withState(NetworkInterfacePermissionStateCode state)
The state of the permission.
state - The state of the permission.NetworkInterfacePermissionStateCodepublic void setStatusMessage(String statusMessage)
A status message, if applicable.
statusMessage - A status message, if applicable.public String getStatusMessage()
A status message, if applicable.
public NetworkInterfacePermissionState withStatusMessage(String statusMessage)
A status message, if applicable.
statusMessage - A status message, if applicable.public String toString()
toString in class ObjectObject.toString()public NetworkInterfacePermissionState clone()