@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface NetworkManagerAsyncClient extends SdkClient
builder()
method.
Transit Gateway Network Manager (Network Manager) enables you to create a global network, in which you can monitor your AWS and on-premises networks that are built around transit gateways.
The Network Manager APIs are supported in the US West (Oregon) Region only. You must specify the
us-west-2 Region in all requests made to Network Manager.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<AssociateCustomerGatewayResponse> |
associateCustomerGateway(AssociateCustomerGatewayRequest associateCustomerGatewayRequest)
Associates a customer gateway with a device and optionally, with a link.
|
default CompletableFuture<AssociateCustomerGatewayResponse> |
associateCustomerGateway(Consumer<AssociateCustomerGatewayRequest.Builder> associateCustomerGatewayRequest)
Associates a customer gateway with a device and optionally, with a link.
|
default CompletableFuture<AssociateLinkResponse> |
associateLink(AssociateLinkRequest associateLinkRequest)
Associates a link to a device.
|
default CompletableFuture<AssociateLinkResponse> |
associateLink(Consumer<AssociateLinkRequest.Builder> associateLinkRequest)
Associates a link to a device.
|
default CompletableFuture<AssociateTransitGatewayConnectPeerResponse> |
associateTransitGatewayConnectPeer(AssociateTransitGatewayConnectPeerRequest associateTransitGatewayConnectPeerRequest)
Associates a transit gateway Connect peer with a device, and optionally, with a link.
|
default CompletableFuture<AssociateTransitGatewayConnectPeerResponse> |
associateTransitGatewayConnectPeer(Consumer<AssociateTransitGatewayConnectPeerRequest.Builder> associateTransitGatewayConnectPeerRequest)
Associates a transit gateway Connect peer with a device, and optionally, with a link.
|
static NetworkManagerAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
NetworkManagerAsyncClient. |
static NetworkManagerAsyncClient |
create()
Create a
NetworkManagerAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<CreateConnectionResponse> |
createConnection(Consumer<CreateConnectionRequest.Builder> createConnectionRequest)
Creates a connection between two devices.
|
default CompletableFuture<CreateConnectionResponse> |
createConnection(CreateConnectionRequest createConnectionRequest)
Creates a connection between two devices.
|
default CompletableFuture<CreateDeviceResponse> |
createDevice(Consumer<CreateDeviceRequest.Builder> createDeviceRequest)
Creates a new device in a global network.
|
default CompletableFuture<CreateDeviceResponse> |
createDevice(CreateDeviceRequest createDeviceRequest)
Creates a new device in a global network.
|
default CompletableFuture<CreateGlobalNetworkResponse> |
createGlobalNetwork(Consumer<CreateGlobalNetworkRequest.Builder> createGlobalNetworkRequest)
Creates a new, empty global network.
|
default CompletableFuture<CreateGlobalNetworkResponse> |
createGlobalNetwork(CreateGlobalNetworkRequest createGlobalNetworkRequest)
Creates a new, empty global network.
|
default CompletableFuture<CreateLinkResponse> |
createLink(Consumer<CreateLinkRequest.Builder> createLinkRequest)
Creates a new link for a specified site.
|
default CompletableFuture<CreateLinkResponse> |
createLink(CreateLinkRequest createLinkRequest)
Creates a new link for a specified site.
|
default CompletableFuture<CreateSiteResponse> |
createSite(Consumer<CreateSiteRequest.Builder> createSiteRequest)
Creates a new site in a global network.
|
default CompletableFuture<CreateSiteResponse> |
createSite(CreateSiteRequest createSiteRequest)
Creates a new site in a global network.
|
default CompletableFuture<DeleteConnectionResponse> |
deleteConnection(Consumer<DeleteConnectionRequest.Builder> deleteConnectionRequest)
Deletes the specified connection in your global network.
|
default CompletableFuture<DeleteConnectionResponse> |
deleteConnection(DeleteConnectionRequest deleteConnectionRequest)
Deletes the specified connection in your global network.
|
default CompletableFuture<DeleteDeviceResponse> |
deleteDevice(Consumer<DeleteDeviceRequest.Builder> deleteDeviceRequest)
Deletes an existing device.
|
default CompletableFuture<DeleteDeviceResponse> |
deleteDevice(DeleteDeviceRequest deleteDeviceRequest)
Deletes an existing device.
|
default CompletableFuture<DeleteGlobalNetworkResponse> |
deleteGlobalNetwork(Consumer<DeleteGlobalNetworkRequest.Builder> deleteGlobalNetworkRequest)
Deletes an existing global network.
|
default CompletableFuture<DeleteGlobalNetworkResponse> |
deleteGlobalNetwork(DeleteGlobalNetworkRequest deleteGlobalNetworkRequest)
Deletes an existing global network.
|
default CompletableFuture<DeleteLinkResponse> |
deleteLink(Consumer<DeleteLinkRequest.Builder> deleteLinkRequest)
Deletes an existing link.
|
default CompletableFuture<DeleteLinkResponse> |
deleteLink(DeleteLinkRequest deleteLinkRequest)
Deletes an existing link.
|
default CompletableFuture<DeleteSiteResponse> |
deleteSite(Consumer<DeleteSiteRequest.Builder> deleteSiteRequest)
Deletes an existing site.
|
default CompletableFuture<DeleteSiteResponse> |
deleteSite(DeleteSiteRequest deleteSiteRequest)
Deletes an existing site.
|
default CompletableFuture<DeregisterTransitGatewayResponse> |
deregisterTransitGateway(Consumer<DeregisterTransitGatewayRequest.Builder> deregisterTransitGatewayRequest)
Deregisters a transit gateway from your global network.
|
default CompletableFuture<DeregisterTransitGatewayResponse> |
deregisterTransitGateway(DeregisterTransitGatewayRequest deregisterTransitGatewayRequest)
Deregisters a transit gateway from your global network.
|
default CompletableFuture<DescribeGlobalNetworksResponse> |
describeGlobalNetworks(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest)
Describes one or more global networks.
|
default CompletableFuture<DescribeGlobalNetworksResponse> |
describeGlobalNetworks(DescribeGlobalNetworksRequest describeGlobalNetworksRequest)
Describes one or more global networks.
|
default DescribeGlobalNetworksPublisher |
describeGlobalNetworksPaginator(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest)
Describes one or more global networks.
|
default DescribeGlobalNetworksPublisher |
describeGlobalNetworksPaginator(DescribeGlobalNetworksRequest describeGlobalNetworksRequest)
Describes one or more global networks.
|
default CompletableFuture<DisassociateCustomerGatewayResponse> |
disassociateCustomerGateway(Consumer<DisassociateCustomerGatewayRequest.Builder> disassociateCustomerGatewayRequest)
Disassociates a customer gateway from a device and a link.
|
default CompletableFuture<DisassociateCustomerGatewayResponse> |
disassociateCustomerGateway(DisassociateCustomerGatewayRequest disassociateCustomerGatewayRequest)
Disassociates a customer gateway from a device and a link.
|
default CompletableFuture<DisassociateLinkResponse> |
disassociateLink(Consumer<DisassociateLinkRequest.Builder> disassociateLinkRequest)
Disassociates an existing device from a link.
|
default CompletableFuture<DisassociateLinkResponse> |
disassociateLink(DisassociateLinkRequest disassociateLinkRequest)
Disassociates an existing device from a link.
|
default CompletableFuture<DisassociateTransitGatewayConnectPeerResponse> |
disassociateTransitGatewayConnectPeer(Consumer<DisassociateTransitGatewayConnectPeerRequest.Builder> disassociateTransitGatewayConnectPeerRequest)
Disassociates a transit gateway Connect peer from a device and link.
|
default CompletableFuture<DisassociateTransitGatewayConnectPeerResponse> |
disassociateTransitGatewayConnectPeer(DisassociateTransitGatewayConnectPeerRequest disassociateTransitGatewayConnectPeerRequest)
Disassociates a transit gateway Connect peer from a device and link.
|
default CompletableFuture<GetConnectionsResponse> |
getConnections(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest)
Gets information about one or more of your connections in a global network.
|
default CompletableFuture<GetConnectionsResponse> |
getConnections(GetConnectionsRequest getConnectionsRequest)
Gets information about one or more of your connections in a global network.
|
default GetConnectionsPublisher |
getConnectionsPaginator(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest)
Gets information about one or more of your connections in a global network.
|
default GetConnectionsPublisher |
getConnectionsPaginator(GetConnectionsRequest getConnectionsRequest)
Gets information about one or more of your connections in a global network.
|
default CompletableFuture<GetCustomerGatewayAssociationsResponse> |
getCustomerGatewayAssociations(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest)
Gets the association information for customer gateways that are associated with devices and links in your global
network.
|
default CompletableFuture<GetCustomerGatewayAssociationsResponse> |
getCustomerGatewayAssociations(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest)
Gets the association information for customer gateways that are associated with devices and links in your global
network.
|
default GetCustomerGatewayAssociationsPublisher |
getCustomerGatewayAssociationsPaginator(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest)
Gets the association information for customer gateways that are associated with devices and links in your global
network.
|
default GetCustomerGatewayAssociationsPublisher |
getCustomerGatewayAssociationsPaginator(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest)
Gets the association information for customer gateways that are associated with devices and links in your global
network.
|
default CompletableFuture<GetDevicesResponse> |
getDevices(Consumer<GetDevicesRequest.Builder> getDevicesRequest)
Gets information about one or more of your devices in a global network.
|
default CompletableFuture<GetDevicesResponse> |
getDevices(GetDevicesRequest getDevicesRequest)
Gets information about one or more of your devices in a global network.
|
default GetDevicesPublisher |
getDevicesPaginator(Consumer<GetDevicesRequest.Builder> getDevicesRequest)
Gets information about one or more of your devices in a global network.
|
default GetDevicesPublisher |
getDevicesPaginator(GetDevicesRequest getDevicesRequest)
Gets information about one or more of your devices in a global network.
|
default CompletableFuture<GetLinkAssociationsResponse> |
getLinkAssociations(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest)
Gets the link associations for a device or a link.
|
default CompletableFuture<GetLinkAssociationsResponse> |
getLinkAssociations(GetLinkAssociationsRequest getLinkAssociationsRequest)
Gets the link associations for a device or a link.
|
default GetLinkAssociationsPublisher |
getLinkAssociationsPaginator(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest)
Gets the link associations for a device or a link.
|
default GetLinkAssociationsPublisher |
getLinkAssociationsPaginator(GetLinkAssociationsRequest getLinkAssociationsRequest)
Gets the link associations for a device or a link.
|
default CompletableFuture<GetLinksResponse> |
getLinks(Consumer<GetLinksRequest.Builder> getLinksRequest)
Gets information about one or more links in a specified global network.
|
default CompletableFuture<GetLinksResponse> |
getLinks(GetLinksRequest getLinksRequest)
Gets information about one or more links in a specified global network.
|
default GetLinksPublisher |
getLinksPaginator(Consumer<GetLinksRequest.Builder> getLinksRequest)
Gets information about one or more links in a specified global network.
|
default GetLinksPublisher |
getLinksPaginator(GetLinksRequest getLinksRequest)
Gets information about one or more links in a specified global network.
|
default CompletableFuture<GetSitesResponse> |
getSites(Consumer<GetSitesRequest.Builder> getSitesRequest)
Gets information about one or more of your sites in a global network.
|
default CompletableFuture<GetSitesResponse> |
getSites(GetSitesRequest getSitesRequest)
Gets information about one or more of your sites in a global network.
|
default GetSitesPublisher |
getSitesPaginator(Consumer<GetSitesRequest.Builder> getSitesRequest)
Gets information about one or more of your sites in a global network.
|
default GetSitesPublisher |
getSitesPaginator(GetSitesRequest getSitesRequest)
Gets information about one or more of your sites in a global network.
|
default CompletableFuture<GetTransitGatewayConnectPeerAssociationsResponse> |
getTransitGatewayConnectPeerAssociations(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest)
Gets information about one or more of your transit gateway Connect peer associations in a global network.
|
default CompletableFuture<GetTransitGatewayConnectPeerAssociationsResponse> |
getTransitGatewayConnectPeerAssociations(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest)
Gets information about one or more of your transit gateway Connect peer associations in a global network.
|
default GetTransitGatewayConnectPeerAssociationsPublisher |
getTransitGatewayConnectPeerAssociationsPaginator(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest)
Gets information about one or more of your transit gateway Connect peer associations in a global network.
|
default GetTransitGatewayConnectPeerAssociationsPublisher |
getTransitGatewayConnectPeerAssociationsPaginator(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest)
Gets information about one or more of your transit gateway Connect peer associations in a global network.
|
default CompletableFuture<GetTransitGatewayRegistrationsResponse> |
getTransitGatewayRegistrations(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest)
Gets information about the transit gateway registrations in a specified global network.
|
default CompletableFuture<GetTransitGatewayRegistrationsResponse> |
getTransitGatewayRegistrations(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest)
Gets information about the transit gateway registrations in a specified global network.
|
default GetTransitGatewayRegistrationsPublisher |
getTransitGatewayRegistrationsPaginator(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest)
Gets information about the transit gateway registrations in a specified global network.
|
default GetTransitGatewayRegistrationsPublisher |
getTransitGatewayRegistrationsPaginator(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest)
Gets information about the transit gateway registrations in a specified global network.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags for a specified resource.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for a specified resource.
|
default CompletableFuture<RegisterTransitGatewayResponse> |
registerTransitGateway(Consumer<RegisterTransitGatewayRequest.Builder> registerTransitGatewayRequest)
Registers a transit gateway in your global network.
|
default CompletableFuture<RegisterTransitGatewayResponse> |
registerTransitGateway(RegisterTransitGatewayRequest registerTransitGatewayRequest)
Registers a transit gateway in your global network.
|
default CompletableFuture<TagResourceResponse> |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Tags a specified resource.
|
default CompletableFuture<TagResourceResponse> |
tagResource(TagResourceRequest tagResourceRequest)
Tags a specified resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from a specified resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from a specified resource.
|
default CompletableFuture<UpdateConnectionResponse> |
updateConnection(Consumer<UpdateConnectionRequest.Builder> updateConnectionRequest)
Updates the information for an existing connection.
|
default CompletableFuture<UpdateConnectionResponse> |
updateConnection(UpdateConnectionRequest updateConnectionRequest)
Updates the information for an existing connection.
|
default CompletableFuture<UpdateDeviceResponse> |
updateDevice(Consumer<UpdateDeviceRequest.Builder> updateDeviceRequest)
Updates the details for an existing device.
|
default CompletableFuture<UpdateDeviceResponse> |
updateDevice(UpdateDeviceRequest updateDeviceRequest)
Updates the details for an existing device.
|
default CompletableFuture<UpdateGlobalNetworkResponse> |
updateGlobalNetwork(Consumer<UpdateGlobalNetworkRequest.Builder> updateGlobalNetworkRequest)
Updates an existing global network.
|
default CompletableFuture<UpdateGlobalNetworkResponse> |
updateGlobalNetwork(UpdateGlobalNetworkRequest updateGlobalNetworkRequest)
Updates an existing global network.
|
default CompletableFuture<UpdateLinkResponse> |
updateLink(Consumer<UpdateLinkRequest.Builder> updateLinkRequest)
Updates the details for an existing link.
|
default CompletableFuture<UpdateLinkResponse> |
updateLink(UpdateLinkRequest updateLinkRequest)
Updates the details for an existing link.
|
default CompletableFuture<UpdateSiteResponse> |
updateSite(Consumer<UpdateSiteRequest.Builder> updateSiteRequest)
Updates the information for an existing site.
|
default CompletableFuture<UpdateSiteResponse> |
updateSite(UpdateSiteRequest updateSiteRequest)
Updates the information for an existing site.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static NetworkManagerAsyncClient create()
NetworkManagerAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static NetworkManagerAsyncClientBuilder builder()
NetworkManagerAsyncClient.default CompletableFuture<AssociateCustomerGatewayResponse> associateCustomerGateway(AssociateCustomerGatewayRequest associateCustomerGatewayRequest)
Associates a customer gateway with a device and optionally, with a link. If you specify a link, it must be associated with the specified device.
You can only associate customer gateways that are connected to a VPN attachment on a transit gateway. The transit
gateway must be registered in your global network. When you register a transit gateway, customer gateways that
are connected to the transit gateway are automatically included in the global network. To list customer gateways
that are connected to a transit gateway, use the DescribeVpnConnections EC2 API and filter by transit-gateway-id.
You cannot associate a customer gateway with more than one device and link.
associateCustomerGatewayRequest - default CompletableFuture<AssociateCustomerGatewayResponse> associateCustomerGateway(Consumer<AssociateCustomerGatewayRequest.Builder> associateCustomerGatewayRequest)
Associates a customer gateway with a device and optionally, with a link. If you specify a link, it must be associated with the specified device.
You can only associate customer gateways that are connected to a VPN attachment on a transit gateway. The transit
gateway must be registered in your global network. When you register a transit gateway, customer gateways that
are connected to the transit gateway are automatically included in the global network. To list customer gateways
that are connected to a transit gateway, use the DescribeVpnConnections EC2 API and filter by transit-gateway-id.
You cannot associate a customer gateway with more than one device and link.
This is a convenience which creates an instance of the AssociateCustomerGatewayRequest.Builder avoiding
the need to create one manually via AssociateCustomerGatewayRequest.builder()
associateCustomerGatewayRequest - A Consumer that will call methods on AssociateCustomerGatewayRequest.Builder to create a
request.default CompletableFuture<AssociateLinkResponse> associateLink(AssociateLinkRequest associateLinkRequest)
Associates a link to a device. A device can be associated to multiple links and a link can be associated to multiple devices. The device and link must be in the same global network and the same site.
associateLinkRequest - default CompletableFuture<AssociateLinkResponse> associateLink(Consumer<AssociateLinkRequest.Builder> associateLinkRequest)
Associates a link to a device. A device can be associated to multiple links and a link can be associated to multiple devices. The device and link must be in the same global network and the same site.
This is a convenience which creates an instance of the AssociateLinkRequest.Builder avoiding the need to
create one manually via AssociateLinkRequest.builder()
associateLinkRequest - A Consumer that will call methods on AssociateLinkRequest.Builder to create a request.default CompletableFuture<AssociateTransitGatewayConnectPeerResponse> associateTransitGatewayConnectPeer(AssociateTransitGatewayConnectPeerRequest associateTransitGatewayConnectPeerRequest)
Associates a transit gateway Connect peer with a device, and optionally, with a link. If you specify a link, it must be associated with the specified device.
You can only associate transit gateway Connect peers that have been created on a transit gateway that's registered in your global network.
You cannot associate a transit gateway Connect peer with more than one device and link.
associateTransitGatewayConnectPeerRequest - default CompletableFuture<AssociateTransitGatewayConnectPeerResponse> associateTransitGatewayConnectPeer(Consumer<AssociateTransitGatewayConnectPeerRequest.Builder> associateTransitGatewayConnectPeerRequest)
Associates a transit gateway Connect peer with a device, and optionally, with a link. If you specify a link, it must be associated with the specified device.
You can only associate transit gateway Connect peers that have been created on a transit gateway that's registered in your global network.
You cannot associate a transit gateway Connect peer with more than one device and link.
This is a convenience which creates an instance of the AssociateTransitGatewayConnectPeerRequest.Builder
avoiding the need to create one manually via AssociateTransitGatewayConnectPeerRequest.builder()
associateTransitGatewayConnectPeerRequest - A Consumer that will call methods on AssociateTransitGatewayConnectPeerRequest.Builder to
create a request.default CompletableFuture<CreateConnectionResponse> createConnection(CreateConnectionRequest createConnectionRequest)
Creates a connection between two devices. The devices can be a physical or virtual appliance that connects to a third-party appliance in a VPC, or a physical appliance that connects to another physical appliance in an on-premises network.
createConnectionRequest - default CompletableFuture<CreateConnectionResponse> createConnection(Consumer<CreateConnectionRequest.Builder> createConnectionRequest)
Creates a connection between two devices. The devices can be a physical or virtual appliance that connects to a third-party appliance in a VPC, or a physical appliance that connects to another physical appliance in an on-premises network.
This is a convenience which creates an instance of the CreateConnectionRequest.Builder avoiding the need
to create one manually via CreateConnectionRequest.builder()
createConnectionRequest - A Consumer that will call methods on CreateConnectionRequest.Builder to create a request.default CompletableFuture<CreateDeviceResponse> createDevice(CreateDeviceRequest createDeviceRequest)
Creates a new device in a global network. If you specify both a site ID and a location, the location of the site is used for visualization in the Network Manager console.
createDeviceRequest - default CompletableFuture<CreateDeviceResponse> createDevice(Consumer<CreateDeviceRequest.Builder> createDeviceRequest)
Creates a new device in a global network. If you specify both a site ID and a location, the location of the site is used for visualization in the Network Manager console.
This is a convenience which creates an instance of the CreateDeviceRequest.Builder avoiding the need to
create one manually via CreateDeviceRequest.builder()
createDeviceRequest - A Consumer that will call methods on CreateDeviceRequest.Builder to create a request.default CompletableFuture<CreateGlobalNetworkResponse> createGlobalNetwork(CreateGlobalNetworkRequest createGlobalNetworkRequest)
Creates a new, empty global network.
createGlobalNetworkRequest - default CompletableFuture<CreateGlobalNetworkResponse> createGlobalNetwork(Consumer<CreateGlobalNetworkRequest.Builder> createGlobalNetworkRequest)
Creates a new, empty global network.
This is a convenience which creates an instance of the CreateGlobalNetworkRequest.Builder avoiding the
need to create one manually via CreateGlobalNetworkRequest.builder()
createGlobalNetworkRequest - A Consumer that will call methods on CreateGlobalNetworkRequest.Builder to create a
request.default CompletableFuture<CreateLinkResponse> createLink(CreateLinkRequest createLinkRequest)
Creates a new link for a specified site.
createLinkRequest - default CompletableFuture<CreateLinkResponse> createLink(Consumer<CreateLinkRequest.Builder> createLinkRequest)
Creates a new link for a specified site.
This is a convenience which creates an instance of the CreateLinkRequest.Builder avoiding the need to
create one manually via CreateLinkRequest.builder()
createLinkRequest - A Consumer that will call methods on CreateLinkRequest.Builder to create a request.default CompletableFuture<CreateSiteResponse> createSite(CreateSiteRequest createSiteRequest)
Creates a new site in a global network.
createSiteRequest - default CompletableFuture<CreateSiteResponse> createSite(Consumer<CreateSiteRequest.Builder> createSiteRequest)
Creates a new site in a global network.
This is a convenience which creates an instance of the CreateSiteRequest.Builder avoiding the need to
create one manually via CreateSiteRequest.builder()
createSiteRequest - A Consumer that will call methods on CreateSiteRequest.Builder to create a request.default CompletableFuture<DeleteConnectionResponse> deleteConnection(DeleteConnectionRequest deleteConnectionRequest)
Deletes the specified connection in your global network.
deleteConnectionRequest - default CompletableFuture<DeleteConnectionResponse> deleteConnection(Consumer<DeleteConnectionRequest.Builder> deleteConnectionRequest)
Deletes the specified connection in your global network.
This is a convenience which creates an instance of the DeleteConnectionRequest.Builder avoiding the need
to create one manually via DeleteConnectionRequest.builder()
deleteConnectionRequest - A Consumer that will call methods on DeleteConnectionRequest.Builder to create a request.default CompletableFuture<DeleteDeviceResponse> deleteDevice(DeleteDeviceRequest deleteDeviceRequest)
Deletes an existing device. You must first disassociate the device from any links and customer gateways.
deleteDeviceRequest - default CompletableFuture<DeleteDeviceResponse> deleteDevice(Consumer<DeleteDeviceRequest.Builder> deleteDeviceRequest)
Deletes an existing device. You must first disassociate the device from any links and customer gateways.
This is a convenience which creates an instance of the DeleteDeviceRequest.Builder avoiding the need to
create one manually via DeleteDeviceRequest.builder()
deleteDeviceRequest - A Consumer that will call methods on DeleteDeviceRequest.Builder to create a request.default CompletableFuture<DeleteGlobalNetworkResponse> deleteGlobalNetwork(DeleteGlobalNetworkRequest deleteGlobalNetworkRequest)
Deletes an existing global network. You must first delete all global network objects (devices, links, and sites) and deregister all transit gateways.
deleteGlobalNetworkRequest - default CompletableFuture<DeleteGlobalNetworkResponse> deleteGlobalNetwork(Consumer<DeleteGlobalNetworkRequest.Builder> deleteGlobalNetworkRequest)
Deletes an existing global network. You must first delete all global network objects (devices, links, and sites) and deregister all transit gateways.
This is a convenience which creates an instance of the DeleteGlobalNetworkRequest.Builder avoiding the
need to create one manually via DeleteGlobalNetworkRequest.builder()
deleteGlobalNetworkRequest - A Consumer that will call methods on DeleteGlobalNetworkRequest.Builder to create a
request.default CompletableFuture<DeleteLinkResponse> deleteLink(DeleteLinkRequest deleteLinkRequest)
Deletes an existing link. You must first disassociate the link from any devices and customer gateways.
deleteLinkRequest - default CompletableFuture<DeleteLinkResponse> deleteLink(Consumer<DeleteLinkRequest.Builder> deleteLinkRequest)
Deletes an existing link. You must first disassociate the link from any devices and customer gateways.
This is a convenience which creates an instance of the DeleteLinkRequest.Builder avoiding the need to
create one manually via DeleteLinkRequest.builder()
deleteLinkRequest - A Consumer that will call methods on DeleteLinkRequest.Builder to create a request.default CompletableFuture<DeleteSiteResponse> deleteSite(DeleteSiteRequest deleteSiteRequest)
Deletes an existing site. The site cannot be associated with any device or link.
deleteSiteRequest - default CompletableFuture<DeleteSiteResponse> deleteSite(Consumer<DeleteSiteRequest.Builder> deleteSiteRequest)
Deletes an existing site. The site cannot be associated with any device or link.
This is a convenience which creates an instance of the DeleteSiteRequest.Builder avoiding the need to
create one manually via DeleteSiteRequest.builder()
deleteSiteRequest - A Consumer that will call methods on DeleteSiteRequest.Builder to create a request.default CompletableFuture<DeregisterTransitGatewayResponse> deregisterTransitGateway(DeregisterTransitGatewayRequest deregisterTransitGatewayRequest)
Deregisters a transit gateway from your global network. This action does not delete your transit gateway, or modify any of its attachments. This action removes any customer gateway associations.
deregisterTransitGatewayRequest - default CompletableFuture<DeregisterTransitGatewayResponse> deregisterTransitGateway(Consumer<DeregisterTransitGatewayRequest.Builder> deregisterTransitGatewayRequest)
Deregisters a transit gateway from your global network. This action does not delete your transit gateway, or modify any of its attachments. This action removes any customer gateway associations.
This is a convenience which creates an instance of the DeregisterTransitGatewayRequest.Builder avoiding
the need to create one manually via DeregisterTransitGatewayRequest.builder()
deregisterTransitGatewayRequest - A Consumer that will call methods on DeregisterTransitGatewayRequest.Builder to create a
request.default CompletableFuture<DescribeGlobalNetworksResponse> describeGlobalNetworks(DescribeGlobalNetworksRequest describeGlobalNetworksRequest)
Describes one or more global networks. By default, all global networks are described. To describe the objects in
your global network, you must use the appropriate Get* action. For example, to list the transit
gateways in your global network, use GetTransitGatewayRegistrations.
describeGlobalNetworksRequest - default CompletableFuture<DescribeGlobalNetworksResponse> describeGlobalNetworks(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest)
Describes one or more global networks. By default, all global networks are described. To describe the objects in
your global network, you must use the appropriate Get* action. For example, to list the transit
gateways in your global network, use GetTransitGatewayRegistrations.
This is a convenience which creates an instance of the DescribeGlobalNetworksRequest.Builder avoiding the
need to create one manually via DescribeGlobalNetworksRequest.builder()
describeGlobalNetworksRequest - A Consumer that will call methods on DescribeGlobalNetworksRequest.Builder to create a
request.default DescribeGlobalNetworksPublisher describeGlobalNetworksPaginator(DescribeGlobalNetworksRequest describeGlobalNetworksRequest)
Describes one or more global networks. By default, all global networks are described. To describe the objects in
your global network, you must use the appropriate Get* action. For example, to list the transit
gateways in your global network, use GetTransitGatewayRegistrations.
This is a variant of
describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksPublisher publisher = client.describeGlobalNetworksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksPublisher publisher = client.describeGlobalNetworksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation.
describeGlobalNetworksRequest - default DescribeGlobalNetworksPublisher describeGlobalNetworksPaginator(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest)
Describes one or more global networks. By default, all global networks are described. To describe the objects in
your global network, you must use the appropriate Get* action. For example, to list the transit
gateways in your global network, use GetTransitGatewayRegistrations.
This is a variant of
describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksPublisher publisher = client.describeGlobalNetworksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksPublisher publisher = client.describeGlobalNetworksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation.
This is a convenience which creates an instance of the DescribeGlobalNetworksRequest.Builder avoiding the
need to create one manually via DescribeGlobalNetworksRequest.builder()
describeGlobalNetworksRequest - A Consumer that will call methods on DescribeGlobalNetworksRequest.Builder to create a
request.default CompletableFuture<DisassociateCustomerGatewayResponse> disassociateCustomerGateway(DisassociateCustomerGatewayRequest disassociateCustomerGatewayRequest)
Disassociates a customer gateway from a device and a link.
disassociateCustomerGatewayRequest - default CompletableFuture<DisassociateCustomerGatewayResponse> disassociateCustomerGateway(Consumer<DisassociateCustomerGatewayRequest.Builder> disassociateCustomerGatewayRequest)
Disassociates a customer gateway from a device and a link.
This is a convenience which creates an instance of the DisassociateCustomerGatewayRequest.Builder
avoiding the need to create one manually via DisassociateCustomerGatewayRequest.builder()
disassociateCustomerGatewayRequest - A Consumer that will call methods on DisassociateCustomerGatewayRequest.Builder to create
a request.default CompletableFuture<DisassociateLinkResponse> disassociateLink(DisassociateLinkRequest disassociateLinkRequest)
Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.
disassociateLinkRequest - default CompletableFuture<DisassociateLinkResponse> disassociateLink(Consumer<DisassociateLinkRequest.Builder> disassociateLinkRequest)
Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.
This is a convenience which creates an instance of the DisassociateLinkRequest.Builder avoiding the need
to create one manually via DisassociateLinkRequest.builder()
disassociateLinkRequest - A Consumer that will call methods on DisassociateLinkRequest.Builder to create a request.default CompletableFuture<DisassociateTransitGatewayConnectPeerResponse> disassociateTransitGatewayConnectPeer(DisassociateTransitGatewayConnectPeerRequest disassociateTransitGatewayConnectPeerRequest)
Disassociates a transit gateway Connect peer from a device and link.
disassociateTransitGatewayConnectPeerRequest - default CompletableFuture<DisassociateTransitGatewayConnectPeerResponse> disassociateTransitGatewayConnectPeer(Consumer<DisassociateTransitGatewayConnectPeerRequest.Builder> disassociateTransitGatewayConnectPeerRequest)
Disassociates a transit gateway Connect peer from a device and link.
This is a convenience which creates an instance of the
DisassociateTransitGatewayConnectPeerRequest.Builder avoiding the need to create one manually via
DisassociateTransitGatewayConnectPeerRequest.builder()
disassociateTransitGatewayConnectPeerRequest - A Consumer that will call methods on DisassociateTransitGatewayConnectPeerRequest.Builder
to create a request.default CompletableFuture<GetConnectionsResponse> getConnections(GetConnectionsRequest getConnectionsRequest)
Gets information about one or more of your connections in a global network.
getConnectionsRequest - default CompletableFuture<GetConnectionsResponse> getConnections(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest)
Gets information about one or more of your connections in a global network.
This is a convenience which creates an instance of the GetConnectionsRequest.Builder avoiding the need to
create one manually via GetConnectionsRequest.builder()
getConnectionsRequest - A Consumer that will call methods on GetConnectionsRequest.Builder to create a request.default GetConnectionsPublisher getConnectionsPaginator(GetConnectionsRequest getConnectionsRequest)
Gets information about one or more of your connections in a global network.
This is a variant of
getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsPublisher publisher = client.getConnectionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsPublisher publisher = client.getConnectionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetConnectionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.networkmanager.model.GetConnectionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest)
operation.
getConnectionsRequest - default GetConnectionsPublisher getConnectionsPaginator(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest)
Gets information about one or more of your connections in a global network.
This is a variant of
getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsPublisher publisher = client.getConnectionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsPublisher publisher = client.getConnectionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetConnectionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.networkmanager.model.GetConnectionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest)
operation.
This is a convenience which creates an instance of the GetConnectionsRequest.Builder avoiding the need to
create one manually via GetConnectionsRequest.builder()
getConnectionsRequest - A Consumer that will call methods on GetConnectionsRequest.Builder to create a request.default CompletableFuture<GetCustomerGatewayAssociationsResponse> getCustomerGatewayAssociations(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest)
Gets the association information for customer gateways that are associated with devices and links in your global network.
getCustomerGatewayAssociationsRequest - default CompletableFuture<GetCustomerGatewayAssociationsResponse> getCustomerGatewayAssociations(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest)
Gets the association information for customer gateways that are associated with devices and links in your global network.
This is a convenience which creates an instance of the GetCustomerGatewayAssociationsRequest.Builder
avoiding the need to create one manually via GetCustomerGatewayAssociationsRequest.builder()
getCustomerGatewayAssociationsRequest - A Consumer that will call methods on GetCustomerGatewayAssociationsRequest.Builder to
create a request.default GetCustomerGatewayAssociationsPublisher getCustomerGatewayAssociationsPaginator(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest)
Gets the association information for customer gateways that are associated with devices and links in your global network.
This is a variant of
getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsPublisher publisher = client.getCustomerGatewayAssociationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsPublisher publisher = client.getCustomerGatewayAssociationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)
operation.
getCustomerGatewayAssociationsRequest - default GetCustomerGatewayAssociationsPublisher getCustomerGatewayAssociationsPaginator(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest)
Gets the association information for customer gateways that are associated with devices and links in your global network.
This is a variant of
getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsPublisher publisher = client.getCustomerGatewayAssociationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsPublisher publisher = client.getCustomerGatewayAssociationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)
operation.
This is a convenience which creates an instance of the GetCustomerGatewayAssociationsRequest.Builder
avoiding the need to create one manually via GetCustomerGatewayAssociationsRequest.builder()
getCustomerGatewayAssociationsRequest - A Consumer that will call methods on GetCustomerGatewayAssociationsRequest.Builder to
create a request.default CompletableFuture<GetDevicesResponse> getDevices(GetDevicesRequest getDevicesRequest)
Gets information about one or more of your devices in a global network.
getDevicesRequest - default CompletableFuture<GetDevicesResponse> getDevices(Consumer<GetDevicesRequest.Builder> getDevicesRequest)
Gets information about one or more of your devices in a global network.
This is a convenience which creates an instance of the GetDevicesRequest.Builder avoiding the need to
create one manually via GetDevicesRequest.builder()
getDevicesRequest - A Consumer that will call methods on GetDevicesRequest.Builder to create a request.default GetDevicesPublisher getDevicesPaginator(GetDevicesRequest getDevicesRequest)
Gets information about one or more of your devices in a global network.
This is a variant of getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.networkmanager.paginators.GetDevicesPublisher publisher = client.getDevicesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.networkmanager.paginators.GetDevicesPublisher publisher = client.getDevicesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetDevicesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.networkmanager.model.GetDevicesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest) operation.
getDevicesRequest - default GetDevicesPublisher getDevicesPaginator(Consumer<GetDevicesRequest.Builder> getDevicesRequest)
Gets information about one or more of your devices in a global network.
This is a variant of getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.networkmanager.paginators.GetDevicesPublisher publisher = client.getDevicesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.networkmanager.paginators.GetDevicesPublisher publisher = client.getDevicesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetDevicesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.networkmanager.model.GetDevicesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest) operation.
This is a convenience which creates an instance of the GetDevicesRequest.Builder avoiding the need to
create one manually via GetDevicesRequest.builder()
getDevicesRequest - A Consumer that will call methods on GetDevicesRequest.Builder to create a request.default CompletableFuture<GetLinkAssociationsResponse> getLinkAssociations(GetLinkAssociationsRequest getLinkAssociationsRequest)
Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.
getLinkAssociationsRequest - default CompletableFuture<GetLinkAssociationsResponse> getLinkAssociations(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest)
Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.
This is a convenience which creates an instance of the GetLinkAssociationsRequest.Builder avoiding the
need to create one manually via GetLinkAssociationsRequest.builder()
getLinkAssociationsRequest - A Consumer that will call methods on GetLinkAssociationsRequest.Builder to create a
request.default GetLinkAssociationsPublisher getLinkAssociationsPaginator(GetLinkAssociationsRequest getLinkAssociationsRequest)
Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.
This is a variant of
getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsPublisher publisher = client.getLinkAssociationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsPublisher publisher = client.getLinkAssociationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation.
getLinkAssociationsRequest - default GetLinkAssociationsPublisher getLinkAssociationsPaginator(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest)
Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.
This is a variant of
getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsPublisher publisher = client.getLinkAssociationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsPublisher publisher = client.getLinkAssociationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation.
This is a convenience which creates an instance of the GetLinkAssociationsRequest.Builder avoiding the
need to create one manually via GetLinkAssociationsRequest.builder()
getLinkAssociationsRequest - A Consumer that will call methods on GetLinkAssociationsRequest.Builder to create a
request.default CompletableFuture<GetLinksResponse> getLinks(GetLinksRequest getLinksRequest)
Gets information about one or more links in a specified global network.
If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.
getLinksRequest - default CompletableFuture<GetLinksResponse> getLinks(Consumer<GetLinksRequest.Builder> getLinksRequest)
Gets information about one or more links in a specified global network.
If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.
This is a convenience which creates an instance of the GetLinksRequest.Builder avoiding the need to
create one manually via GetLinksRequest.builder()
getLinksRequest - A Consumer that will call methods on GetLinksRequest.Builder to create a request.default GetLinksPublisher getLinksPaginator(GetLinksRequest getLinksRequest)
Gets information about one or more links in a specified global network.
If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.
This is a variant of getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.networkmanager.paginators.GetLinksPublisher publisher = client.getLinksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.networkmanager.paginators.GetLinksPublisher publisher = client.getLinksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetLinksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.networkmanager.model.GetLinksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest) operation.
getLinksRequest - default GetLinksPublisher getLinksPaginator(Consumer<GetLinksRequest.Builder> getLinksRequest)
Gets information about one or more links in a specified global network.
If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.
This is a variant of getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.networkmanager.paginators.GetLinksPublisher publisher = client.getLinksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.networkmanager.paginators.GetLinksPublisher publisher = client.getLinksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetLinksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.networkmanager.model.GetLinksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest) operation.
This is a convenience which creates an instance of the GetLinksRequest.Builder avoiding the need to
create one manually via GetLinksRequest.builder()
getLinksRequest - A Consumer that will call methods on GetLinksRequest.Builder to create a request.default CompletableFuture<GetSitesResponse> getSites(GetSitesRequest getSitesRequest)
Gets information about one or more of your sites in a global network.
getSitesRequest - default CompletableFuture<GetSitesResponse> getSites(Consumer<GetSitesRequest.Builder> getSitesRequest)
Gets information about one or more of your sites in a global network.
This is a convenience which creates an instance of the GetSitesRequest.Builder avoiding the need to
create one manually via GetSitesRequest.builder()
getSitesRequest - A Consumer that will call methods on GetSitesRequest.Builder to create a request.default GetSitesPublisher getSitesPaginator(GetSitesRequest getSitesRequest)
Gets information about one or more of your sites in a global network.
This is a variant of getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.networkmanager.paginators.GetSitesPublisher publisher = client.getSitesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.networkmanager.paginators.GetSitesPublisher publisher = client.getSitesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetSitesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.networkmanager.model.GetSitesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest) operation.
getSitesRequest - default GetSitesPublisher getSitesPaginator(Consumer<GetSitesRequest.Builder> getSitesRequest)
Gets information about one or more of your sites in a global network.
This is a variant of getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.networkmanager.paginators.GetSitesPublisher publisher = client.getSitesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.networkmanager.paginators.GetSitesPublisher publisher = client.getSitesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetSitesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.networkmanager.model.GetSitesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest) operation.
This is a convenience which creates an instance of the GetSitesRequest.Builder avoiding the need to
create one manually via GetSitesRequest.builder()
getSitesRequest - A Consumer that will call methods on GetSitesRequest.Builder to create a request.default CompletableFuture<GetTransitGatewayConnectPeerAssociationsResponse> getTransitGatewayConnectPeerAssociations(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest)
Gets information about one or more of your transit gateway Connect peer associations in a global network.
getTransitGatewayConnectPeerAssociationsRequest - default CompletableFuture<GetTransitGatewayConnectPeerAssociationsResponse> getTransitGatewayConnectPeerAssociations(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest)
Gets information about one or more of your transit gateway Connect peer associations in a global network.
This is a convenience which creates an instance of the
GetTransitGatewayConnectPeerAssociationsRequest.Builder avoiding the need to create one manually via
GetTransitGatewayConnectPeerAssociationsRequest.builder()
getTransitGatewayConnectPeerAssociationsRequest - A Consumer that will call methods on
GetTransitGatewayConnectPeerAssociationsRequest.Builder to create a request.default GetTransitGatewayConnectPeerAssociationsPublisher getTransitGatewayConnectPeerAssociationsPaginator(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest)
Gets information about one or more of your transit gateway Connect peer associations in a global network.
This is a variant of
getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsPublisher publisher = client.getTransitGatewayConnectPeerAssociationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsPublisher publisher = client.getTransitGatewayConnectPeerAssociationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest)
operation.
getTransitGatewayConnectPeerAssociationsRequest - default GetTransitGatewayConnectPeerAssociationsPublisher getTransitGatewayConnectPeerAssociationsPaginator(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest)
Gets information about one or more of your transit gateway Connect peer associations in a global network.
This is a variant of
getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsPublisher publisher = client.getTransitGatewayConnectPeerAssociationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsPublisher publisher = client.getTransitGatewayConnectPeerAssociationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest)
operation.
This is a convenience which creates an instance of the
GetTransitGatewayConnectPeerAssociationsRequest.Builder avoiding the need to create one manually via
GetTransitGatewayConnectPeerAssociationsRequest.builder()
getTransitGatewayConnectPeerAssociationsRequest - A Consumer that will call methods on
GetTransitGatewayConnectPeerAssociationsRequest.Builder to create a request.default CompletableFuture<GetTransitGatewayRegistrationsResponse> getTransitGatewayRegistrations(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest)
Gets information about the transit gateway registrations in a specified global network.
getTransitGatewayRegistrationsRequest - default CompletableFuture<GetTransitGatewayRegistrationsResponse> getTransitGatewayRegistrations(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest)
Gets information about the transit gateway registrations in a specified global network.
This is a convenience which creates an instance of the GetTransitGatewayRegistrationsRequest.Builder
avoiding the need to create one manually via GetTransitGatewayRegistrationsRequest.builder()
getTransitGatewayRegistrationsRequest - A Consumer that will call methods on GetTransitGatewayRegistrationsRequest.Builder to
create a request.default GetTransitGatewayRegistrationsPublisher getTransitGatewayRegistrationsPaginator(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest)
Gets information about the transit gateway registrations in a specified global network.
This is a variant of
getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsPublisher publisher = client.getTransitGatewayRegistrationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsPublisher publisher = client.getTransitGatewayRegistrationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)
operation.
getTransitGatewayRegistrationsRequest - default GetTransitGatewayRegistrationsPublisher getTransitGatewayRegistrationsPaginator(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest)
Gets information about the transit gateway registrations in a specified global network.
This is a variant of
getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsPublisher publisher = client.getTransitGatewayRegistrationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsPublisher publisher = client.getTransitGatewayRegistrationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)
operation.
This is a convenience which creates an instance of the GetTransitGatewayRegistrationsRequest.Builder
avoiding the need to create one manually via GetTransitGatewayRegistrationsRequest.builder()
getTransitGatewayRegistrationsRequest - A Consumer that will call methods on GetTransitGatewayRegistrationsRequest.Builder to
create a request.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for a specified resource.
listTagsForResourceRequest - default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags for a specified resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.default CompletableFuture<RegisterTransitGatewayResponse> registerTransitGateway(RegisterTransitGatewayRequest registerTransitGatewayRequest)
Registers a transit gateway in your global network. The transit gateway can be in any AWS Region, but it must be owned by the same AWS account that owns the global network. You cannot register a transit gateway in more than one global network.
registerTransitGatewayRequest - default CompletableFuture<RegisterTransitGatewayResponse> registerTransitGateway(Consumer<RegisterTransitGatewayRequest.Builder> registerTransitGatewayRequest)
Registers a transit gateway in your global network. The transit gateway can be in any AWS Region, but it must be owned by the same AWS account that owns the global network. You cannot register a transit gateway in more than one global network.
This is a convenience which creates an instance of the RegisterTransitGatewayRequest.Builder avoiding the
need to create one manually via RegisterTransitGatewayRequest.builder()
registerTransitGatewayRequest - A Consumer that will call methods on RegisterTransitGatewayRequest.Builder to create a
request.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Tags a specified resource.
tagResourceRequest - default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Tags a specified resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from a specified resource.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from a specified resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.default CompletableFuture<UpdateConnectionResponse> updateConnection(UpdateConnectionRequest updateConnectionRequest)
Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.
updateConnectionRequest - default CompletableFuture<UpdateConnectionResponse> updateConnection(Consumer<UpdateConnectionRequest.Builder> updateConnectionRequest)
Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.
This is a convenience which creates an instance of the UpdateConnectionRequest.Builder avoiding the need
to create one manually via UpdateConnectionRequest.builder()
updateConnectionRequest - A Consumer that will call methods on UpdateConnectionRequest.Builder to create a request.default CompletableFuture<UpdateDeviceResponse> updateDevice(UpdateDeviceRequest updateDeviceRequest)
Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.
updateDeviceRequest - default CompletableFuture<UpdateDeviceResponse> updateDevice(Consumer<UpdateDeviceRequest.Builder> updateDeviceRequest)
Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.
This is a convenience which creates an instance of the UpdateDeviceRequest.Builder avoiding the need to
create one manually via UpdateDeviceRequest.builder()
updateDeviceRequest - A Consumer that will call methods on UpdateDeviceRequest.Builder to create a request.default CompletableFuture<UpdateGlobalNetworkResponse> updateGlobalNetwork(UpdateGlobalNetworkRequest updateGlobalNetworkRequest)
Updates an existing global network. To remove information for any of the parameters, specify an empty string.
updateGlobalNetworkRequest - default CompletableFuture<UpdateGlobalNetworkResponse> updateGlobalNetwork(Consumer<UpdateGlobalNetworkRequest.Builder> updateGlobalNetworkRequest)
Updates an existing global network. To remove information for any of the parameters, specify an empty string.
This is a convenience which creates an instance of the UpdateGlobalNetworkRequest.Builder avoiding the
need to create one manually via UpdateGlobalNetworkRequest.builder()
updateGlobalNetworkRequest - A Consumer that will call methods on UpdateGlobalNetworkRequest.Builder to create a
request.default CompletableFuture<UpdateLinkResponse> updateLink(UpdateLinkRequest updateLinkRequest)
Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.
updateLinkRequest - default CompletableFuture<UpdateLinkResponse> updateLink(Consumer<UpdateLinkRequest.Builder> updateLinkRequest)
Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.
This is a convenience which creates an instance of the UpdateLinkRequest.Builder avoiding the need to
create one manually via UpdateLinkRequest.builder()
updateLinkRequest - A Consumer that will call methods on UpdateLinkRequest.Builder to create a request.default CompletableFuture<UpdateSiteResponse> updateSite(UpdateSiteRequest updateSiteRequest)
Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.
updateSiteRequest - default CompletableFuture<UpdateSiteResponse> updateSite(Consumer<UpdateSiteRequest.Builder> updateSiteRequest)
Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.
This is a convenience which creates an instance of the UpdateSiteRequest.Builder avoiding the need to
create one manually via UpdateSiteRequest.builder()
updateSiteRequest - A Consumer that will call methods on UpdateSiteRequest.Builder to create a request.Copyright © 2021. All rights reserved.