@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.NetworkInterfacePermissionStateCode
public String getState()
The state of the permission.
NetworkInterfacePermissionStateCode
public NetworkInterfacePermissionState withState(String state)
The state of the permission.
state
- The state of the permission.NetworkInterfacePermissionStateCode
public void setState(NetworkInterfacePermissionStateCode state)
The state of the permission.
state
- The state of the permission.NetworkInterfacePermissionStateCode
public NetworkInterfacePermissionState withState(NetworkInterfacePermissionStateCode state)
The state of the permission.
state
- The state of the permission.NetworkInterfacePermissionStateCode
public 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 Object
Object.toString()
public NetworkInterfacePermissionState clone()