@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateIpamByoasnRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<AssociateIpamByoasnRequest>
NOOP
Constructor and Description |
---|
AssociateIpamByoasnRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateIpamByoasnRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAsn()
A public 2-byte or 4-byte ASN.
|
String |
getCidr()
The BYOIP CIDR you want to associate with an ASN.
|
Request<AssociateIpamByoasnRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
int |
hashCode() |
void |
setAsn(String asn)
A public 2-byte or 4-byte ASN.
|
void |
setCidr(String cidr)
The BYOIP CIDR you want to associate with an ASN.
|
String |
toString()
Returns a string representation of this object.
|
AssociateIpamByoasnRequest |
withAsn(String asn)
A public 2-byte or 4-byte ASN.
|
AssociateIpamByoasnRequest |
withCidr(String cidr)
The BYOIP CIDR you want to associate with an ASN.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAsn(String asn)
A public 2-byte or 4-byte ASN.
asn
- A public 2-byte or 4-byte ASN.public String getAsn()
A public 2-byte or 4-byte ASN.
public AssociateIpamByoasnRequest withAsn(String asn)
A public 2-byte or 4-byte ASN.
asn
- A public 2-byte or 4-byte ASN.public void setCidr(String cidr)
The BYOIP CIDR you want to associate with an ASN.
cidr
- The BYOIP CIDR you want to associate with an ASN.public String getCidr()
The BYOIP CIDR you want to associate with an ASN.
public AssociateIpamByoasnRequest withCidr(String cidr)
The BYOIP CIDR you want to associate with an ASN.
cidr
- The BYOIP CIDR you want to associate with an ASN.public Request<AssociateIpamByoasnRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<AssociateIpamByoasnRequest>
public String toString()
toString
in class Object
Object.toString()
public AssociateIpamByoasnRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()