@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AsnAuthorizationContext extends Object implements Serializable, Cloneable
Provides authorization for Amazon to bring an Autonomous System Number (ASN) to a specific Amazon Web Services account using bring your own ASN (BYOASN). For details on the format of the message and signature, see Tutorial: Bring your ASN to IPAM in the Amazon VPC IPAM guide.
Constructor and Description |
---|
AsnAuthorizationContext() |
Modifier and Type | Method and Description |
---|---|
AsnAuthorizationContext |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
The authorization context's message.
|
String |
getSignature()
The authorization context's signature.
|
int |
hashCode() |
void |
setMessage(String message)
The authorization context's message.
|
void |
setSignature(String signature)
The authorization context's signature.
|
String |
toString()
Returns a string representation of this object.
|
AsnAuthorizationContext |
withMessage(String message)
The authorization context's message.
|
AsnAuthorizationContext |
withSignature(String signature)
The authorization context's signature.
|
public void setMessage(String message)
The authorization context's message.
message
- The authorization context's message.public String getMessage()
The authorization context's message.
public AsnAuthorizationContext withMessage(String message)
The authorization context's message.
message
- The authorization context's message.public void setSignature(String signature)
The authorization context's signature.
signature
- The authorization context's signature.public String getSignature()
The authorization context's signature.
public AsnAuthorizationContext withSignature(String signature)
The authorization context's signature.
signature
- The authorization context's signature.public String toString()
toString
in class Object
Object.toString()
public AsnAuthorizationContext clone()