@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTransitGatewayConnectPeerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateTransitGatewayConnectPeerRequest>
NOOP
Constructor and Description |
---|
CreateTransitGatewayConnectPeerRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTransitGatewayConnectPeerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
TransitGatewayConnectRequestBgpOptions |
getBgpOptions()
The BGP options for the Connect peer.
|
Request<CreateTransitGatewayConnectPeerRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getInsideCidrBlocks()
The range of inside IP addresses that are used for BGP peering.
|
String |
getPeerAddress()
The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
|
List<TagSpecification> |
getTagSpecifications()
The tags to apply to the Connect peer.
|
String |
getTransitGatewayAddress()
The peer IP address (GRE outer IP address) on the transit gateway side of the Connect peer, which must be
specified from a transit gateway CIDR block.
|
String |
getTransitGatewayAttachmentId()
The ID of the Connect attachment.
|
int |
hashCode() |
void |
setBgpOptions(TransitGatewayConnectRequestBgpOptions bgpOptions)
The BGP options for the Connect peer.
|
void |
setInsideCidrBlocks(Collection<String> insideCidrBlocks)
The range of inside IP addresses that are used for BGP peering.
|
void |
setPeerAddress(String peerAddress)
The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
|
void |
setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the Connect peer.
|
void |
setTransitGatewayAddress(String transitGatewayAddress)
The peer IP address (GRE outer IP address) on the transit gateway side of the Connect peer, which must be
specified from a transit gateway CIDR block.
|
void |
setTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the Connect attachment.
|
String |
toString()
Returns a string representation of this object.
|
CreateTransitGatewayConnectPeerRequest |
withBgpOptions(TransitGatewayConnectRequestBgpOptions bgpOptions)
The BGP options for the Connect peer.
|
CreateTransitGatewayConnectPeerRequest |
withInsideCidrBlocks(Collection<String> insideCidrBlocks)
The range of inside IP addresses that are used for BGP peering.
|
CreateTransitGatewayConnectPeerRequest |
withInsideCidrBlocks(String... insideCidrBlocks)
The range of inside IP addresses that are used for BGP peering.
|
CreateTransitGatewayConnectPeerRequest |
withPeerAddress(String peerAddress)
The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
|
CreateTransitGatewayConnectPeerRequest |
withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the Connect peer.
|
CreateTransitGatewayConnectPeerRequest |
withTagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the Connect peer.
|
CreateTransitGatewayConnectPeerRequest |
withTransitGatewayAddress(String transitGatewayAddress)
The peer IP address (GRE outer IP address) on the transit gateway side of the Connect peer, which must be
specified from a transit gateway CIDR block.
|
CreateTransitGatewayConnectPeerRequest |
withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the Connect attachment.
|
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 CreateTransitGatewayConnectPeerRequest()
public void setTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the Connect attachment.
transitGatewayAttachmentId
- The ID of the Connect attachment.public String getTransitGatewayAttachmentId()
The ID of the Connect attachment.
public CreateTransitGatewayConnectPeerRequest withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the Connect attachment.
transitGatewayAttachmentId
- The ID of the Connect attachment.public void setTransitGatewayAddress(String transitGatewayAddress)
The peer IP address (GRE outer IP address) on the transit gateway side of the Connect peer, which must be specified from a transit gateway CIDR block. If not specified, Amazon automatically assigns the first available IP address from the transit gateway CIDR block.
transitGatewayAddress
- The peer IP address (GRE outer IP address) on the transit gateway side of the Connect peer, which must be
specified from a transit gateway CIDR block. If not specified, Amazon automatically assigns the first
available IP address from the transit gateway CIDR block.public String getTransitGatewayAddress()
The peer IP address (GRE outer IP address) on the transit gateway side of the Connect peer, which must be specified from a transit gateway CIDR block. If not specified, Amazon automatically assigns the first available IP address from the transit gateway CIDR block.
public CreateTransitGatewayConnectPeerRequest withTransitGatewayAddress(String transitGatewayAddress)
The peer IP address (GRE outer IP address) on the transit gateway side of the Connect peer, which must be specified from a transit gateway CIDR block. If not specified, Amazon automatically assigns the first available IP address from the transit gateway CIDR block.
transitGatewayAddress
- The peer IP address (GRE outer IP address) on the transit gateway side of the Connect peer, which must be
specified from a transit gateway CIDR block. If not specified, Amazon automatically assigns the first
available IP address from the transit gateway CIDR block.public void setPeerAddress(String peerAddress)
The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
peerAddress
- The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.public String getPeerAddress()
The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
public CreateTransitGatewayConnectPeerRequest withPeerAddress(String peerAddress)
The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
peerAddress
- The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.public void setBgpOptions(TransitGatewayConnectRequestBgpOptions bgpOptions)
The BGP options for the Connect peer.
bgpOptions
- The BGP options for the Connect peer.public TransitGatewayConnectRequestBgpOptions getBgpOptions()
The BGP options for the Connect peer.
public CreateTransitGatewayConnectPeerRequest withBgpOptions(TransitGatewayConnectRequestBgpOptions bgpOptions)
The BGP options for the Connect peer.
bgpOptions
- The BGP options for the Connect peer.public List<String> getInsideCidrBlocks()
The range of inside IP addresses that are used for BGP peering. You must specify a size /29 IPv4 CIDR block from
the 169.254.0.0/16
range. The first address from the range must be configured on the appliance as
the BGP IP address. You can also optionally specify a size /125 IPv6 CIDR block from the fd00::/8
range.
169.254.0.0/16
range. The first address from the range must be configured on
the appliance as the BGP IP address. You can also optionally specify a size /125 IPv6 CIDR block from the
fd00::/8
range.public void setInsideCidrBlocks(Collection<String> insideCidrBlocks)
The range of inside IP addresses that are used for BGP peering. You must specify a size /29 IPv4 CIDR block from
the 169.254.0.0/16
range. The first address from the range must be configured on the appliance as
the BGP IP address. You can also optionally specify a size /125 IPv6 CIDR block from the fd00::/8
range.
insideCidrBlocks
- The range of inside IP addresses that are used for BGP peering. You must specify a size /29 IPv4 CIDR
block from the 169.254.0.0/16
range. The first address from the range must be configured on
the appliance as the BGP IP address. You can also optionally specify a size /125 IPv6 CIDR block from the
fd00::/8
range.public CreateTransitGatewayConnectPeerRequest withInsideCidrBlocks(String... insideCidrBlocks)
The range of inside IP addresses that are used for BGP peering. You must specify a size /29 IPv4 CIDR block from
the 169.254.0.0/16
range. The first address from the range must be configured on the appliance as
the BGP IP address. You can also optionally specify a size /125 IPv6 CIDR block from the fd00::/8
range.
NOTE: This method appends the values to the existing list (if any). Use
setInsideCidrBlocks(java.util.Collection)
or withInsideCidrBlocks(java.util.Collection)
if you
want to override the existing values.
insideCidrBlocks
- The range of inside IP addresses that are used for BGP peering. You must specify a size /29 IPv4 CIDR
block from the 169.254.0.0/16
range. The first address from the range must be configured on
the appliance as the BGP IP address. You can also optionally specify a size /125 IPv6 CIDR block from the
fd00::/8
range.public CreateTransitGatewayConnectPeerRequest withInsideCidrBlocks(Collection<String> insideCidrBlocks)
The range of inside IP addresses that are used for BGP peering. You must specify a size /29 IPv4 CIDR block from
the 169.254.0.0/16
range. The first address from the range must be configured on the appliance as
the BGP IP address. You can also optionally specify a size /125 IPv6 CIDR block from the fd00::/8
range.
insideCidrBlocks
- The range of inside IP addresses that are used for BGP peering. You must specify a size /29 IPv4 CIDR
block from the 169.254.0.0/16
range. The first address from the range must be configured on
the appliance as the BGP IP address. You can also optionally specify a size /125 IPv6 CIDR block from the
fd00::/8
range.public List<TagSpecification> getTagSpecifications()
The tags to apply to the Connect peer.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the Connect peer.
tagSpecifications
- The tags to apply to the Connect peer.public CreateTransitGatewayConnectPeerRequest withTagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the Connect peer.
NOTE: This method appends the values to the existing list (if any). Use
setTagSpecifications(java.util.Collection)
or withTagSpecifications(java.util.Collection)
if
you want to override the existing values.
tagSpecifications
- The tags to apply to the Connect peer.public CreateTransitGatewayConnectPeerRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the Connect peer.
tagSpecifications
- The tags to apply to the Connect peer.public Request<CreateTransitGatewayConnectPeerRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateTransitGatewayConnectPeerRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateTransitGatewayConnectPeerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()