@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableSerialConsoleAccessResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
EnableSerialConsoleAccessResult() |
Modifier and Type | Method and Description |
---|---|
EnableSerialConsoleAccessResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getSerialConsoleAccessEnabled()
If
true , access to the EC2 serial console of all instances is enabled for your account. |
int |
hashCode() |
Boolean |
isSerialConsoleAccessEnabled()
If
true , access to the EC2 serial console of all instances is enabled for your account. |
void |
setSerialConsoleAccessEnabled(Boolean serialConsoleAccessEnabled)
If
true , access to the EC2 serial console of all instances is enabled for your account. |
String |
toString()
Returns a string representation of this object.
|
EnableSerialConsoleAccessResult |
withSerialConsoleAccessEnabled(Boolean serialConsoleAccessEnabled)
If
true , access to the EC2 serial console of all instances is enabled for your account. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSerialConsoleAccessEnabled(Boolean serialConsoleAccessEnabled)
If true
, access to the EC2 serial console of all instances is enabled for your account. If
false
, access to the EC2 serial console of all instances is disabled for your account.
serialConsoleAccessEnabled
- If true
, access to the EC2 serial console of all instances is enabled for your account. If
false
, access to the EC2 serial console of all instances is disabled for your account.public Boolean getSerialConsoleAccessEnabled()
If true
, access to the EC2 serial console of all instances is enabled for your account. If
false
, access to the EC2 serial console of all instances is disabled for your account.
true
, access to the EC2 serial console of all instances is enabled for your account. If
false
, access to the EC2 serial console of all instances is disabled for your account.public EnableSerialConsoleAccessResult withSerialConsoleAccessEnabled(Boolean serialConsoleAccessEnabled)
If true
, access to the EC2 serial console of all instances is enabled for your account. If
false
, access to the EC2 serial console of all instances is disabled for your account.
serialConsoleAccessEnabled
- If true
, access to the EC2 serial console of all instances is enabled for your account. If
false
, access to the EC2 serial console of all instances is disabled for your account.public Boolean isSerialConsoleAccessEnabled()
If true
, access to the EC2 serial console of all instances is enabled for your account. If
false
, access to the EC2 serial console of all instances is disabled for your account.
true
, access to the EC2 serial console of all instances is enabled for your account. If
false
, access to the EC2 serial console of all instances is disabled for your account.public String toString()
toString
in class Object
Object.toString()
public EnableSerialConsoleAccessResult clone()