@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayRegistrationStateReason extends Object implements Serializable, Cloneable, StructuredPojo
Describes the status of a transit gateway registration.
Constructor and Description |
---|
TransitGatewayRegistrationStateReason() |
Modifier and Type | Method and Description |
---|---|
TransitGatewayRegistrationStateReason |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The code for the state reason.
|
String |
getMessage()
The message for the state reason.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
The code for the state reason.
|
void |
setMessage(String message)
The message for the state reason.
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayRegistrationStateReason |
withCode(String code)
The code for the state reason.
|
TransitGatewayRegistrationStateReason |
withCode(TransitGatewayRegistrationState code)
The code for the state reason.
|
TransitGatewayRegistrationStateReason |
withMessage(String message)
The message for the state reason.
|
public TransitGatewayRegistrationStateReason()
public void setCode(String code)
The code for the state reason.
code
- The code for the state reason.TransitGatewayRegistrationState
public String getCode()
The code for the state reason.
TransitGatewayRegistrationState
public TransitGatewayRegistrationStateReason withCode(String code)
The code for the state reason.
code
- The code for the state reason.TransitGatewayRegistrationState
public TransitGatewayRegistrationStateReason withCode(TransitGatewayRegistrationState code)
The code for the state reason.
code
- The code for the state reason.TransitGatewayRegistrationState
public void setMessage(String message)
The message for the state reason.
message
- The message for the state reason.public String getMessage()
The message for the state reason.
public TransitGatewayRegistrationStateReason withMessage(String message)
The message for the state reason.
message
- The message for the state reason.public String toString()
toString
in class Object
Object.toString()
public TransitGatewayRegistrationStateReason clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.