@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface PrivateNetworksAsyncClient extends AwsClient
builder()
method.
Amazon Web Services Private 5G is a managed service that makes it easy to deploy, operate, and scale your own private mobile network at your on-premises location. Private 5G provides the pre-configured hardware and software for mobile networks, helps automate setup, and scales capacity on demand to support additional devices as needed.
| 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 |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CompletableFuture<AcknowledgeOrderReceiptResponse> acknowledgeOrderReceipt(AcknowledgeOrderReceiptRequest acknowledgeOrderReceiptRequest)
Acknowledges that the specified network order was received.
acknowledgeOrderReceiptRequest - default CompletableFuture<AcknowledgeOrderReceiptResponse> acknowledgeOrderReceipt(Consumer<AcknowledgeOrderReceiptRequest.Builder> acknowledgeOrderReceiptRequest)
Acknowledges that the specified network order was received.
This is a convenience which creates an instance of the AcknowledgeOrderReceiptRequest.Builder avoiding
the need to create one manually via AcknowledgeOrderReceiptRequest.builder()
acknowledgeOrderReceiptRequest - A Consumer that will call methods on
AcknowledgeOrderReceiptRequest.Builder to
create a request.default CompletableFuture<ActivateDeviceIdentifierResponse> activateDeviceIdentifier(ActivateDeviceIdentifierRequest activateDeviceIdentifierRequest)
Activates the specified device identifier.
activateDeviceIdentifierRequest - default CompletableFuture<ActivateDeviceIdentifierResponse> activateDeviceIdentifier(Consumer<ActivateDeviceIdentifierRequest.Builder> activateDeviceIdentifierRequest)
Activates the specified device identifier.
This is a convenience which creates an instance of the ActivateDeviceIdentifierRequest.Builder avoiding
the need to create one manually via ActivateDeviceIdentifierRequest.builder()
activateDeviceIdentifierRequest - A Consumer that will call methods on
ActivateDeviceIdentifierRequest.Builder to
create a request.default CompletableFuture<ActivateNetworkSiteResponse> activateNetworkSite(ActivateNetworkSiteRequest activateNetworkSiteRequest)
Activates the specified network site.
activateNetworkSiteRequest - default CompletableFuture<ActivateNetworkSiteResponse> activateNetworkSite(Consumer<ActivateNetworkSiteRequest.Builder> activateNetworkSiteRequest)
Activates the specified network site.
This is a convenience which creates an instance of the ActivateNetworkSiteRequest.Builder avoiding the
need to create one manually via ActivateNetworkSiteRequest.builder()
activateNetworkSiteRequest - A Consumer that will call methods on
ActivateNetworkSiteRequest.Builder to create
a request.default CompletableFuture<ConfigureAccessPointResponse> configureAccessPoint(ConfigureAccessPointRequest configureAccessPointRequest)
Configures the specified network resource.
Use this action to specify the geographic position of the hardware. You must provide Certified Professional Installer (CPI) credentials in the request so that we can obtain spectrum grants. For more information, see Radio units in the Amazon Web Services Private 5G User Guide.
configureAccessPointRequest - default CompletableFuture<ConfigureAccessPointResponse> configureAccessPoint(Consumer<ConfigureAccessPointRequest.Builder> configureAccessPointRequest)
Configures the specified network resource.
Use this action to specify the geographic position of the hardware. You must provide Certified Professional Installer (CPI) credentials in the request so that we can obtain spectrum grants. For more information, see Radio units in the Amazon Web Services Private 5G User Guide.
This is a convenience which creates an instance of the ConfigureAccessPointRequest.Builder avoiding the
need to create one manually via ConfigureAccessPointRequest.builder()
configureAccessPointRequest - A Consumer that will call methods on
ConfigureAccessPointRequest.Builder to
create a request.default CompletableFuture<CreateNetworkResponse> createNetwork(CreateNetworkRequest createNetworkRequest)
Creates a network.
createNetworkRequest - default CompletableFuture<CreateNetworkResponse> createNetwork(Consumer<CreateNetworkRequest.Builder> createNetworkRequest)
Creates a network.
This is a convenience which creates an instance of the CreateNetworkRequest.Builder avoiding the need to
create one manually via CreateNetworkRequest.builder()
createNetworkRequest - A Consumer that will call methods on
CreateNetworkRequest.Builder to create a
request.default CompletableFuture<CreateNetworkSiteResponse> createNetworkSite(CreateNetworkSiteRequest createNetworkSiteRequest)
Creates a network site.
createNetworkSiteRequest - default CompletableFuture<CreateNetworkSiteResponse> createNetworkSite(Consumer<CreateNetworkSiteRequest.Builder> createNetworkSiteRequest)
Creates a network site.
This is a convenience which creates an instance of the CreateNetworkSiteRequest.Builder avoiding the need
to create one manually via CreateNetworkSiteRequest.builder()
createNetworkSiteRequest - A Consumer that will call methods on
CreateNetworkSiteRequest.Builder to create a
request.default CompletableFuture<DeactivateDeviceIdentifierResponse> deactivateDeviceIdentifier(DeactivateDeviceIdentifierRequest deactivateDeviceIdentifierRequest)
Deactivates the specified device identifier.
deactivateDeviceIdentifierRequest - default CompletableFuture<DeactivateDeviceIdentifierResponse> deactivateDeviceIdentifier(Consumer<DeactivateDeviceIdentifierRequest.Builder> deactivateDeviceIdentifierRequest)
Deactivates the specified device identifier.
This is a convenience which creates an instance of the DeactivateDeviceIdentifierRequest.Builder avoiding
the need to create one manually via DeactivateDeviceIdentifierRequest.builder()
deactivateDeviceIdentifierRequest - A Consumer that will call methods on
DeactivateDeviceIdentifierRequest.Builder to
create a request.default CompletableFuture<DeleteNetworkResponse> deleteNetwork(DeleteNetworkRequest deleteNetworkRequest)
Deletes the specified network. You must delete network sites before you delete the network. For more information, see DeleteNetworkSite in the API Reference for Amazon Web Services Private 5G.
deleteNetworkRequest - default CompletableFuture<DeleteNetworkResponse> deleteNetwork(Consumer<DeleteNetworkRequest.Builder> deleteNetworkRequest)
Deletes the specified network. You must delete network sites before you delete the network. For more information, see DeleteNetworkSite in the API Reference for Amazon Web Services Private 5G.
This is a convenience which creates an instance of the DeleteNetworkRequest.Builder avoiding the need to
create one manually via DeleteNetworkRequest.builder()
deleteNetworkRequest - A Consumer that will call methods on
DeleteNetworkRequest.Builder to create a
request.default CompletableFuture<DeleteNetworkSiteResponse> deleteNetworkSite(DeleteNetworkSiteRequest deleteNetworkSiteRequest)
Deletes the specified network site. Return the hardware after you delete the network site. You are responsible for minimum charges. For more information, see Hardware returns in the Amazon Web Services Private 5G User Guide.
deleteNetworkSiteRequest - default CompletableFuture<DeleteNetworkSiteResponse> deleteNetworkSite(Consumer<DeleteNetworkSiteRequest.Builder> deleteNetworkSiteRequest)
Deletes the specified network site. Return the hardware after you delete the network site. You are responsible for minimum charges. For more information, see Hardware returns in the Amazon Web Services Private 5G User Guide.
This is a convenience which creates an instance of the DeleteNetworkSiteRequest.Builder avoiding the need
to create one manually via DeleteNetworkSiteRequest.builder()
deleteNetworkSiteRequest - A Consumer that will call methods on
DeleteNetworkSiteRequest.Builder to create a
request.default CompletableFuture<GetDeviceIdentifierResponse> getDeviceIdentifier(GetDeviceIdentifierRequest getDeviceIdentifierRequest)
Gets the specified device identifier.
getDeviceIdentifierRequest - default CompletableFuture<GetDeviceIdentifierResponse> getDeviceIdentifier(Consumer<GetDeviceIdentifierRequest.Builder> getDeviceIdentifierRequest)
Gets the specified device identifier.
This is a convenience which creates an instance of the GetDeviceIdentifierRequest.Builder avoiding the
need to create one manually via GetDeviceIdentifierRequest.builder()
getDeviceIdentifierRequest - A Consumer that will call methods on
GetDeviceIdentifierRequest.Builder to create
a request.default CompletableFuture<GetNetworkResponse> getNetwork(GetNetworkRequest getNetworkRequest)
Gets the specified network.
getNetworkRequest - default CompletableFuture<GetNetworkResponse> getNetwork(Consumer<GetNetworkRequest.Builder> getNetworkRequest)
Gets the specified network.
This is a convenience which creates an instance of the GetNetworkRequest.Builder avoiding the need to
create one manually via GetNetworkRequest.builder()
getNetworkRequest - A Consumer that will call methods on
GetNetworkRequest.Builder to create a
request.default CompletableFuture<GetNetworkResourceResponse> getNetworkResource(GetNetworkResourceRequest getNetworkResourceRequest)
Gets the specified network resource.
getNetworkResourceRequest - default CompletableFuture<GetNetworkResourceResponse> getNetworkResource(Consumer<GetNetworkResourceRequest.Builder> getNetworkResourceRequest)
Gets the specified network resource.
This is a convenience which creates an instance of the GetNetworkResourceRequest.Builder avoiding the
need to create one manually via GetNetworkResourceRequest.builder()
getNetworkResourceRequest - A Consumer that will call methods on
GetNetworkResourceRequest.Builder to create
a request.default CompletableFuture<GetNetworkSiteResponse> getNetworkSite(GetNetworkSiteRequest getNetworkSiteRequest)
Gets the specified network site.
getNetworkSiteRequest - default CompletableFuture<GetNetworkSiteResponse> getNetworkSite(Consumer<GetNetworkSiteRequest.Builder> getNetworkSiteRequest)
Gets the specified network site.
This is a convenience which creates an instance of the GetNetworkSiteRequest.Builder avoiding the need to
create one manually via GetNetworkSiteRequest.builder()
getNetworkSiteRequest - A Consumer that will call methods on
GetNetworkSiteRequest.Builder to create a
request.default CompletableFuture<GetOrderResponse> getOrder(GetOrderRequest getOrderRequest)
Gets the specified order.
getOrderRequest - default CompletableFuture<GetOrderResponse> getOrder(Consumer<GetOrderRequest.Builder> getOrderRequest)
Gets the specified order.
This is a convenience which creates an instance of the GetOrderRequest.Builder avoiding the need to
create one manually via GetOrderRequest.builder()
getOrderRequest - A Consumer that will call methods on
GetOrderRequest.Builder to create a request.default CompletableFuture<ListDeviceIdentifiersResponse> listDeviceIdentifiers(ListDeviceIdentifiersRequest listDeviceIdentifiersRequest)
Lists device identifiers. Add filters to your request to return a more specific list of results. Use filters to match the Amazon Resource Name (ARN) of an order, the status of device identifiers, or the ARN of the traffic group.
If you specify multiple filters, filters are joined with an OR, and the request returns results that match all of the specified filters.
listDeviceIdentifiersRequest - default CompletableFuture<ListDeviceIdentifiersResponse> listDeviceIdentifiers(Consumer<ListDeviceIdentifiersRequest.Builder> listDeviceIdentifiersRequest)
Lists device identifiers. Add filters to your request to return a more specific list of results. Use filters to match the Amazon Resource Name (ARN) of an order, the status of device identifiers, or the ARN of the traffic group.
If you specify multiple filters, filters are joined with an OR, and the request returns results that match all of the specified filters.
This is a convenience which creates an instance of the ListDeviceIdentifiersRequest.Builder avoiding the
need to create one manually via ListDeviceIdentifiersRequest.builder()
listDeviceIdentifiersRequest - A Consumer that will call methods on
ListDeviceIdentifiersRequest.Builder to
create a request.default ListDeviceIdentifiersPublisher listDeviceIdentifiersPaginator(ListDeviceIdentifiersRequest listDeviceIdentifiersRequest)
Lists device identifiers. Add filters to your request to return a more specific list of results. Use filters to match the Amazon Resource Name (ARN) of an order, the status of device identifiers, or the ARN of the traffic group.
If you specify multiple filters, filters are joined with an OR, and the request returns results that match all of the specified filters.
This is a variant of
listDeviceIdentifiers(software.amazon.awssdk.services.privatenetworks.model.ListDeviceIdentifiersRequest)
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.privatenetworks.paginators.ListDeviceIdentifiersPublisher publisher = client.listDeviceIdentifiersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.privatenetworks.paginators.ListDeviceIdentifiersPublisher publisher = client.listDeviceIdentifiersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.privatenetworks.model.ListDeviceIdentifiersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.privatenetworks.model.ListDeviceIdentifiersResponse 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
listDeviceIdentifiers(software.amazon.awssdk.services.privatenetworks.model.ListDeviceIdentifiersRequest)
operation.
listDeviceIdentifiersRequest - default ListDeviceIdentifiersPublisher listDeviceIdentifiersPaginator(Consumer<ListDeviceIdentifiersRequest.Builder> listDeviceIdentifiersRequest)
Lists device identifiers. Add filters to your request to return a more specific list of results. Use filters to match the Amazon Resource Name (ARN) of an order, the status of device identifiers, or the ARN of the traffic group.
If you specify multiple filters, filters are joined with an OR, and the request returns results that match all of the specified filters.
This is a variant of
listDeviceIdentifiers(software.amazon.awssdk.services.privatenetworks.model.ListDeviceIdentifiersRequest)
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.privatenetworks.paginators.ListDeviceIdentifiersPublisher publisher = client.listDeviceIdentifiersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.privatenetworks.paginators.ListDeviceIdentifiersPublisher publisher = client.listDeviceIdentifiersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.privatenetworks.model.ListDeviceIdentifiersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.privatenetworks.model.ListDeviceIdentifiersResponse 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
listDeviceIdentifiers(software.amazon.awssdk.services.privatenetworks.model.ListDeviceIdentifiersRequest)
operation.
This is a convenience which creates an instance of the ListDeviceIdentifiersRequest.Builder avoiding the
need to create one manually via ListDeviceIdentifiersRequest.builder()
listDeviceIdentifiersRequest - A Consumer that will call methods on
ListDeviceIdentifiersRequest.Builder to
create a request.default CompletableFuture<ListNetworkResourcesResponse> listNetworkResources(ListNetworkResourcesRequest listNetworkResourcesRequest)
Lists network resources. Add filters to your request to return a more specific list of results. Use filters to match the Amazon Resource Name (ARN) of an order or the status of network resources.
If you specify multiple filters, filters are joined with an OR, and the request returns results that match all of the specified filters.
listNetworkResourcesRequest - default CompletableFuture<ListNetworkResourcesResponse> listNetworkResources(Consumer<ListNetworkResourcesRequest.Builder> listNetworkResourcesRequest)
Lists network resources. Add filters to your request to return a more specific list of results. Use filters to match the Amazon Resource Name (ARN) of an order or the status of network resources.
If you specify multiple filters, filters are joined with an OR, and the request returns results that match all of the specified filters.
This is a convenience which creates an instance of the ListNetworkResourcesRequest.Builder avoiding the
need to create one manually via ListNetworkResourcesRequest.builder()
listNetworkResourcesRequest - A Consumer that will call methods on
ListNetworkResourcesRequest.Builder to
create a request.default ListNetworkResourcesPublisher listNetworkResourcesPaginator(ListNetworkResourcesRequest listNetworkResourcesRequest)
Lists network resources. Add filters to your request to return a more specific list of results. Use filters to match the Amazon Resource Name (ARN) of an order or the status of network resources.
If you specify multiple filters, filters are joined with an OR, and the request returns results that match all of the specified filters.
This is a variant of
listNetworkResources(software.amazon.awssdk.services.privatenetworks.model.ListNetworkResourcesRequest)
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.privatenetworks.paginators.ListNetworkResourcesPublisher publisher = client.listNetworkResourcesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.privatenetworks.paginators.ListNetworkResourcesPublisher publisher = client.listNetworkResourcesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.privatenetworks.model.ListNetworkResourcesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.privatenetworks.model.ListNetworkResourcesResponse 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
listNetworkResources(software.amazon.awssdk.services.privatenetworks.model.ListNetworkResourcesRequest)
operation.
listNetworkResourcesRequest - default ListNetworkResourcesPublisher listNetworkResourcesPaginator(Consumer<ListNetworkResourcesRequest.Builder> listNetworkResourcesRequest)
Lists network resources. Add filters to your request to return a more specific list of results. Use filters to match the Amazon Resource Name (ARN) of an order or the status of network resources.
If you specify multiple filters, filters are joined with an OR, and the request returns results that match all of the specified filters.
This is a variant of
listNetworkResources(software.amazon.awssdk.services.privatenetworks.model.ListNetworkResourcesRequest)
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.privatenetworks.paginators.ListNetworkResourcesPublisher publisher = client.listNetworkResourcesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.privatenetworks.paginators.ListNetworkResourcesPublisher publisher = client.listNetworkResourcesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.privatenetworks.model.ListNetworkResourcesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.privatenetworks.model.ListNetworkResourcesResponse 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
listNetworkResources(software.amazon.awssdk.services.privatenetworks.model.ListNetworkResourcesRequest)
operation.
This is a convenience which creates an instance of the ListNetworkResourcesRequest.Builder avoiding the
need to create one manually via ListNetworkResourcesRequest.builder()
listNetworkResourcesRequest - A Consumer that will call methods on
ListNetworkResourcesRequest.Builder to
create a request.default CompletableFuture<ListNetworkSitesResponse> listNetworkSites(ListNetworkSitesRequest listNetworkSitesRequest)
Lists network sites. Add filters to your request to return a more specific list of results. Use filters to match the status of the network site.
listNetworkSitesRequest - default CompletableFuture<ListNetworkSitesResponse> listNetworkSites(Consumer<ListNetworkSitesRequest.Builder> listNetworkSitesRequest)
Lists network sites. Add filters to your request to return a more specific list of results. Use filters to match the status of the network site.
This is a convenience which creates an instance of the ListNetworkSitesRequest.Builder avoiding the need
to create one manually via ListNetworkSitesRequest.builder()
listNetworkSitesRequest - A Consumer that will call methods on
ListNetworkSitesRequest.Builder to create a
request.default ListNetworkSitesPublisher listNetworkSitesPaginator(ListNetworkSitesRequest listNetworkSitesRequest)
Lists network sites. Add filters to your request to return a more specific list of results. Use filters to match the status of the network site.
This is a variant of
listNetworkSites(software.amazon.awssdk.services.privatenetworks.model.ListNetworkSitesRequest)
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.privatenetworks.paginators.ListNetworkSitesPublisher publisher = client.listNetworkSitesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.privatenetworks.paginators.ListNetworkSitesPublisher publisher = client.listNetworkSitesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.privatenetworks.model.ListNetworkSitesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.privatenetworks.model.ListNetworkSitesResponse 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
listNetworkSites(software.amazon.awssdk.services.privatenetworks.model.ListNetworkSitesRequest)
operation.
listNetworkSitesRequest - default ListNetworkSitesPublisher listNetworkSitesPaginator(Consumer<ListNetworkSitesRequest.Builder> listNetworkSitesRequest)
Lists network sites. Add filters to your request to return a more specific list of results. Use filters to match the status of the network site.
This is a variant of
listNetworkSites(software.amazon.awssdk.services.privatenetworks.model.ListNetworkSitesRequest)
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.privatenetworks.paginators.ListNetworkSitesPublisher publisher = client.listNetworkSitesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.privatenetworks.paginators.ListNetworkSitesPublisher publisher = client.listNetworkSitesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.privatenetworks.model.ListNetworkSitesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.privatenetworks.model.ListNetworkSitesResponse 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
listNetworkSites(software.amazon.awssdk.services.privatenetworks.model.ListNetworkSitesRequest)
operation.
This is a convenience which creates an instance of the ListNetworkSitesRequest.Builder avoiding the need
to create one manually via ListNetworkSitesRequest.builder()
listNetworkSitesRequest - A Consumer that will call methods on
ListNetworkSitesRequest.Builder to create a
request.default CompletableFuture<ListNetworksResponse> listNetworks(ListNetworksRequest listNetworksRequest)
Lists networks. Add filters to your request to return a more specific list of results. Use filters to match the status of the network.
listNetworksRequest - default CompletableFuture<ListNetworksResponse> listNetworks(Consumer<ListNetworksRequest.Builder> listNetworksRequest)
Lists networks. Add filters to your request to return a more specific list of results. Use filters to match the status of the network.
This is a convenience which creates an instance of the ListNetworksRequest.Builder avoiding the need to
create one manually via ListNetworksRequest.builder()
listNetworksRequest - A Consumer that will call methods on
ListNetworksRequest.Builder to create a
request.default ListNetworksPublisher listNetworksPaginator(ListNetworksRequest listNetworksRequest)
Lists networks. Add filters to your request to return a more specific list of results. Use filters to match the status of the network.
This is a variant of
listNetworks(software.amazon.awssdk.services.privatenetworks.model.ListNetworksRequest) 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.privatenetworks.paginators.ListNetworksPublisher publisher = client.listNetworksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.privatenetworks.paginators.ListNetworksPublisher publisher = client.listNetworksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.privatenetworks.model.ListNetworksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.privatenetworks.model.ListNetworksResponse 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
listNetworks(software.amazon.awssdk.services.privatenetworks.model.ListNetworksRequest) operation.
listNetworksRequest - default ListNetworksPublisher listNetworksPaginator(Consumer<ListNetworksRequest.Builder> listNetworksRequest)
Lists networks. Add filters to your request to return a more specific list of results. Use filters to match the status of the network.
This is a variant of
listNetworks(software.amazon.awssdk.services.privatenetworks.model.ListNetworksRequest) 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.privatenetworks.paginators.ListNetworksPublisher publisher = client.listNetworksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.privatenetworks.paginators.ListNetworksPublisher publisher = client.listNetworksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.privatenetworks.model.ListNetworksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.privatenetworks.model.ListNetworksResponse 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
listNetworks(software.amazon.awssdk.services.privatenetworks.model.ListNetworksRequest) operation.
This is a convenience which creates an instance of the ListNetworksRequest.Builder avoiding the need to
create one manually via ListNetworksRequest.builder()
listNetworksRequest - A Consumer that will call methods on
ListNetworksRequest.Builder to create a
request.default CompletableFuture<ListOrdersResponse> listOrders(ListOrdersRequest listOrdersRequest)
Lists orders. Add filters to your request to return a more specific list of results. Use filters to match the Amazon Resource Name (ARN) of the network site or the status of the order.
If you specify multiple filters, filters are joined with an OR, and the request returns results that match all of the specified filters.
listOrdersRequest - default CompletableFuture<ListOrdersResponse> listOrders(Consumer<ListOrdersRequest.Builder> listOrdersRequest)
Lists orders. Add filters to your request to return a more specific list of results. Use filters to match the Amazon Resource Name (ARN) of the network site or the status of the order.
If you specify multiple filters, filters are joined with an OR, and the request returns results that match all of the specified filters.
This is a convenience which creates an instance of the ListOrdersRequest.Builder avoiding the need to
create one manually via ListOrdersRequest.builder()
listOrdersRequest - A Consumer that will call methods on
ListOrdersRequest.Builder to create a
request.default ListOrdersPublisher listOrdersPaginator(ListOrdersRequest listOrdersRequest)
Lists orders. Add filters to your request to return a more specific list of results. Use filters to match the Amazon Resource Name (ARN) of the network site or the status of the order.
If you specify multiple filters, filters are joined with an OR, and the request returns results that match all of the specified filters.
This is a variant of listOrders(software.amazon.awssdk.services.privatenetworks.model.ListOrdersRequest)
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.privatenetworks.paginators.ListOrdersPublisher publisher = client.listOrdersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.privatenetworks.paginators.ListOrdersPublisher publisher = client.listOrdersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.privatenetworks.model.ListOrdersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.privatenetworks.model.ListOrdersResponse 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
listOrders(software.amazon.awssdk.services.privatenetworks.model.ListOrdersRequest) operation.
listOrdersRequest - default ListOrdersPublisher listOrdersPaginator(Consumer<ListOrdersRequest.Builder> listOrdersRequest)
Lists orders. Add filters to your request to return a more specific list of results. Use filters to match the Amazon Resource Name (ARN) of the network site or the status of the order.
If you specify multiple filters, filters are joined with an OR, and the request returns results that match all of the specified filters.
This is a variant of listOrders(software.amazon.awssdk.services.privatenetworks.model.ListOrdersRequest)
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.privatenetworks.paginators.ListOrdersPublisher publisher = client.listOrdersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.privatenetworks.paginators.ListOrdersPublisher publisher = client.listOrdersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.privatenetworks.model.ListOrdersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.privatenetworks.model.ListOrdersResponse 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
listOrders(software.amazon.awssdk.services.privatenetworks.model.ListOrdersRequest) operation.
This is a convenience which creates an instance of the ListOrdersRequest.Builder avoiding the need to
create one manually via ListOrdersRequest.builder()
listOrdersRequest - A Consumer that will call methods on
ListOrdersRequest.Builder to create a
request.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified resource.
listTagsForResourceRequest - default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags for the 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<PingResponse> ping(PingRequest pingRequest)
Checks the health of the service.
pingRequest - default CompletableFuture<PingResponse> ping(Consumer<PingRequest.Builder> pingRequest)
Checks the health of the service.
This is a convenience which creates an instance of the PingRequest.Builder avoiding the need to create
one manually via PingRequest.builder()
pingRequest - A Consumer that will call methods on
PingRequest.Builder to create a request.default CompletableFuture<StartNetworkResourceUpdateResponse> startNetworkResourceUpdate(StartNetworkResourceUpdateRequest startNetworkResourceUpdateRequest)
Use this action to do the following tasks:
Update the duration and renewal status of the commitment period for a radio unit. The update goes into effect immediately.
Request a replacement for a network resource.
Request that you return a network resource.
After you submit a request to replace or return a network resource, the status of the network resource changes to
CREATING_SHIPPING_LABEL. The shipping label is available when the status of the network resource is
PENDING_RETURN. After the network resource is successfully returned, its status changes to
DELETED. For more information, see Return a
radio unit.
startNetworkResourceUpdateRequest - default CompletableFuture<StartNetworkResourceUpdateResponse> startNetworkResourceUpdate(Consumer<StartNetworkResourceUpdateRequest.Builder> startNetworkResourceUpdateRequest)
Use this action to do the following tasks:
Update the duration and renewal status of the commitment period for a radio unit. The update goes into effect immediately.
Request a replacement for a network resource.
Request that you return a network resource.
After you submit a request to replace or return a network resource, the status of the network resource changes to
CREATING_SHIPPING_LABEL. The shipping label is available when the status of the network resource is
PENDING_RETURN. After the network resource is successfully returned, its status changes to
DELETED. For more information, see Return a
radio unit.
This is a convenience which creates an instance of the StartNetworkResourceUpdateRequest.Builder avoiding
the need to create one manually via StartNetworkResourceUpdateRequest.builder()
startNetworkResourceUpdateRequest - A Consumer that will call methods on
StartNetworkResourceUpdateRequest.Builder to
create a request.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Adds tags to the specified resource.
tagResourceRequest - default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds tags to the 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 the specified resource.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from the 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<UpdateNetworkSiteResponse> updateNetworkSite(UpdateNetworkSiteRequest updateNetworkSiteRequest)
Updates the specified network site.
updateNetworkSiteRequest - default CompletableFuture<UpdateNetworkSiteResponse> updateNetworkSite(Consumer<UpdateNetworkSiteRequest.Builder> updateNetworkSiteRequest)
Updates the specified network site.
This is a convenience which creates an instance of the UpdateNetworkSiteRequest.Builder avoiding the need
to create one manually via UpdateNetworkSiteRequest.builder()
updateNetworkSiteRequest - A Consumer that will call methods on
UpdateNetworkSiteRequest.Builder to create a
request.default CompletableFuture<UpdateNetworkSitePlanResponse> updateNetworkSitePlan(UpdateNetworkSitePlanRequest updateNetworkSitePlanRequest)
Updates the specified network site plan.
updateNetworkSitePlanRequest - default CompletableFuture<UpdateNetworkSitePlanResponse> updateNetworkSitePlan(Consumer<UpdateNetworkSitePlanRequest.Builder> updateNetworkSitePlanRequest)
Updates the specified network site plan.
This is a convenience which creates an instance of the UpdateNetworkSitePlanRequest.Builder avoiding the
need to create one manually via UpdateNetworkSitePlanRequest.builder()
updateNetworkSitePlanRequest - A Consumer that will call methods on
UpdateNetworkSitePlanRequest.Builder to
create a request.default PrivateNetworksServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientstatic PrivateNetworksAsyncClient create()
PrivateNetworksAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static PrivateNetworksAsyncClientBuilder builder()
PrivateNetworksAsyncClient.Copyright © 2023. All rights reserved.