@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDirectConnectGatewayAssociationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateDirectConnectGatewayAssociationRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDirectConnectGatewayAssociationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<RouteFilterPrefix> |
getAddAllowedPrefixesToDirectConnectGateway()
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
|
String |
getAssociationId()
The ID of the Direct Connect gateway association.
|
List<RouteFilterPrefix> |
getRemoveAllowedPrefixesToDirectConnectGateway()
The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
|
int |
hashCode() |
void |
setAddAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> addAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
|
void |
setAssociationId(String associationId)
The ID of the Direct Connect gateway association.
|
void |
setRemoveAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> removeAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDirectConnectGatewayAssociationRequest |
withAddAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> addAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
|
UpdateDirectConnectGatewayAssociationRequest |
withAddAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... addAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
|
UpdateDirectConnectGatewayAssociationRequest |
withAssociationId(String associationId)
The ID of the Direct Connect gateway association.
|
UpdateDirectConnectGatewayAssociationRequest |
withRemoveAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> removeAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
|
UpdateDirectConnectGatewayAssociationRequest |
withRemoveAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... removeAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
|
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 UpdateDirectConnectGatewayAssociationRequest()
public void setAssociationId(String associationId)
The ID of the Direct Connect gateway association.
associationId
- The ID of the Direct Connect gateway association.public String getAssociationId()
The ID of the Direct Connect gateway association.
public UpdateDirectConnectGatewayAssociationRequest withAssociationId(String associationId)
The ID of the Direct Connect gateway association.
associationId
- The ID of the Direct Connect gateway association.public List<RouteFilterPrefix> getAddAllowedPrefixesToDirectConnectGateway()
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
public void setAddAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> addAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
addAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to advertise to the Direct Connect gateway.public UpdateDirectConnectGatewayAssociationRequest withAddAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... addAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
NOTE: This method appends the values to the existing list (if any). Use
setAddAllowedPrefixesToDirectConnectGateway(java.util.Collection)
or
withAddAllowedPrefixesToDirectConnectGateway(java.util.Collection)
if you want to override the existing
values.
addAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to advertise to the Direct Connect gateway.public UpdateDirectConnectGatewayAssociationRequest withAddAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> addAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
addAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to advertise to the Direct Connect gateway.public List<RouteFilterPrefix> getRemoveAllowedPrefixesToDirectConnectGateway()
The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
public void setRemoveAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> removeAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
removeAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.public UpdateDirectConnectGatewayAssociationRequest withRemoveAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... removeAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
NOTE: This method appends the values to the existing list (if any). Use
setRemoveAllowedPrefixesToDirectConnectGateway(java.util.Collection)
or
withRemoveAllowedPrefixesToDirectConnectGateway(java.util.Collection)
if you want to override the
existing values.
removeAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.public UpdateDirectConnectGatewayAssociationRequest withRemoveAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> removeAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
removeAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.public String toString()
toString
in class Object
Object.toString()
public UpdateDirectConnectGatewayAssociationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()