Interface NetworkManagerClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
Amazon Web Services enables you to centrally manage your Amazon Web Services Cloud WAN core network and your Transit Gateway network across Amazon Web Services accounts, Regions, and on-premises locations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault AcceptAttachmentResponseacceptAttachment(Consumer<AcceptAttachmentRequest.Builder> acceptAttachmentRequest) Accepts a core network attachment request.default AcceptAttachmentResponseacceptAttachment(AcceptAttachmentRequest acceptAttachmentRequest) Accepts a core network attachment request.default AssociateConnectPeerResponseassociateConnectPeer(Consumer<AssociateConnectPeerRequest.Builder> associateConnectPeerRequest) Associates a core network Connect peer with a device and optionally, with a link.default AssociateConnectPeerResponseassociateConnectPeer(AssociateConnectPeerRequest associateConnectPeerRequest) Associates a core network Connect peer with a device and optionally, with a link.default AssociateCustomerGatewayResponseassociateCustomerGateway(Consumer<AssociateCustomerGatewayRequest.Builder> associateCustomerGatewayRequest) Associates a customer gateway with a device and optionally, with a link.default AssociateCustomerGatewayResponseassociateCustomerGateway(AssociateCustomerGatewayRequest associateCustomerGatewayRequest) Associates a customer gateway with a device and optionally, with a link.default AssociateLinkResponseassociateLink(Consumer<AssociateLinkRequest.Builder> associateLinkRequest) Associates a link to a device.default AssociateLinkResponseassociateLink(AssociateLinkRequest associateLinkRequest) Associates a link to a device.associateTransitGatewayConnectPeer(Consumer<AssociateTransitGatewayConnectPeerRequest.Builder> associateTransitGatewayConnectPeerRequest) Associates a transit gateway Connect peer with a device, and optionally, with a link.associateTransitGatewayConnectPeer(AssociateTransitGatewayConnectPeerRequest associateTransitGatewayConnectPeerRequest) Associates a transit gateway Connect peer with a device, and optionally, with a link.static NetworkManagerClientBuilderbuilder()Create a builder that can be used to configure and create aNetworkManagerClient.static NetworkManagerClientcreate()Create aNetworkManagerClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateConnectAttachmentResponsecreateConnectAttachment(Consumer<CreateConnectAttachmentRequest.Builder> createConnectAttachmentRequest) Creates a core network Connect attachment from a specified core network attachment.default CreateConnectAttachmentResponsecreateConnectAttachment(CreateConnectAttachmentRequest createConnectAttachmentRequest) Creates a core network Connect attachment from a specified core network attachment.default CreateConnectionResponsecreateConnection(Consumer<CreateConnectionRequest.Builder> createConnectionRequest) Creates a connection between two devices.default CreateConnectionResponsecreateConnection(CreateConnectionRequest createConnectionRequest) Creates a connection between two devices.default CreateConnectPeerResponsecreateConnectPeer(Consumer<CreateConnectPeerRequest.Builder> createConnectPeerRequest) Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance.default CreateConnectPeerResponsecreateConnectPeer(CreateConnectPeerRequest createConnectPeerRequest) Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance.default CreateCoreNetworkResponsecreateCoreNetwork(Consumer<CreateCoreNetworkRequest.Builder> createCoreNetworkRequest) Creates a core network as part of your global network, and optionally, with a core network policy.default CreateCoreNetworkResponsecreateCoreNetwork(CreateCoreNetworkRequest createCoreNetworkRequest) Creates a core network as part of your global network, and optionally, with a core network policy.default CreateDeviceResponsecreateDevice(Consumer<CreateDeviceRequest.Builder> createDeviceRequest) Creates a new device in a global network.default CreateDeviceResponsecreateDevice(CreateDeviceRequest createDeviceRequest) Creates a new device in a global network.default CreateGlobalNetworkResponsecreateGlobalNetwork(Consumer<CreateGlobalNetworkRequest.Builder> createGlobalNetworkRequest) Creates a new, empty global network.default CreateGlobalNetworkResponsecreateGlobalNetwork(CreateGlobalNetworkRequest createGlobalNetworkRequest) Creates a new, empty global network.default CreateLinkResponsecreateLink(Consumer<CreateLinkRequest.Builder> createLinkRequest) Creates a new link for a specified site.default CreateLinkResponsecreateLink(CreateLinkRequest createLinkRequest) Creates a new link for a specified site.default CreateSiteResponsecreateSite(Consumer<CreateSiteRequest.Builder> createSiteRequest) Creates a new site in a global network.default CreateSiteResponsecreateSite(CreateSiteRequest createSiteRequest) Creates a new site in a global network.createSiteToSiteVpnAttachment(Consumer<CreateSiteToSiteVpnAttachmentRequest.Builder> createSiteToSiteVpnAttachmentRequest) Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.createSiteToSiteVpnAttachment(CreateSiteToSiteVpnAttachmentRequest createSiteToSiteVpnAttachmentRequest) Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.createTransitGatewayPeering(Consumer<CreateTransitGatewayPeeringRequest.Builder> createTransitGatewayPeeringRequest) Creates a transit gateway peering connection.createTransitGatewayPeering(CreateTransitGatewayPeeringRequest createTransitGatewayPeeringRequest) Creates a transit gateway peering connection.createTransitGatewayRouteTableAttachment(Consumer<CreateTransitGatewayRouteTableAttachmentRequest.Builder> createTransitGatewayRouteTableAttachmentRequest) Creates a transit gateway route table attachment.createTransitGatewayRouteTableAttachment(CreateTransitGatewayRouteTableAttachmentRequest createTransitGatewayRouteTableAttachmentRequest) Creates a transit gateway route table attachment.default CreateVpcAttachmentResponsecreateVpcAttachment(Consumer<CreateVpcAttachmentRequest.Builder> createVpcAttachmentRequest) Creates a VPC attachment on an edge location of a core network.default CreateVpcAttachmentResponsecreateVpcAttachment(CreateVpcAttachmentRequest createVpcAttachmentRequest) Creates a VPC attachment on an edge location of a core network.default DeleteAttachmentResponsedeleteAttachment(Consumer<DeleteAttachmentRequest.Builder> deleteAttachmentRequest) Deletes an attachment.default DeleteAttachmentResponsedeleteAttachment(DeleteAttachmentRequest deleteAttachmentRequest) Deletes an attachment.default DeleteConnectionResponsedeleteConnection(Consumer<DeleteConnectionRequest.Builder> deleteConnectionRequest) Deletes the specified connection in your global network.default DeleteConnectionResponsedeleteConnection(DeleteConnectionRequest deleteConnectionRequest) Deletes the specified connection in your global network.default DeleteConnectPeerResponsedeleteConnectPeer(Consumer<DeleteConnectPeerRequest.Builder> deleteConnectPeerRequest) Deletes a Connect peer.default DeleteConnectPeerResponsedeleteConnectPeer(DeleteConnectPeerRequest deleteConnectPeerRequest) Deletes a Connect peer.default DeleteCoreNetworkResponsedeleteCoreNetwork(Consumer<DeleteCoreNetworkRequest.Builder> deleteCoreNetworkRequest) Deletes a core network along with all core network policies.default DeleteCoreNetworkResponsedeleteCoreNetwork(DeleteCoreNetworkRequest deleteCoreNetworkRequest) Deletes a core network along with all core network policies.deleteCoreNetworkPolicyVersion(Consumer<DeleteCoreNetworkPolicyVersionRequest.Builder> deleteCoreNetworkPolicyVersionRequest) Deletes a policy version from a core network.deleteCoreNetworkPolicyVersion(DeleteCoreNetworkPolicyVersionRequest deleteCoreNetworkPolicyVersionRequest) Deletes a policy version from a core network.default DeleteDeviceResponsedeleteDevice(Consumer<DeleteDeviceRequest.Builder> deleteDeviceRequest) Deletes an existing device.default DeleteDeviceResponsedeleteDevice(DeleteDeviceRequest deleteDeviceRequest) Deletes an existing device.default DeleteGlobalNetworkResponsedeleteGlobalNetwork(Consumer<DeleteGlobalNetworkRequest.Builder> deleteGlobalNetworkRequest) Deletes an existing global network.default DeleteGlobalNetworkResponsedeleteGlobalNetwork(DeleteGlobalNetworkRequest deleteGlobalNetworkRequest) Deletes an existing global network.default DeleteLinkResponsedeleteLink(Consumer<DeleteLinkRequest.Builder> deleteLinkRequest) Deletes an existing link.default DeleteLinkResponsedeleteLink(DeleteLinkRequest deleteLinkRequest) Deletes an existing link.default DeletePeeringResponsedeletePeering(Consumer<DeletePeeringRequest.Builder> deletePeeringRequest) Deletes an existing peering connection.default DeletePeeringResponsedeletePeering(DeletePeeringRequest deletePeeringRequest) Deletes an existing peering connection.default DeleteResourcePolicyResponsedeleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) Deletes a resource policy for the specified resource.default DeleteResourcePolicyResponsedeleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) Deletes a resource policy for the specified resource.default DeleteSiteResponsedeleteSite(Consumer<DeleteSiteRequest.Builder> deleteSiteRequest) Deletes an existing site.default DeleteSiteResponsedeleteSite(DeleteSiteRequest deleteSiteRequest) Deletes an existing site.default DeregisterTransitGatewayResponsederegisterTransitGateway(Consumer<DeregisterTransitGatewayRequest.Builder> deregisterTransitGatewayRequest) Deregisters a transit gateway from your global network.default DeregisterTransitGatewayResponsederegisterTransitGateway(DeregisterTransitGatewayRequest deregisterTransitGatewayRequest) Deregisters a transit gateway from your global network.default DescribeGlobalNetworksResponsedescribeGlobalNetworks(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest) Describes one or more global networks.default DescribeGlobalNetworksResponsedescribeGlobalNetworks(DescribeGlobalNetworksRequest describeGlobalNetworksRequest) Describes one or more global networks.default DescribeGlobalNetworksIterabledescribeGlobalNetworksPaginator(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest) This is a variant ofdescribeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)operation.default DescribeGlobalNetworksIterabledescribeGlobalNetworksPaginator(DescribeGlobalNetworksRequest describeGlobalNetworksRequest) This is a variant ofdescribeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)operation.default DisassociateConnectPeerResponsedisassociateConnectPeer(Consumer<DisassociateConnectPeerRequest.Builder> disassociateConnectPeerRequest) Disassociates a core network Connect peer from a device and a link.default DisassociateConnectPeerResponsedisassociateConnectPeer(DisassociateConnectPeerRequest disassociateConnectPeerRequest) Disassociates a core network Connect peer from a device and a link.disassociateCustomerGateway(Consumer<DisassociateCustomerGatewayRequest.Builder> disassociateCustomerGatewayRequest) Disassociates a customer gateway from a device and a link.disassociateCustomerGateway(DisassociateCustomerGatewayRequest disassociateCustomerGatewayRequest) Disassociates a customer gateway from a device and a link.default DisassociateLinkResponsedisassociateLink(Consumer<DisassociateLinkRequest.Builder> disassociateLinkRequest) Disassociates an existing device from a link.default DisassociateLinkResponsedisassociateLink(DisassociateLinkRequest disassociateLinkRequest) Disassociates an existing device from a link.disassociateTransitGatewayConnectPeer(Consumer<DisassociateTransitGatewayConnectPeerRequest.Builder> disassociateTransitGatewayConnectPeerRequest) Disassociates a transit gateway Connect peer from a device and link.disassociateTransitGatewayConnectPeer(DisassociateTransitGatewayConnectPeerRequest disassociateTransitGatewayConnectPeerRequest) Disassociates a transit gateway Connect peer from a device and link.executeCoreNetworkChangeSet(Consumer<ExecuteCoreNetworkChangeSetRequest.Builder> executeCoreNetworkChangeSetRequest) Executes a change set on your core network.executeCoreNetworkChangeSet(ExecuteCoreNetworkChangeSetRequest executeCoreNetworkChangeSetRequest) Executes a change set on your core network.default GetConnectAttachmentResponsegetConnectAttachment(Consumer<GetConnectAttachmentRequest.Builder> getConnectAttachmentRequest) Returns information about a core network Connect attachment.default GetConnectAttachmentResponsegetConnectAttachment(GetConnectAttachmentRequest getConnectAttachmentRequest) Returns information about a core network Connect attachment.default GetConnectionsResponsegetConnections(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest) Gets information about one or more of your connections in a global network.default GetConnectionsResponsegetConnections(GetConnectionsRequest getConnectionsRequest) Gets information about one or more of your connections in a global network.default GetConnectionsIterablegetConnectionsPaginator(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest) This is a variant ofgetConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest)operation.default GetConnectionsIterablegetConnectionsPaginator(GetConnectionsRequest getConnectionsRequest) This is a variant ofgetConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest)operation.default GetConnectPeerResponsegetConnectPeer(Consumer<GetConnectPeerRequest.Builder> getConnectPeerRequest) Returns information about a core network Connect peer.default GetConnectPeerResponsegetConnectPeer(GetConnectPeerRequest getConnectPeerRequest) Returns information about a core network Connect peer.getConnectPeerAssociations(Consumer<GetConnectPeerAssociationsRequest.Builder> getConnectPeerAssociationsRequest) Returns information about a core network Connect peer associations.getConnectPeerAssociations(GetConnectPeerAssociationsRequest getConnectPeerAssociationsRequest) Returns information about a core network Connect peer associations.getConnectPeerAssociationsPaginator(Consumer<GetConnectPeerAssociationsRequest.Builder> getConnectPeerAssociationsRequest) This is a variant ofgetConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest)operation.getConnectPeerAssociationsPaginator(GetConnectPeerAssociationsRequest getConnectPeerAssociationsRequest) This is a variant ofgetConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest)operation.default GetCoreNetworkResponsegetCoreNetwork(Consumer<GetCoreNetworkRequest.Builder> getCoreNetworkRequest) Returns information about the LIVE policy for a core network.default GetCoreNetworkResponsegetCoreNetwork(GetCoreNetworkRequest getCoreNetworkRequest) Returns information about the LIVE policy for a core network.getCoreNetworkChangeEvents(Consumer<GetCoreNetworkChangeEventsRequest.Builder> getCoreNetworkChangeEventsRequest) Returns information about a core network change event.getCoreNetworkChangeEvents(GetCoreNetworkChangeEventsRequest getCoreNetworkChangeEventsRequest) Returns information about a core network change event.getCoreNetworkChangeEventsPaginator(Consumer<GetCoreNetworkChangeEventsRequest.Builder> getCoreNetworkChangeEventsRequest) This is a variant ofgetCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest)operation.getCoreNetworkChangeEventsPaginator(GetCoreNetworkChangeEventsRequest getCoreNetworkChangeEventsRequest) This is a variant ofgetCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest)operation.default GetCoreNetworkChangeSetResponsegetCoreNetworkChangeSet(Consumer<GetCoreNetworkChangeSetRequest.Builder> getCoreNetworkChangeSetRequest) Returns a change set between the LIVE core network policy and a submitted policy.default GetCoreNetworkChangeSetResponsegetCoreNetworkChangeSet(GetCoreNetworkChangeSetRequest getCoreNetworkChangeSetRequest) Returns a change set between the LIVE core network policy and a submitted policy.default GetCoreNetworkChangeSetIterablegetCoreNetworkChangeSetPaginator(Consumer<GetCoreNetworkChangeSetRequest.Builder> getCoreNetworkChangeSetRequest) This is a variant ofgetCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)operation.default GetCoreNetworkChangeSetIterablegetCoreNetworkChangeSetPaginator(GetCoreNetworkChangeSetRequest getCoreNetworkChangeSetRequest) This is a variant ofgetCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)operation.default GetCoreNetworkPolicyResponsegetCoreNetworkPolicy(Consumer<GetCoreNetworkPolicyRequest.Builder> getCoreNetworkPolicyRequest) Returns details about a core network policy.default GetCoreNetworkPolicyResponsegetCoreNetworkPolicy(GetCoreNetworkPolicyRequest getCoreNetworkPolicyRequest) Returns details about a core network policy.getCustomerGatewayAssociations(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest) Gets the association information for customer gateways that are associated with devices and links in your global network.getCustomerGatewayAssociations(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest) Gets the association information for customer gateways that are associated with devices and links in your global network.getCustomerGatewayAssociationsPaginator(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest) This is a variant ofgetCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)operation.getCustomerGatewayAssociationsPaginator(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest) This is a variant ofgetCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)operation.default GetDevicesResponsegetDevices(Consumer<GetDevicesRequest.Builder> getDevicesRequest) Gets information about one or more of your devices in a global network.default GetDevicesResponsegetDevices(GetDevicesRequest getDevicesRequest) Gets information about one or more of your devices in a global network.default GetDevicesIterablegetDevicesPaginator(Consumer<GetDevicesRequest.Builder> getDevicesRequest) This is a variant ofgetDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest)operation.default GetDevicesIterablegetDevicesPaginator(GetDevicesRequest getDevicesRequest) This is a variant ofgetDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest)operation.default GetLinkAssociationsResponsegetLinkAssociations(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest) Gets the link associations for a device or a link.default GetLinkAssociationsResponsegetLinkAssociations(GetLinkAssociationsRequest getLinkAssociationsRequest) Gets the link associations for a device or a link.default GetLinkAssociationsIterablegetLinkAssociationsPaginator(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest) This is a variant ofgetLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)operation.default GetLinkAssociationsIterablegetLinkAssociationsPaginator(GetLinkAssociationsRequest getLinkAssociationsRequest) This is a variant ofgetLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)operation.default GetLinksResponsegetLinks(Consumer<GetLinksRequest.Builder> getLinksRequest) Gets information about one or more links in a specified global network.default GetLinksResponsegetLinks(GetLinksRequest getLinksRequest) Gets information about one or more links in a specified global network.default GetLinksIterablegetLinksPaginator(Consumer<GetLinksRequest.Builder> getLinksRequest) This is a variant ofgetLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest)operation.default GetLinksIterablegetLinksPaginator(GetLinksRequest getLinksRequest) This is a variant ofgetLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest)operation.default GetNetworkResourceCountsResponsegetNetworkResourceCounts(Consumer<GetNetworkResourceCountsRequest.Builder> getNetworkResourceCountsRequest) Gets the count of network resources, by resource type, for the specified global network.default GetNetworkResourceCountsResponsegetNetworkResourceCounts(GetNetworkResourceCountsRequest getNetworkResourceCountsRequest) Gets the count of network resources, by resource type, for the specified global network.default GetNetworkResourceCountsIterablegetNetworkResourceCountsPaginator(Consumer<GetNetworkResourceCountsRequest.Builder> getNetworkResourceCountsRequest) This is a variant ofgetNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest)operation.default GetNetworkResourceCountsIterablegetNetworkResourceCountsPaginator(GetNetworkResourceCountsRequest getNetworkResourceCountsRequest) This is a variant ofgetNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest)operation.getNetworkResourceRelationships(Consumer<GetNetworkResourceRelationshipsRequest.Builder> getNetworkResourceRelationshipsRequest) Gets the network resource relationships for the specified global network.getNetworkResourceRelationships(GetNetworkResourceRelationshipsRequest getNetworkResourceRelationshipsRequest) Gets the network resource relationships for the specified global network.getNetworkResourceRelationshipsPaginator(Consumer<GetNetworkResourceRelationshipsRequest.Builder> getNetworkResourceRelationshipsRequest) This is a variant ofgetNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest)operation.getNetworkResourceRelationshipsPaginator(GetNetworkResourceRelationshipsRequest getNetworkResourceRelationshipsRequest) This is a variant ofgetNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest)operation.default GetNetworkResourcesResponsegetNetworkResources(Consumer<GetNetworkResourcesRequest.Builder> getNetworkResourcesRequest) Describes the network resources for the specified global network.default GetNetworkResourcesResponsegetNetworkResources(GetNetworkResourcesRequest getNetworkResourcesRequest) Describes the network resources for the specified global network.default GetNetworkResourcesIterablegetNetworkResourcesPaginator(Consumer<GetNetworkResourcesRequest.Builder> getNetworkResourcesRequest) This is a variant ofgetNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)operation.default GetNetworkResourcesIterablegetNetworkResourcesPaginator(GetNetworkResourcesRequest getNetworkResourcesRequest) This is a variant ofgetNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)operation.default GetNetworkRoutesResponsegetNetworkRoutes(Consumer<GetNetworkRoutesRequest.Builder> getNetworkRoutesRequest) Gets the network routes of the specified global network.default GetNetworkRoutesResponsegetNetworkRoutes(GetNetworkRoutesRequest getNetworkRoutesRequest) Gets the network routes of the specified global network.default GetNetworkTelemetryResponsegetNetworkTelemetry(Consumer<GetNetworkTelemetryRequest.Builder> getNetworkTelemetryRequest) Gets the network telemetry of the specified global network.default GetNetworkTelemetryResponsegetNetworkTelemetry(GetNetworkTelemetryRequest getNetworkTelemetryRequest) Gets the network telemetry of the specified global network.default GetNetworkTelemetryIterablegetNetworkTelemetryPaginator(Consumer<GetNetworkTelemetryRequest.Builder> getNetworkTelemetryRequest) This is a variant ofgetNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)operation.default GetNetworkTelemetryIterablegetNetworkTelemetryPaginator(GetNetworkTelemetryRequest getNetworkTelemetryRequest) This is a variant ofgetNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)operation.default GetResourcePolicyResponsegetResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Returns information about a resource policy.default GetResourcePolicyResponsegetResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) Returns information about a resource policy.default GetRouteAnalysisResponsegetRouteAnalysis(Consumer<GetRouteAnalysisRequest.Builder> getRouteAnalysisRequest) Gets information about the specified route analysis.default GetRouteAnalysisResponsegetRouteAnalysis(GetRouteAnalysisRequest getRouteAnalysisRequest) Gets information about the specified route analysis.default GetSitesResponsegetSites(Consumer<GetSitesRequest.Builder> getSitesRequest) Gets information about one or more of your sites in a global network.default GetSitesResponsegetSites(GetSitesRequest getSitesRequest) Gets information about one or more of your sites in a global network.default GetSitesIterablegetSitesPaginator(Consumer<GetSitesRequest.Builder> getSitesRequest) This is a variant ofgetSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest)operation.default GetSitesIterablegetSitesPaginator(GetSitesRequest getSitesRequest) This is a variant ofgetSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest)operation.getSiteToSiteVpnAttachment(Consumer<GetSiteToSiteVpnAttachmentRequest.Builder> getSiteToSiteVpnAttachmentRequest) Returns information about a site-to-site VPN attachment.getSiteToSiteVpnAttachment(GetSiteToSiteVpnAttachmentRequest getSiteToSiteVpnAttachmentRequest) Returns information about a site-to-site VPN attachment.getTransitGatewayConnectPeerAssociations(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest) Gets information about one or more of your transit gateway Connect peer associations in a global network.getTransitGatewayConnectPeerAssociations(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest) Gets information about one or more of your transit gateway Connect peer associations in a global network.getTransitGatewayConnectPeerAssociationsPaginator(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest) getTransitGatewayConnectPeerAssociationsPaginator(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest) default GetTransitGatewayPeeringResponsegetTransitGatewayPeering(Consumer<GetTransitGatewayPeeringRequest.Builder> getTransitGatewayPeeringRequest) Returns information about a transit gateway peer.default GetTransitGatewayPeeringResponsegetTransitGatewayPeering(GetTransitGatewayPeeringRequest getTransitGatewayPeeringRequest) Returns information about a transit gateway peer.getTransitGatewayRegistrations(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest) Gets information about the transit gateway registrations in a specified global network.getTransitGatewayRegistrations(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest) Gets information about the transit gateway registrations in a specified global network.getTransitGatewayRegistrationsPaginator(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest) This is a variant ofgetTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)operation.getTransitGatewayRegistrationsPaginator(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest) This is a variant ofgetTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)operation.getTransitGatewayRouteTableAttachment(Consumer<GetTransitGatewayRouteTableAttachmentRequest.Builder> getTransitGatewayRouteTableAttachmentRequest) Returns information about a transit gateway route table attachment.getTransitGatewayRouteTableAttachment(GetTransitGatewayRouteTableAttachmentRequest getTransitGatewayRouteTableAttachmentRequest) Returns information about a transit gateway route table attachment.default GetVpcAttachmentResponsegetVpcAttachment(Consumer<GetVpcAttachmentRequest.Builder> getVpcAttachmentRequest) Returns information about a VPC attachment.default GetVpcAttachmentResponsegetVpcAttachment(GetVpcAttachmentRequest getVpcAttachmentRequest) Returns information about a VPC attachment.default ListAttachmentsResponselistAttachments(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest) Returns a list of core network attachments.default ListAttachmentsResponselistAttachments(ListAttachmentsRequest listAttachmentsRequest) Returns a list of core network attachments.default ListAttachmentsIterablelistAttachmentsPaginator(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest) This is a variant oflistAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest)operation.default ListAttachmentsIterablelistAttachmentsPaginator(ListAttachmentsRequest listAttachmentsRequest) This is a variant oflistAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest)operation.default ListConnectPeersResponselistConnectPeers(Consumer<ListConnectPeersRequest.Builder> listConnectPeersRequest) Returns a list of core network Connect peers.default ListConnectPeersResponselistConnectPeers(ListConnectPeersRequest listConnectPeersRequest) Returns a list of core network Connect peers.default ListConnectPeersIterablelistConnectPeersPaginator(Consumer<ListConnectPeersRequest.Builder> listConnectPeersRequest) This is a variant oflistConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest)operation.default ListConnectPeersIterablelistConnectPeersPaginator(ListConnectPeersRequest listConnectPeersRequest) This is a variant oflistConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest)operation.listCoreNetworkPolicyVersions(Consumer<ListCoreNetworkPolicyVersionsRequest.Builder> listCoreNetworkPolicyVersionsRequest) Returns a list of core network policy versions.listCoreNetworkPolicyVersions(ListCoreNetworkPolicyVersionsRequest listCoreNetworkPolicyVersionsRequest) Returns a list of core network policy versions.listCoreNetworkPolicyVersionsPaginator(Consumer<ListCoreNetworkPolicyVersionsRequest.Builder> listCoreNetworkPolicyVersionsRequest) This is a variant oflistCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest)operation.listCoreNetworkPolicyVersionsPaginator(ListCoreNetworkPolicyVersionsRequest listCoreNetworkPolicyVersionsRequest) This is a variant oflistCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest)operation.default ListCoreNetworksResponselistCoreNetworks(Consumer<ListCoreNetworksRequest.Builder> listCoreNetworksRequest) Returns a list of owned and shared core networks.default ListCoreNetworksResponselistCoreNetworks(ListCoreNetworksRequest listCoreNetworksRequest) Returns a list of owned and shared core networks.default ListCoreNetworksIterablelistCoreNetworksPaginator(Consumer<ListCoreNetworksRequest.Builder> listCoreNetworksRequest) This is a variant oflistCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest)operation.default ListCoreNetworksIterablelistCoreNetworksPaginator(ListCoreNetworksRequest listCoreNetworksRequest) This is a variant oflistCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest)operation.listOrganizationServiceAccessStatus(Consumer<ListOrganizationServiceAccessStatusRequest.Builder> listOrganizationServiceAccessStatusRequest) Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.listOrganizationServiceAccessStatus(ListOrganizationServiceAccessStatusRequest listOrganizationServiceAccessStatusRequest) Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.default ListPeeringsResponselistPeerings(Consumer<ListPeeringsRequest.Builder> listPeeringsRequest) Lists the peerings for a core network.default ListPeeringsResponselistPeerings(ListPeeringsRequest listPeeringsRequest) Lists the peerings for a core network.default ListPeeringsIterablelistPeeringsPaginator(Consumer<ListPeeringsRequest.Builder> listPeeringsRequest) This is a variant oflistPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest)operation.default ListPeeringsIterablelistPeeringsPaginator(ListPeeringsRequest listPeeringsRequest) This is a variant oflistPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for a specified resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for a specified resource.default PutCoreNetworkPolicyResponseputCoreNetworkPolicy(Consumer<PutCoreNetworkPolicyRequest.Builder> putCoreNetworkPolicyRequest) Creates a new, immutable version of a core network policy.default PutCoreNetworkPolicyResponseputCoreNetworkPolicy(PutCoreNetworkPolicyRequest putCoreNetworkPolicyRequest) Creates a new, immutable version of a core network policy.default PutResourcePolicyResponseputResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) Creates or updates a resource policy.default PutResourcePolicyResponseputResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) Creates or updates a resource policy.default RegisterTransitGatewayResponseregisterTransitGateway(Consumer<RegisterTransitGatewayRequest.Builder> registerTransitGatewayRequest) Registers a transit gateway in your global network.default RegisterTransitGatewayResponseregisterTransitGateway(RegisterTransitGatewayRequest registerTransitGatewayRequest) Registers a transit gateway in your global network.default RejectAttachmentResponserejectAttachment(Consumer<RejectAttachmentRequest.Builder> rejectAttachmentRequest) Rejects a core network attachment request.default RejectAttachmentResponserejectAttachment(RejectAttachmentRequest rejectAttachmentRequest) Rejects a core network attachment request.restoreCoreNetworkPolicyVersion(Consumer<RestoreCoreNetworkPolicyVersionRequest.Builder> restoreCoreNetworkPolicyVersionRequest) Restores a previous policy version as a new, immutable version of a core network policy.restoreCoreNetworkPolicyVersion(RestoreCoreNetworkPolicyVersionRequest restoreCoreNetworkPolicyVersionRequest) Restores a previous policy version as a new, immutable version of a core network policy.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatastartOrganizationServiceAccessUpdate(Consumer<StartOrganizationServiceAccessUpdateRequest.Builder> startOrganizationServiceAccessUpdateRequest) Enables the Network Manager service for an Amazon Web Services Organization.startOrganizationServiceAccessUpdate(StartOrganizationServiceAccessUpdateRequest startOrganizationServiceAccessUpdateRequest) Enables the Network Manager service for an Amazon Web Services Organization.default StartRouteAnalysisResponsestartRouteAnalysis(Consumer<StartRouteAnalysisRequest.Builder> startRouteAnalysisRequest) Starts analyzing the routing path between the specified source and destination.default StartRouteAnalysisResponsestartRouteAnalysis(StartRouteAnalysisRequest startRouteAnalysisRequest) Starts analyzing the routing path between the specified source and destination.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tags a specified resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Tags a specified resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a specified resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes tags from a specified resource.default UpdateConnectionResponseupdateConnection(Consumer<UpdateConnectionRequest.Builder> updateConnectionRequest) Updates the information for an existing connection.default UpdateConnectionResponseupdateConnection(UpdateConnectionRequest updateConnectionRequest) Updates the information for an existing connection.default UpdateCoreNetworkResponseupdateCoreNetwork(Consumer<UpdateCoreNetworkRequest.Builder> updateCoreNetworkRequest) Updates the description of a core network.default UpdateCoreNetworkResponseupdateCoreNetwork(UpdateCoreNetworkRequest updateCoreNetworkRequest) Updates the description of a core network.default UpdateDeviceResponseupdateDevice(Consumer<UpdateDeviceRequest.Builder> updateDeviceRequest) Updates the details for an existing device.default UpdateDeviceResponseupdateDevice(UpdateDeviceRequest updateDeviceRequest) Updates the details for an existing device.default UpdateGlobalNetworkResponseupdateGlobalNetwork(Consumer<UpdateGlobalNetworkRequest.Builder> updateGlobalNetworkRequest) Updates an existing global network.default UpdateGlobalNetworkResponseupdateGlobalNetwork(UpdateGlobalNetworkRequest updateGlobalNetworkRequest) Updates an existing global network.default UpdateLinkResponseupdateLink(Consumer<UpdateLinkRequest.Builder> updateLinkRequest) Updates the details for an existing link.default UpdateLinkResponseupdateLink(UpdateLinkRequest updateLinkRequest) Updates the details for an existing link.updateNetworkResourceMetadata(Consumer<UpdateNetworkResourceMetadataRequest.Builder> updateNetworkResourceMetadataRequest) Updates the resource metadata for the specified global network.updateNetworkResourceMetadata(UpdateNetworkResourceMetadataRequest updateNetworkResourceMetadataRequest) Updates the resource metadata for the specified global network.default UpdateSiteResponseupdateSite(Consumer<UpdateSiteRequest.Builder> updateSiteRequest) Updates the information for an existing site.default UpdateSiteResponseupdateSite(UpdateSiteRequest updateSiteRequest) Updates the information for an existing site.default UpdateVpcAttachmentResponseupdateVpcAttachment(Consumer<UpdateVpcAttachmentRequest.Builder> updateVpcAttachmentRequest) Updates a VPC attachment.default UpdateVpcAttachmentResponseupdateVpcAttachment(UpdateVpcAttachmentRequest updateVpcAttachmentRequest) Updates a VPC attachment.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
acceptAttachment
default AcceptAttachmentResponse acceptAttachment(AcceptAttachmentRequest acceptAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Accepts a core network attachment request.
Once the attachment request is accepted by a core network owner, the attachment is created and connected to a core network.
- Parameters:
acceptAttachmentRequest-- Returns:
- Result of the AcceptAttachment operation returned by the service.
- See Also:
-
acceptAttachment
default AcceptAttachmentResponse acceptAttachment(Consumer<AcceptAttachmentRequest.Builder> acceptAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Accepts a core network attachment request.
Once the attachment request is accepted by a core network owner, the attachment is created and connected to a core network.
This is a convenience which creates an instance of the
AcceptAttachmentRequest.Builderavoiding the need to create one manually viaAcceptAttachmentRequest.builder()- Parameters:
acceptAttachmentRequest- AConsumerthat will call methods onAcceptAttachmentRequest.Builderto create a request.- Returns:
- Result of the AcceptAttachment operation returned by the service.
- See Also:
-
associateConnectPeer
default AssociateConnectPeerResponse associateConnectPeer(AssociateConnectPeerRequest associateConnectPeerRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Associates a core network 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 core network Connect peers that have been created on a core network Connect attachment on a core network.
- Parameters:
associateConnectPeerRequest-- Returns:
- Result of the AssociateConnectPeer operation returned by the service.
- See Also:
-
associateConnectPeer
default AssociateConnectPeerResponse associateConnectPeer(Consumer<AssociateConnectPeerRequest.Builder> associateConnectPeerRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Associates a core network 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 core network Connect peers that have been created on a core network Connect attachment on a core network.
This is a convenience which creates an instance of the
AssociateConnectPeerRequest.Builderavoiding the need to create one manually viaAssociateConnectPeerRequest.builder()- Parameters:
associateConnectPeerRequest- AConsumerthat will call methods onAssociateConnectPeerRequest.Builderto create a request.- Returns:
- Result of the AssociateConnectPeer operation returned by the service.
- See Also:
-
associateCustomerGateway
default AssociateCustomerGatewayResponse associateCustomerGateway(AssociateCustomerGatewayRequest associateCustomerGatewayRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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 or core network registered in your global network. When you register a transit gateway or core network, 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.
- Parameters:
associateCustomerGatewayRequest-- Returns:
- Result of the AssociateCustomerGateway operation returned by the service.
- See Also:
-
associateCustomerGateway
default AssociateCustomerGatewayResponse associateCustomerGateway(Consumer<AssociateCustomerGatewayRequest.Builder> associateCustomerGatewayRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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 or core network registered in your global network. When you register a transit gateway or core network, 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.Builderavoiding the need to create one manually viaAssociateCustomerGatewayRequest.builder()- Parameters:
associateCustomerGatewayRequest- AConsumerthat will call methods onAssociateCustomerGatewayRequest.Builderto create a request.- Returns:
- Result of the AssociateCustomerGateway operation returned by the service.
- See Also:
-
associateLink
default AssociateLinkResponse associateLink(AssociateLinkRequest associateLinkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.
- Parameters:
associateLinkRequest-- Returns:
- Result of the AssociateLink operation returned by the service.
- See Also:
-
associateLink
default AssociateLinkResponse associateLink(Consumer<AssociateLinkRequest.Builder> associateLinkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaAssociateLinkRequest.builder()- Parameters:
associateLinkRequest- AConsumerthat will call methods onAssociateLinkRequest.Builderto create a request.- Returns:
- Result of the AssociateLink operation returned by the service.
- See Also:
-
associateTransitGatewayConnectPeer
default AssociateTransitGatewayConnectPeerResponse associateTransitGatewayConnectPeer(AssociateTransitGatewayConnectPeerRequest associateTransitGatewayConnectPeerRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.
- Parameters:
associateTransitGatewayConnectPeerRequest-- Returns:
- Result of the AssociateTransitGatewayConnectPeer operation returned by the service.
- See Also:
-
associateTransitGatewayConnectPeer
default AssociateTransitGatewayConnectPeerResponse associateTransitGatewayConnectPeer(Consumer<AssociateTransitGatewayConnectPeerRequest.Builder> associateTransitGatewayConnectPeerRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaAssociateTransitGatewayConnectPeerRequest.builder()- Parameters:
associateTransitGatewayConnectPeerRequest- AConsumerthat will call methods onAssociateTransitGatewayConnectPeerRequest.Builderto create a request.- Returns:
- Result of the AssociateTransitGatewayConnectPeer operation returned by the service.
- See Also:
-
createConnectAttachment
default CreateConnectAttachmentResponse createConnectAttachment(CreateConnectAttachmentRequest createConnectAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates a core network Connect attachment from a specified core network attachment.
A core network Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a core network and an appliance. A core network Connect attachment uses an existing VPC attachment as the underlying transport mechanism.
- Parameters:
createConnectAttachmentRequest-- Returns:
- Result of the CreateConnectAttachment operation returned by the service.
- See Also:
-
createConnectAttachment
default CreateConnectAttachmentResponse createConnectAttachment(Consumer<CreateConnectAttachmentRequest.Builder> createConnectAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates a core network Connect attachment from a specified core network attachment.
A core network Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a core network and an appliance. A core network Connect attachment uses an existing VPC attachment as the underlying transport mechanism.
This is a convenience which creates an instance of the
CreateConnectAttachmentRequest.Builderavoiding the need to create one manually viaCreateConnectAttachmentRequest.builder()- Parameters:
createConnectAttachmentRequest- AConsumerthat will call methods onCreateConnectAttachmentRequest.Builderto create a request.- Returns:
- Result of the CreateConnectAttachment operation returned by the service.
- See Also:
-
createConnectPeer
default CreateConnectPeerResponse createConnectPeer(CreateConnectPeerRequest createConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance. The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).
- Parameters:
createConnectPeerRequest-- Returns:
- Result of the CreateConnectPeer operation returned by the service.
- See Also:
-
createConnectPeer
default CreateConnectPeerResponse createConnectPeer(Consumer<CreateConnectPeerRequest.Builder> createConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance. The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).
This is a convenience which creates an instance of the
CreateConnectPeerRequest.Builderavoiding the need to create one manually viaCreateConnectPeerRequest.builder()- Parameters:
createConnectPeerRequest- AConsumerthat will call methods onCreateConnectPeerRequest.Builderto create a request.- Returns:
- Result of the CreateConnectPeer operation returned by the service.
- See Also:
-
createConnection
default CreateConnectionResponse createConnection(CreateConnectionRequest createConnectionRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.
- Parameters:
createConnectionRequest-- Returns:
- Result of the CreateConnection operation returned by the service.
- See Also:
-
createConnection
default CreateConnectionResponse createConnection(Consumer<CreateConnectionRequest.Builder> createConnectionRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaCreateConnectionRequest.builder()- Parameters:
createConnectionRequest- AConsumerthat will call methods onCreateConnectionRequest.Builderto create a request.- Returns:
- Result of the CreateConnection operation returned by the service.
- See Also:
-
createCoreNetwork
default CreateCoreNetworkResponse createCoreNetwork(CreateCoreNetworkRequest createCoreNetworkRequest) throws CoreNetworkPolicyException, ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates a core network as part of your global network, and optionally, with a core network policy.
- Parameters:
createCoreNetworkRequest-- Returns:
- Result of the CreateCoreNetwork operation returned by the service.
- See Also:
-
createCoreNetwork
default CreateCoreNetworkResponse createCoreNetwork(Consumer<CreateCoreNetworkRequest.Builder> createCoreNetworkRequest) throws CoreNetworkPolicyException, ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates a core network as part of your global network, and optionally, with a core network policy.
This is a convenience which creates an instance of the
CreateCoreNetworkRequest.Builderavoiding the need to create one manually viaCreateCoreNetworkRequest.builder()- Parameters:
createCoreNetworkRequest- AConsumerthat will call methods onCreateCoreNetworkRequest.Builderto create a request.- Returns:
- Result of the CreateCoreNetwork operation returned by the service.
- See Also:
-
createDevice
default CreateDeviceResponse createDevice(CreateDeviceRequest createDeviceRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.
- Parameters:
createDeviceRequest-- Returns:
- Result of the CreateDevice operation returned by the service.
- See Also:
-
createDevice
default CreateDeviceResponse createDevice(Consumer<CreateDeviceRequest.Builder> createDeviceRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaCreateDeviceRequest.builder()- Parameters:
createDeviceRequest- AConsumerthat will call methods onCreateDeviceRequest.Builderto create a request.- Returns:
- Result of the CreateDevice operation returned by the service.
- See Also:
-
createGlobalNetwork
default CreateGlobalNetworkResponse createGlobalNetwork(CreateGlobalNetworkRequest createGlobalNetworkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates a new, empty global network.
- Parameters:
createGlobalNetworkRequest-- Returns:
- Result of the CreateGlobalNetwork operation returned by the service.
- See Also:
-
createGlobalNetwork
default CreateGlobalNetworkResponse createGlobalNetwork(Consumer<CreateGlobalNetworkRequest.Builder> createGlobalNetworkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates a new, empty global network.
This is a convenience which creates an instance of the
CreateGlobalNetworkRequest.Builderavoiding the need to create one manually viaCreateGlobalNetworkRequest.builder()- Parameters:
createGlobalNetworkRequest- AConsumerthat will call methods onCreateGlobalNetworkRequest.Builderto create a request.- Returns:
- Result of the CreateGlobalNetwork operation returned by the service.
- See Also:
-
createLink
default CreateLinkResponse createLink(CreateLinkRequest createLinkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates a new link for a specified site.
- Parameters:
createLinkRequest-- Returns:
- Result of the CreateLink operation returned by the service.
- See Also:
-
createLink
default CreateLinkResponse createLink(Consumer<CreateLinkRequest.Builder> createLinkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates a new link for a specified site.
This is a convenience which creates an instance of the
CreateLinkRequest.Builderavoiding the need to create one manually viaCreateLinkRequest.builder()- Parameters:
createLinkRequest- AConsumerthat will call methods onCreateLinkRequest.Builderto create a request.- Returns:
- Result of the CreateLink operation returned by the service.
- See Also:
-
createSite
default CreateSiteResponse createSite(CreateSiteRequest createSiteRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates a new site in a global network.
- Parameters:
createSiteRequest-- Returns:
- Result of the CreateSite operation returned by the service.
- See Also:
-
createSite
default CreateSiteResponse createSite(Consumer<CreateSiteRequest.Builder> createSiteRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates a new site in a global network.
This is a convenience which creates an instance of the
CreateSiteRequest.Builderavoiding the need to create one manually viaCreateSiteRequest.builder()- Parameters:
createSiteRequest- AConsumerthat will call methods onCreateSiteRequest.Builderto create a request.- Returns:
- Result of the CreateSite operation returned by the service.
- See Also:
-
createSiteToSiteVpnAttachment
default CreateSiteToSiteVpnAttachmentResponse createSiteToSiteVpnAttachment(CreateSiteToSiteVpnAttachmentRequest createSiteToSiteVpnAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.
- Parameters:
createSiteToSiteVpnAttachmentRequest-- Returns:
- Result of the CreateSiteToSiteVpnAttachment operation returned by the service.
- See Also:
-
createSiteToSiteVpnAttachment
default CreateSiteToSiteVpnAttachmentResponse createSiteToSiteVpnAttachment(Consumer<CreateSiteToSiteVpnAttachmentRequest.Builder> createSiteToSiteVpnAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.
This is a convenience which creates an instance of the
CreateSiteToSiteVpnAttachmentRequest.Builderavoiding the need to create one manually viaCreateSiteToSiteVpnAttachmentRequest.builder()- Parameters:
createSiteToSiteVpnAttachmentRequest- AConsumerthat will call methods onCreateSiteToSiteVpnAttachmentRequest.Builderto create a request.- Returns:
- Result of the CreateSiteToSiteVpnAttachment operation returned by the service.
- See Also:
-
createTransitGatewayPeering
default CreateTransitGatewayPeeringResponse createTransitGatewayPeering(CreateTransitGatewayPeeringRequest createTransitGatewayPeeringRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates a transit gateway peering connection.
- Parameters:
createTransitGatewayPeeringRequest-- Returns:
- Result of the CreateTransitGatewayPeering operation returned by the service.
- See Also:
-
createTransitGatewayPeering
default CreateTransitGatewayPeeringResponse createTransitGatewayPeering(Consumer<CreateTransitGatewayPeeringRequest.Builder> createTransitGatewayPeeringRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates a transit gateway peering connection.
This is a convenience which creates an instance of the
CreateTransitGatewayPeeringRequest.Builderavoiding the need to create one manually viaCreateTransitGatewayPeeringRequest.builder()- Parameters:
createTransitGatewayPeeringRequest- AConsumerthat will call methods onCreateTransitGatewayPeeringRequest.Builderto create a request.- Returns:
- Result of the CreateTransitGatewayPeering operation returned by the service.
- See Also:
-
createTransitGatewayRouteTableAttachment
default CreateTransitGatewayRouteTableAttachmentResponse createTransitGatewayRouteTableAttachment(CreateTransitGatewayRouteTableAttachmentRequest createTransitGatewayRouteTableAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates a transit gateway route table attachment.
- Parameters:
createTransitGatewayRouteTableAttachmentRequest-- Returns:
- Result of the CreateTransitGatewayRouteTableAttachment operation returned by the service.
- See Also:
-
createTransitGatewayRouteTableAttachment
default CreateTransitGatewayRouteTableAttachmentResponse createTransitGatewayRouteTableAttachment(Consumer<CreateTransitGatewayRouteTableAttachmentRequest.Builder> createTransitGatewayRouteTableAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates a transit gateway route table attachment.
This is a convenience which creates an instance of the
CreateTransitGatewayRouteTableAttachmentRequest.Builderavoiding the need to create one manually viaCreateTransitGatewayRouteTableAttachmentRequest.builder()- Parameters:
createTransitGatewayRouteTableAttachmentRequest- AConsumerthat will call methods onCreateTransitGatewayRouteTableAttachmentRequest.Builderto create a request.- Returns:
- Result of the CreateTransitGatewayRouteTableAttachment operation returned by the service.
- See Also:
-
createVpcAttachment
default CreateVpcAttachmentResponse createVpcAttachment(CreateVpcAttachmentRequest createVpcAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates a VPC attachment on an edge location of a core network.
- Parameters:
createVpcAttachmentRequest-- Returns:
- Result of the CreateVpcAttachment operation returned by the service.
- See Also:
-
createVpcAttachment
default CreateVpcAttachmentResponse createVpcAttachment(Consumer<CreateVpcAttachmentRequest.Builder> createVpcAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates a VPC attachment on an edge location of a core network.
This is a convenience which creates an instance of the
CreateVpcAttachmentRequest.Builderavoiding the need to create one manually viaCreateVpcAttachmentRequest.builder()- Parameters:
createVpcAttachmentRequest- AConsumerthat will call methods onCreateVpcAttachmentRequest.Builderto create a request.- Returns:
- Result of the CreateVpcAttachment operation returned by the service.
- See Also:
-
deleteAttachment
default DeleteAttachmentResponse deleteAttachment(DeleteAttachmentRequest deleteAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Deletes an attachment. Supports all attachment types.
- Parameters:
deleteAttachmentRequest-- Returns:
- Result of the DeleteAttachment operation returned by the service.
- See Also:
-
deleteAttachment
default DeleteAttachmentResponse deleteAttachment(Consumer<DeleteAttachmentRequest.Builder> deleteAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Deletes an attachment. Supports all attachment types.
This is a convenience which creates an instance of the
DeleteAttachmentRequest.Builderavoiding the need to create one manually viaDeleteAttachmentRequest.builder()- Parameters:
deleteAttachmentRequest- AConsumerthat will call methods onDeleteAttachmentRequest.Builderto create a request.- Returns:
- Result of the DeleteAttachment operation returned by the service.
- See Also:
-
deleteConnectPeer
default DeleteConnectPeerResponse deleteConnectPeer(DeleteConnectPeerRequest deleteConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Deletes a Connect peer.
- Parameters:
deleteConnectPeerRequest-- Returns:
- Result of the DeleteConnectPeer operation returned by the service.
- See Also:
-
deleteConnectPeer
default DeleteConnectPeerResponse deleteConnectPeer(Consumer<DeleteConnectPeerRequest.Builder> deleteConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Deletes a Connect peer.
This is a convenience which creates an instance of the
DeleteConnectPeerRequest.Builderavoiding the need to create one manually viaDeleteConnectPeerRequest.builder()- Parameters:
deleteConnectPeerRequest- AConsumerthat will call methods onDeleteConnectPeerRequest.Builderto create a request.- Returns:
- Result of the DeleteConnectPeer operation returned by the service.
- See Also:
-
deleteConnection
default DeleteConnectionResponse deleteConnection(DeleteConnectionRequest deleteConnectionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Deletes the specified connection in your global network.
- Parameters:
deleteConnectionRequest-- Returns:
- Result of the DeleteConnection operation returned by the service.
- See Also:
-
deleteConnection
default DeleteConnectionResponse deleteConnection(Consumer<DeleteConnectionRequest.Builder> deleteConnectionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Deletes the specified connection in your global network.
This is a convenience which creates an instance of the
DeleteConnectionRequest.Builderavoiding the need to create one manually viaDeleteConnectionRequest.builder()- Parameters:
deleteConnectionRequest- AConsumerthat will call methods onDeleteConnectionRequest.Builderto create a request.- Returns:
- Result of the DeleteConnection operation returned by the service.
- See Also:
-
deleteCoreNetwork
default DeleteCoreNetworkResponse deleteCoreNetwork(DeleteCoreNetworkRequest deleteCoreNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Deletes a core network along with all core network policies. This can only be done if there are no attachments on a core network.
- Parameters:
deleteCoreNetworkRequest-- Returns:
- Result of the DeleteCoreNetwork operation returned by the service.
- See Also:
-
deleteCoreNetwork
default DeleteCoreNetworkResponse deleteCoreNetwork(Consumer<DeleteCoreNetworkRequest.Builder> deleteCoreNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Deletes a core network along with all core network policies. This can only be done if there are no attachments on a core network.
This is a convenience which creates an instance of the
DeleteCoreNetworkRequest.Builderavoiding the need to create one manually viaDeleteCoreNetworkRequest.builder()- Parameters:
deleteCoreNetworkRequest- AConsumerthat will call methods onDeleteCoreNetworkRequest.Builderto create a request.- Returns:
- Result of the DeleteCoreNetwork operation returned by the service.
- See Also:
-
deleteCoreNetworkPolicyVersion
default DeleteCoreNetworkPolicyVersionResponse deleteCoreNetworkPolicyVersion(DeleteCoreNetworkPolicyVersionRequest deleteCoreNetworkPolicyVersionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, NetworkManagerException Deletes a policy version from a core network. You can't delete the current LIVE policy.
- Parameters:
deleteCoreNetworkPolicyVersionRequest-- Returns:
- Result of the DeleteCoreNetworkPolicyVersion operation returned by the service.
- See Also:
-
deleteCoreNetworkPolicyVersion
default DeleteCoreNetworkPolicyVersionResponse deleteCoreNetworkPolicyVersion(Consumer<DeleteCoreNetworkPolicyVersionRequest.Builder> deleteCoreNetworkPolicyVersionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, NetworkManagerException Deletes a policy version from a core network. You can't delete the current LIVE policy.
This is a convenience which creates an instance of the
DeleteCoreNetworkPolicyVersionRequest.Builderavoiding the need to create one manually viaDeleteCoreNetworkPolicyVersionRequest.builder()- Parameters:
deleteCoreNetworkPolicyVersionRequest- AConsumerthat will call methods onDeleteCoreNetworkPolicyVersionRequest.Builderto create a request.- Returns:
- Result of the DeleteCoreNetworkPolicyVersion operation returned by the service.
- See Also:
-
deleteDevice
default DeleteDeviceResponse deleteDevice(DeleteDeviceRequest deleteDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Deletes an existing device. You must first disassociate the device from any links and customer gateways.
- Parameters:
deleteDeviceRequest-- Returns:
- Result of the DeleteDevice operation returned by the service.
- See Also:
-
deleteDevice
default DeleteDeviceResponse deleteDevice(Consumer<DeleteDeviceRequest.Builder> deleteDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaDeleteDeviceRequest.builder()- Parameters:
deleteDeviceRequest- AConsumerthat will call methods onDeleteDeviceRequest.Builderto create a request.- Returns:
- Result of the DeleteDevice operation returned by the service.
- See Also:
-
deleteGlobalNetwork
default DeleteGlobalNetworkResponse deleteGlobalNetwork(DeleteGlobalNetworkRequest deleteGlobalNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Deletes an existing global network. You must first delete all global network objects (devices, links, and sites), deregister all transit gateways, and delete any core networks.
- Parameters:
deleteGlobalNetworkRequest-- Returns:
- Result of the DeleteGlobalNetwork operation returned by the service.
- See Also:
-
deleteGlobalNetwork
default DeleteGlobalNetworkResponse deleteGlobalNetwork(Consumer<DeleteGlobalNetworkRequest.Builder> deleteGlobalNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Deletes an existing global network. You must first delete all global network objects (devices, links, and sites), deregister all transit gateways, and delete any core networks.
This is a convenience which creates an instance of the
DeleteGlobalNetworkRequest.Builderavoiding the need to create one manually viaDeleteGlobalNetworkRequest.builder()- Parameters:
deleteGlobalNetworkRequest- AConsumerthat will call methods onDeleteGlobalNetworkRequest.Builderto create a request.- Returns:
- Result of the DeleteGlobalNetwork operation returned by the service.
- See Also:
-
deleteLink
default DeleteLinkResponse deleteLink(DeleteLinkRequest deleteLinkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Deletes an existing link. You must first disassociate the link from any devices and customer gateways.
- Parameters:
deleteLinkRequest-- Returns:
- Result of the DeleteLink operation returned by the service.
- See Also:
-
deleteLink
default DeleteLinkResponse deleteLink(Consumer<DeleteLinkRequest.Builder> deleteLinkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaDeleteLinkRequest.builder()- Parameters:
deleteLinkRequest- AConsumerthat will call methods onDeleteLinkRequest.Builderto create a request.- Returns:
- Result of the DeleteLink operation returned by the service.
- See Also:
-
deletePeering
default DeletePeeringResponse deletePeering(DeletePeeringRequest deletePeeringRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Deletes an existing peering connection.
- Parameters:
deletePeeringRequest-- Returns:
- Result of the DeletePeering operation returned by the service.
- See Also:
-
deletePeering
default DeletePeeringResponse deletePeering(Consumer<DeletePeeringRequest.Builder> deletePeeringRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Deletes an existing peering connection.
This is a convenience which creates an instance of the
DeletePeeringRequest.Builderavoiding the need to create one manually viaDeletePeeringRequest.builder()- Parameters:
deletePeeringRequest- AConsumerthat will call methods onDeletePeeringRequest.Builderto create a request.- Returns:
- Result of the DeletePeering operation returned by the service.
- See Also:
-
deleteResourcePolicy
default DeleteResourcePolicyResponse deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) throws ValidationException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Deletes a resource policy for the specified resource. This revokes the access of the principals specified in the resource policy.
- Parameters:
deleteResourcePolicyRequest-- Returns:
- Result of the DeleteResourcePolicy operation returned by the service.
- See Also:
-
deleteResourcePolicy
default DeleteResourcePolicyResponse deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) throws ValidationException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Deletes a resource policy for the specified resource. This revokes the access of the principals specified in the resource policy.
This is a convenience which creates an instance of the
DeleteResourcePolicyRequest.Builderavoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()- Parameters:
deleteResourcePolicyRequest- AConsumerthat will call methods onDeleteResourcePolicyRequest.Builderto create a request.- Returns:
- Result of the DeleteResourcePolicy operation returned by the service.
- See Also:
-
deleteSite
default DeleteSiteResponse deleteSite(DeleteSiteRequest deleteSiteRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Deletes an existing site. The site cannot be associated with any device or link.
- Parameters:
deleteSiteRequest-- Returns:
- Result of the DeleteSite operation returned by the service.
- See Also:
-
deleteSite
default DeleteSiteResponse deleteSite(Consumer<DeleteSiteRequest.Builder> deleteSiteRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaDeleteSiteRequest.builder()- Parameters:
deleteSiteRequest- AConsumerthat will call methods onDeleteSiteRequest.Builderto create a request.- Returns:
- Result of the DeleteSite operation returned by the service.
- See Also:
-
deregisterTransitGateway
default DeregisterTransitGatewayResponse deregisterTransitGateway(DeregisterTransitGatewayRequest deregisterTransitGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.
- Parameters:
deregisterTransitGatewayRequest-- Returns:
- Result of the DeregisterTransitGateway operation returned by the service.
- See Also:
-
deregisterTransitGateway
default DeregisterTransitGatewayResponse deregisterTransitGateway(Consumer<DeregisterTransitGatewayRequest.Builder> deregisterTransitGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaDeregisterTransitGatewayRequest.builder()- Parameters:
deregisterTransitGatewayRequest- AConsumerthat will call methods onDeregisterTransitGatewayRequest.Builderto create a request.- Returns:
- Result of the DeregisterTransitGateway operation returned by the service.
- See Also:
-
describeGlobalNetworks
default DescribeGlobalNetworksResponse describeGlobalNetworks(DescribeGlobalNetworksRequest describeGlobalNetworksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.- Parameters:
describeGlobalNetworksRequest-- Returns:
- Result of the DescribeGlobalNetworks operation returned by the service.
- See Also:
-
describeGlobalNetworks
default DescribeGlobalNetworksResponse describeGlobalNetworks(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaDescribeGlobalNetworksRequest.builder()- Parameters:
describeGlobalNetworksRequest- AConsumerthat will call methods onDescribeGlobalNetworksRequest.Builderto create a request.- Returns:
- Result of the DescribeGlobalNetworks operation returned by the service.
- See Also:
-
describeGlobalNetworksPaginator
default DescribeGlobalNetworksIterable describeGlobalNetworksPaginator(DescribeGlobalNetworksRequest describeGlobalNetworksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksIterable responses = client.describeGlobalNetworksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksIterable responses = client .describeGlobalNetworksPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksIterable responses = client.describeGlobalNetworksPaginator(request); responses.iterator().forEachRemaining(....);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.- Parameters:
describeGlobalNetworksRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeGlobalNetworksPaginator
default DescribeGlobalNetworksIterable describeGlobalNetworksPaginator(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksIterable responses = client.describeGlobalNetworksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksIterable responses = client .describeGlobalNetworksPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksIterable responses = client.describeGlobalNetworksPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaDescribeGlobalNetworksRequest.builder()- Parameters:
describeGlobalNetworksRequest- AConsumerthat will call methods onDescribeGlobalNetworksRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
disassociateConnectPeer
default DisassociateConnectPeerResponse disassociateConnectPeer(DisassociateConnectPeerRequest disassociateConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Disassociates a core network Connect peer from a device and a link.
- Parameters:
disassociateConnectPeerRequest-- Returns:
- Result of the DisassociateConnectPeer operation returned by the service.
- See Also:
-
disassociateConnectPeer
default DisassociateConnectPeerResponse disassociateConnectPeer(Consumer<DisassociateConnectPeerRequest.Builder> disassociateConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Disassociates a core network Connect peer from a device and a link.
This is a convenience which creates an instance of the
DisassociateConnectPeerRequest.Builderavoiding the need to create one manually viaDisassociateConnectPeerRequest.builder()- Parameters:
disassociateConnectPeerRequest- AConsumerthat will call methods onDisassociateConnectPeerRequest.Builderto create a request.- Returns:
- Result of the DisassociateConnectPeer operation returned by the service.
- See Also:
-
disassociateCustomerGateway
default DisassociateCustomerGatewayResponse disassociateCustomerGateway(DisassociateCustomerGatewayRequest disassociateCustomerGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Disassociates a customer gateway from a device and a link.
- Parameters:
disassociateCustomerGatewayRequest-- Returns:
- Result of the DisassociateCustomerGateway operation returned by the service.
- See Also:
-
disassociateCustomerGateway
default DisassociateCustomerGatewayResponse disassociateCustomerGateway(Consumer<DisassociateCustomerGatewayRequest.Builder> disassociateCustomerGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Disassociates a customer gateway from a device and a link.
This is a convenience which creates an instance of the
DisassociateCustomerGatewayRequest.Builderavoiding the need to create one manually viaDisassociateCustomerGatewayRequest.builder()- Parameters:
disassociateCustomerGatewayRequest- AConsumerthat will call methods onDisassociateCustomerGatewayRequest.Builderto create a request.- Returns:
- Result of the DisassociateCustomerGateway operation returned by the service.
- See Also:
-
disassociateLink
default DisassociateLinkResponse disassociateLink(DisassociateLinkRequest disassociateLinkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.
- Parameters:
disassociateLinkRequest-- Returns:
- Result of the DisassociateLink operation returned by the service.
- See Also:
-
disassociateLink
default DisassociateLinkResponse disassociateLink(Consumer<DisassociateLinkRequest.Builder> disassociateLinkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaDisassociateLinkRequest.builder()- Parameters:
disassociateLinkRequest- AConsumerthat will call methods onDisassociateLinkRequest.Builderto create a request.- Returns:
- Result of the DisassociateLink operation returned by the service.
- See Also:
-
disassociateTransitGatewayConnectPeer
default DisassociateTransitGatewayConnectPeerResponse disassociateTransitGatewayConnectPeer(DisassociateTransitGatewayConnectPeerRequest disassociateTransitGatewayConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Disassociates a transit gateway Connect peer from a device and link.
- Parameters:
disassociateTransitGatewayConnectPeerRequest-- Returns:
- Result of the DisassociateTransitGatewayConnectPeer operation returned by the service.
- See Also:
-
disassociateTransitGatewayConnectPeer
default DisassociateTransitGatewayConnectPeerResponse disassociateTransitGatewayConnectPeer(Consumer<DisassociateTransitGatewayConnectPeerRequest.Builder> disassociateTransitGatewayConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Disassociates a transit gateway Connect peer from a device and link.
This is a convenience which creates an instance of the
DisassociateTransitGatewayConnectPeerRequest.Builderavoiding the need to create one manually viaDisassociateTransitGatewayConnectPeerRequest.builder()- Parameters:
disassociateTransitGatewayConnectPeerRequest- AConsumerthat will call methods onDisassociateTransitGatewayConnectPeerRequest.Builderto create a request.- Returns:
- Result of the DisassociateTransitGatewayConnectPeer operation returned by the service.
- See Also:
-
executeCoreNetworkChangeSet
default ExecuteCoreNetworkChangeSetResponse executeCoreNetworkChangeSet(ExecuteCoreNetworkChangeSetRequest executeCoreNetworkChangeSetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, NetworkManagerException Executes a change set on your core network. Deploys changes globally based on the policy submitted..
- Parameters:
executeCoreNetworkChangeSetRequest-- Returns:
- Result of the ExecuteCoreNetworkChangeSet operation returned by the service.
- See Also:
-
executeCoreNetworkChangeSet
default ExecuteCoreNetworkChangeSetResponse executeCoreNetworkChangeSet(Consumer<ExecuteCoreNetworkChangeSetRequest.Builder> executeCoreNetworkChangeSetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, NetworkManagerException Executes a change set on your core network. Deploys changes globally based on the policy submitted..
This is a convenience which creates an instance of the
ExecuteCoreNetworkChangeSetRequest.Builderavoiding the need to create one manually viaExecuteCoreNetworkChangeSetRequest.builder()- Parameters:
executeCoreNetworkChangeSetRequest- AConsumerthat will call methods onExecuteCoreNetworkChangeSetRequest.Builderto create a request.- Returns:
- Result of the ExecuteCoreNetworkChangeSet operation returned by the service.
- See Also:
-
getConnectAttachment
default GetConnectAttachmentResponse getConnectAttachment(GetConnectAttachmentRequest getConnectAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about a core network Connect attachment.
- Parameters:
getConnectAttachmentRequest-- Returns:
- Result of the GetConnectAttachment operation returned by the service.
- See Also:
-
getConnectAttachment
default GetConnectAttachmentResponse getConnectAttachment(Consumer<GetConnectAttachmentRequest.Builder> getConnectAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about a core network Connect attachment.
This is a convenience which creates an instance of the
GetConnectAttachmentRequest.Builderavoiding the need to create one manually viaGetConnectAttachmentRequest.builder()- Parameters:
getConnectAttachmentRequest- AConsumerthat will call methods onGetConnectAttachmentRequest.Builderto create a request.- Returns:
- Result of the GetConnectAttachment operation returned by the service.
- See Also:
-
getConnectPeer
default GetConnectPeerResponse getConnectPeer(GetConnectPeerRequest getConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about a core network Connect peer.
- Parameters:
getConnectPeerRequest-- Returns:
- Result of the GetConnectPeer operation returned by the service.
- See Also:
-
getConnectPeer
default GetConnectPeerResponse getConnectPeer(Consumer<GetConnectPeerRequest.Builder> getConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about a core network Connect peer.
This is a convenience which creates an instance of the
GetConnectPeerRequest.Builderavoiding the need to create one manually viaGetConnectPeerRequest.builder()- Parameters:
getConnectPeerRequest- AConsumerthat will call methods onGetConnectPeerRequest.Builderto create a request.- Returns:
- Result of the GetConnectPeer operation returned by the service.
- See Also:
-
getConnectPeerAssociations
default GetConnectPeerAssociationsResponse getConnectPeerAssociations(GetConnectPeerAssociationsRequest getConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about a core network Connect peer associations.
- Parameters:
getConnectPeerAssociationsRequest-- Returns:
- Result of the GetConnectPeerAssociations operation returned by the service.
- See Also:
-
getConnectPeerAssociations
default GetConnectPeerAssociationsResponse getConnectPeerAssociations(Consumer<GetConnectPeerAssociationsRequest.Builder> getConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about a core network Connect peer associations.
This is a convenience which creates an instance of the
GetConnectPeerAssociationsRequest.Builderavoiding the need to create one manually viaGetConnectPeerAssociationsRequest.builder()- Parameters:
getConnectPeerAssociationsRequest- AConsumerthat will call methods onGetConnectPeerAssociationsRequest.Builderto create a request.- Returns:
- Result of the GetConnectPeerAssociations operation returned by the service.
- See Also:
-
getConnectPeerAssociationsPaginator
default GetConnectPeerAssociationsIterable getConnectPeerAssociationsPaginator(GetConnectPeerAssociationsRequest getConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsIterable responses = client.getConnectPeerAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsIterable responses = client .getConnectPeerAssociationsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsIterable responses = client.getConnectPeerAssociationsPaginator(request); responses.iterator().forEachRemaining(....);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
getConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest)operation.- Parameters:
getConnectPeerAssociationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getConnectPeerAssociationsPaginator
default GetConnectPeerAssociationsIterable getConnectPeerAssociationsPaginator(Consumer<GetConnectPeerAssociationsRequest.Builder> getConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsIterable responses = client.getConnectPeerAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsIterable responses = client .getConnectPeerAssociationsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsIterable responses = client.getConnectPeerAssociationsPaginator(request); responses.iterator().forEachRemaining(....);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
getConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest)operation.
This is a convenience which creates an instance of the
GetConnectPeerAssociationsRequest.Builderavoiding the need to create one manually viaGetConnectPeerAssociationsRequest.builder()- Parameters:
getConnectPeerAssociationsRequest- AConsumerthat will call methods onGetConnectPeerAssociationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getConnections
default GetConnectionsResponse getConnections(GetConnectionsRequest getConnectionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets information about one or more of your connections in a global network.
- Parameters:
getConnectionsRequest-- Returns:
- Result of the GetConnections operation returned by the service.
- See Also:
-
getConnections
default GetConnectionsResponse getConnections(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets information about one or more of your connections in a global network.
This is a convenience which creates an instance of the
GetConnectionsRequest.Builderavoiding the need to create one manually viaGetConnectionsRequest.builder()- Parameters:
getConnectionsRequest- AConsumerthat will call methods onGetConnectionsRequest.Builderto create a request.- Returns:
- Result of the GetConnections operation returned by the service.
- See Also:
-
getConnectionsPaginator
default GetConnectionsIterable getConnectionsPaginator(GetConnectionsRequest getConnectionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetConnectionsIterable responses = client.getConnectionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsIterable responses = client .getConnectionsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetConnectionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetConnectionsIterable responses = client.getConnectionsPaginator(request); responses.iterator().forEachRemaining(....);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.- Parameters:
getConnectionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getConnectionsPaginator
default GetConnectionsIterable getConnectionsPaginator(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetConnectionsIterable responses = client.getConnectionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsIterable responses = client .getConnectionsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetConnectionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetConnectionsIterable responses = client.getConnectionsPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaGetConnectionsRequest.builder()- Parameters:
getConnectionsRequest- AConsumerthat will call methods onGetConnectionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getCoreNetwork
default GetCoreNetworkResponse getCoreNetwork(GetCoreNetworkRequest getCoreNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about the LIVE policy for a core network.
- Parameters:
getCoreNetworkRequest-- Returns:
- Result of the GetCoreNetwork operation returned by the service.
- See Also:
-
getCoreNetwork
default GetCoreNetworkResponse getCoreNetwork(Consumer<GetCoreNetworkRequest.Builder> getCoreNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about the LIVE policy for a core network.
This is a convenience which creates an instance of the
GetCoreNetworkRequest.Builderavoiding the need to create one manually viaGetCoreNetworkRequest.builder()- Parameters:
getCoreNetworkRequest- AConsumerthat will call methods onGetCoreNetworkRequest.Builderto create a request.- Returns:
- Result of the GetCoreNetwork operation returned by the service.
- See Also:
-
getCoreNetworkChangeEvents
default GetCoreNetworkChangeEventsResponse getCoreNetworkChangeEvents(GetCoreNetworkChangeEventsRequest getCoreNetworkChangeEventsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about a core network change event.
- Parameters:
getCoreNetworkChangeEventsRequest-- Returns:
- Result of the GetCoreNetworkChangeEvents operation returned by the service.
- See Also:
-
getCoreNetworkChangeEvents
default GetCoreNetworkChangeEventsResponse getCoreNetworkChangeEvents(Consumer<GetCoreNetworkChangeEventsRequest.Builder> getCoreNetworkChangeEventsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about a core network change event.
This is a convenience which creates an instance of the
GetCoreNetworkChangeEventsRequest.Builderavoiding the need to create one manually viaGetCoreNetworkChangeEventsRequest.builder()- Parameters:
getCoreNetworkChangeEventsRequest- AConsumerthat will call methods onGetCoreNetworkChangeEventsRequest.Builderto create a request.- Returns:
- Result of the GetCoreNetworkChangeEvents operation returned by the service.
- See Also:
-
getCoreNetworkChangeEventsPaginator
default GetCoreNetworkChangeEventsIterable getCoreNetworkChangeEventsPaginator(GetCoreNetworkChangeEventsRequest getCoreNetworkChangeEventsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsIterable responses = client.getCoreNetworkChangeEventsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsIterable responses = client .getCoreNetworkChangeEventsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsIterable responses = client.getCoreNetworkChangeEventsPaginator(request); responses.iterator().forEachRemaining(....);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
getCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest)operation.- Parameters:
getCoreNetworkChangeEventsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getCoreNetworkChangeEventsPaginator
default GetCoreNetworkChangeEventsIterable getCoreNetworkChangeEventsPaginator(Consumer<GetCoreNetworkChangeEventsRequest.Builder> getCoreNetworkChangeEventsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsIterable responses = client.getCoreNetworkChangeEventsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsIterable responses = client .getCoreNetworkChangeEventsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsIterable responses = client.getCoreNetworkChangeEventsPaginator(request); responses.iterator().forEachRemaining(....);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
getCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest)operation.
This is a convenience which creates an instance of the
GetCoreNetworkChangeEventsRequest.Builderavoiding the need to create one manually viaGetCoreNetworkChangeEventsRequest.builder()- Parameters:
getCoreNetworkChangeEventsRequest- AConsumerthat will call methods onGetCoreNetworkChangeEventsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getCoreNetworkChangeSet
default GetCoreNetworkChangeSetResponse getCoreNetworkChangeSet(GetCoreNetworkChangeSetRequest getCoreNetworkChangeSetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns a change set between the LIVE core network policy and a submitted policy.
- Parameters:
getCoreNetworkChangeSetRequest-- Returns:
- Result of the GetCoreNetworkChangeSet operation returned by the service.
- See Also:
-
getCoreNetworkChangeSet
default GetCoreNetworkChangeSetResponse getCoreNetworkChangeSet(Consumer<GetCoreNetworkChangeSetRequest.Builder> getCoreNetworkChangeSetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns a change set between the LIVE core network policy and a submitted policy.
This is a convenience which creates an instance of the
GetCoreNetworkChangeSetRequest.Builderavoiding the need to create one manually viaGetCoreNetworkChangeSetRequest.builder()- Parameters:
getCoreNetworkChangeSetRequest- AConsumerthat will call methods onGetCoreNetworkChangeSetRequest.Builderto create a request.- Returns:
- Result of the GetCoreNetworkChangeSet operation returned by the service.
- See Also:
-
getCoreNetworkChangeSetPaginator
default GetCoreNetworkChangeSetIterable getCoreNetworkChangeSetPaginator(GetCoreNetworkChangeSetRequest getCoreNetworkChangeSetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetIterable responses = client.getCoreNetworkChangeSetPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetIterable responses = client .getCoreNetworkChangeSetPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetIterable responses = client.getCoreNetworkChangeSetPaginator(request); responses.iterator().forEachRemaining(....);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
getCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)operation.- Parameters:
getCoreNetworkChangeSetRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getCoreNetworkChangeSetPaginator
default GetCoreNetworkChangeSetIterable getCoreNetworkChangeSetPaginator(Consumer<GetCoreNetworkChangeSetRequest.Builder> getCoreNetworkChangeSetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetIterable responses = client.getCoreNetworkChangeSetPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetIterable responses = client .getCoreNetworkChangeSetPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetIterable responses = client.getCoreNetworkChangeSetPaginator(request); responses.iterator().forEachRemaining(....);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
getCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)operation.
This is a convenience which creates an instance of the
GetCoreNetworkChangeSetRequest.Builderavoiding the need to create one manually viaGetCoreNetworkChangeSetRequest.builder()- Parameters:
getCoreNetworkChangeSetRequest- AConsumerthat will call methods onGetCoreNetworkChangeSetRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getCoreNetworkPolicy
default GetCoreNetworkPolicyResponse getCoreNetworkPolicy(GetCoreNetworkPolicyRequest getCoreNetworkPolicyRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns details about a core network policy. You can get details about your current live policy or any previous policy version.
- Parameters:
getCoreNetworkPolicyRequest-- Returns:
- Result of the GetCoreNetworkPolicy operation returned by the service.
- See Also:
-
getCoreNetworkPolicy
default GetCoreNetworkPolicyResponse getCoreNetworkPolicy(Consumer<GetCoreNetworkPolicyRequest.Builder> getCoreNetworkPolicyRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns details about a core network policy. You can get details about your current live policy or any previous policy version.
This is a convenience which creates an instance of the
GetCoreNetworkPolicyRequest.Builderavoiding the need to create one manually viaGetCoreNetworkPolicyRequest.builder()- Parameters:
getCoreNetworkPolicyRequest- AConsumerthat will call methods onGetCoreNetworkPolicyRequest.Builderto create a request.- Returns:
- Result of the GetCoreNetworkPolicy operation returned by the service.
- See Also:
-
getCustomerGatewayAssociations
default GetCustomerGatewayAssociationsResponse getCustomerGatewayAssociations(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets the association information for customer gateways that are associated with devices and links in your global network.
- Parameters:
getCustomerGatewayAssociationsRequest-- Returns:
- Result of the GetCustomerGatewayAssociations operation returned by the service.
- See Also:
-
getCustomerGatewayAssociations
default GetCustomerGatewayAssociationsResponse getCustomerGatewayAssociations(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaGetCustomerGatewayAssociationsRequest.builder()- Parameters:
getCustomerGatewayAssociationsRequest- AConsumerthat will call methods onGetCustomerGatewayAssociationsRequest.Builderto create a request.- Returns:
- Result of the GetCustomerGatewayAssociations operation returned by the service.
- See Also:
-
getCustomerGatewayAssociationsPaginator
default GetCustomerGatewayAssociationsIterable getCustomerGatewayAssociationsPaginator(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsIterable responses = client.getCustomerGatewayAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsIterable responses = client .getCustomerGatewayAssociationsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsIterable responses = client.getCustomerGatewayAssociationsPaginator(request); responses.iterator().forEachRemaining(....);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.- Parameters:
getCustomerGatewayAssociationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getCustomerGatewayAssociationsPaginator
default GetCustomerGatewayAssociationsIterable getCustomerGatewayAssociationsPaginator(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsIterable responses = client.getCustomerGatewayAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsIterable responses = client .getCustomerGatewayAssociationsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsIterable responses = client.getCustomerGatewayAssociationsPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaGetCustomerGatewayAssociationsRequest.builder()- Parameters:
getCustomerGatewayAssociationsRequest- AConsumerthat will call methods onGetCustomerGatewayAssociationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getDevices
default GetDevicesResponse getDevices(GetDevicesRequest getDevicesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets information about one or more of your devices in a global network.
- Parameters:
getDevicesRequest-- Returns:
- Result of the GetDevices operation returned by the service.
- See Also:
-
getDevices
default GetDevicesResponse getDevices(Consumer<GetDevicesRequest.Builder> getDevicesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets information about one or more of your devices in a global network.
This is a convenience which creates an instance of the
GetDevicesRequest.Builderavoiding the need to create one manually viaGetDevicesRequest.builder()- Parameters:
getDevicesRequest- AConsumerthat will call methods onGetDevicesRequest.Builderto create a request.- Returns:
- Result of the GetDevices operation returned by the service.
- See Also:
-
getDevicesPaginator
default GetDevicesIterable getDevicesPaginator(GetDevicesRequest getDevicesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetDevicesIterable responses = client.getDevicesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetDevicesIterable responses = client.getDevicesPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetDevicesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetDevicesIterable responses = client.getDevicesPaginator(request); responses.iterator().forEachRemaining(....);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.- Parameters:
getDevicesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getDevicesPaginator
default GetDevicesIterable getDevicesPaginator(Consumer<GetDevicesRequest.Builder> getDevicesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetDevicesIterable responses = client.getDevicesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetDevicesIterable responses = client.getDevicesPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetDevicesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetDevicesIterable responses = client.getDevicesPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaGetDevicesRequest.builder()- Parameters:
getDevicesRequest- AConsumerthat will call methods onGetDevicesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getLinkAssociations
default GetLinkAssociationsResponse getLinkAssociations(GetLinkAssociationsRequest getLinkAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.
- Parameters:
getLinkAssociationsRequest-- Returns:
- Result of the GetLinkAssociations operation returned by the service.
- See Also:
-
getLinkAssociations
default GetLinkAssociationsResponse getLinkAssociations(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaGetLinkAssociationsRequest.builder()- Parameters:
getLinkAssociationsRequest- AConsumerthat will call methods onGetLinkAssociationsRequest.Builderto create a request.- Returns:
- Result of the GetLinkAssociations operation returned by the service.
- See Also:
-
getLinkAssociationsPaginator
default GetLinkAssociationsIterable getLinkAssociationsPaginator(GetLinkAssociationsRequest getLinkAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsIterable responses = client.getLinkAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsIterable responses = client .getLinkAssociationsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsIterable responses = client.getLinkAssociationsPaginator(request); responses.iterator().forEachRemaining(....);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.- Parameters:
getLinkAssociationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getLinkAssociationsPaginator
default GetLinkAssociationsIterable getLinkAssociationsPaginator(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsIterable responses = client.getLinkAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsIterable responses = client .getLinkAssociationsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsIterable responses = client.getLinkAssociationsPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaGetLinkAssociationsRequest.builder()- Parameters:
getLinkAssociationsRequest- AConsumerthat will call methods onGetLinkAssociationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getLinks
default GetLinksResponse getLinks(GetLinksRequest getLinksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.
- Parameters:
getLinksRequest-- Returns:
- Result of the GetLinks operation returned by the service.
- See Also:
-
getLinks
default GetLinksResponse getLinks(Consumer<GetLinksRequest.Builder> getLinksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaGetLinksRequest.builder()- Parameters:
getLinksRequest- AConsumerthat will call methods onGetLinksRequest.Builderto create a request.- Returns:
- Result of the GetLinks operation returned by the service.
- See Also:
-
getLinksPaginator
default GetLinksIterable getLinksPaginator(GetLinksRequest getLinksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetLinksIterable responses = client.getLinksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetLinksIterable responses = client.getLinksPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetLinksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetLinksIterable responses = client.getLinksPaginator(request); responses.iterator().forEachRemaining(....);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.- Parameters:
getLinksRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getLinksPaginator
default GetLinksIterable getLinksPaginator(Consumer<GetLinksRequest.Builder> getLinksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetLinksIterable responses = client.getLinksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetLinksIterable responses = client.getLinksPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetLinksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetLinksIterable responses = client.getLinksPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaGetLinksRequest.builder()- Parameters:
getLinksRequest- AConsumerthat will call methods onGetLinksRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getNetworkResourceCounts
default GetNetworkResourceCountsResponse getNetworkResourceCounts(GetNetworkResourceCountsRequest getNetworkResourceCountsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets the count of network resources, by resource type, for the specified global network.
- Parameters:
getNetworkResourceCountsRequest-- Returns:
- Result of the GetNetworkResourceCounts operation returned by the service.
- See Also:
-
getNetworkResourceCounts
default GetNetworkResourceCountsResponse getNetworkResourceCounts(Consumer<GetNetworkResourceCountsRequest.Builder> getNetworkResourceCountsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets the count of network resources, by resource type, for the specified global network.
This is a convenience which creates an instance of the
GetNetworkResourceCountsRequest.Builderavoiding the need to create one manually viaGetNetworkResourceCountsRequest.builder()- Parameters:
getNetworkResourceCountsRequest- AConsumerthat will call methods onGetNetworkResourceCountsRequest.Builderto create a request.- Returns:
- Result of the GetNetworkResourceCounts operation returned by the service.
- See Also:
-
getNetworkResourceCountsPaginator
default GetNetworkResourceCountsIterable getNetworkResourceCountsPaginator(GetNetworkResourceCountsRequest getNetworkResourceCountsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsIterable responses = client.getNetworkResourceCountsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsIterable responses = client .getNetworkResourceCountsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsIterable responses = client.getNetworkResourceCountsPaginator(request); responses.iterator().forEachRemaining(....);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
getNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest)operation.- Parameters:
getNetworkResourceCountsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getNetworkResourceCountsPaginator
default GetNetworkResourceCountsIterable getNetworkResourceCountsPaginator(Consumer<GetNetworkResourceCountsRequest.Builder> getNetworkResourceCountsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsIterable responses = client.getNetworkResourceCountsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsIterable responses = client .getNetworkResourceCountsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsIterable responses = client.getNetworkResourceCountsPaginator(request); responses.iterator().forEachRemaining(....);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
getNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest)operation.
This is a convenience which creates an instance of the
GetNetworkResourceCountsRequest.Builderavoiding the need to create one manually viaGetNetworkResourceCountsRequest.builder()- Parameters:
getNetworkResourceCountsRequest- AConsumerthat will call methods onGetNetworkResourceCountsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getNetworkResourceRelationships
default GetNetworkResourceRelationshipsResponse getNetworkResourceRelationships(GetNetworkResourceRelationshipsRequest getNetworkResourceRelationshipsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets the network resource relationships for the specified global network.
- Parameters:
getNetworkResourceRelationshipsRequest-- Returns:
- Result of the GetNetworkResourceRelationships operation returned by the service.
- See Also:
-
getNetworkResourceRelationships
default GetNetworkResourceRelationshipsResponse getNetworkResourceRelationships(Consumer<GetNetworkResourceRelationshipsRequest.Builder> getNetworkResourceRelationshipsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets the network resource relationships for the specified global network.
This is a convenience which creates an instance of the
GetNetworkResourceRelationshipsRequest.Builderavoiding the need to create one manually viaGetNetworkResourceRelationshipsRequest.builder()- Parameters:
getNetworkResourceRelationshipsRequest- AConsumerthat will call methods onGetNetworkResourceRelationshipsRequest.Builderto create a request.- Returns:
- Result of the GetNetworkResourceRelationships operation returned by the service.
- See Also:
-
getNetworkResourceRelationshipsPaginator
default GetNetworkResourceRelationshipsIterable getNetworkResourceRelationshipsPaginator(GetNetworkResourceRelationshipsRequest getNetworkResourceRelationshipsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsIterable responses = client.getNetworkResourceRelationshipsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsIterable responses = client .getNetworkResourceRelationshipsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsIterable responses = client.getNetworkResourceRelationshipsPaginator(request); responses.iterator().forEachRemaining(....);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
getNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest)operation.- Parameters:
getNetworkResourceRelationshipsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getNetworkResourceRelationshipsPaginator
default GetNetworkResourceRelationshipsIterable getNetworkResourceRelationshipsPaginator(Consumer<GetNetworkResourceRelationshipsRequest.Builder> getNetworkResourceRelationshipsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsIterable responses = client.getNetworkResourceRelationshipsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsIterable responses = client .getNetworkResourceRelationshipsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsIterable responses = client.getNetworkResourceRelationshipsPaginator(request); responses.iterator().forEachRemaining(....);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
getNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest)operation.
This is a convenience which creates an instance of the
GetNetworkResourceRelationshipsRequest.Builderavoiding the need to create one manually viaGetNetworkResourceRelationshipsRequest.builder()- Parameters:
getNetworkResourceRelationshipsRequest- AConsumerthat will call methods onGetNetworkResourceRelationshipsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getNetworkResources
default GetNetworkResourcesResponse getNetworkResources(GetNetworkResourcesRequest getNetworkResourcesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Describes the network resources for the specified global network.
The results include information from the corresponding Describe call for the resource, minus any sensitive information such as pre-shared keys.
- Parameters:
getNetworkResourcesRequest-- Returns:
- Result of the GetNetworkResources operation returned by the service.
- See Also:
-
getNetworkResources
default GetNetworkResourcesResponse getNetworkResources(Consumer<GetNetworkResourcesRequest.Builder> getNetworkResourcesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Describes the network resources for the specified global network.
The results include information from the corresponding Describe call for the resource, minus any sensitive information such as pre-shared keys.
This is a convenience which creates an instance of the
GetNetworkResourcesRequest.Builderavoiding the need to create one manually viaGetNetworkResourcesRequest.builder()- Parameters:
getNetworkResourcesRequest- AConsumerthat will call methods onGetNetworkResourcesRequest.Builderto create a request.- Returns:
- Result of the GetNetworkResources operation returned by the service.
- See Also:
-
getNetworkResourcesPaginator
default GetNetworkResourcesIterable getNetworkResourcesPaginator(GetNetworkResourcesRequest getNetworkResourcesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesIterable responses = client.getNetworkResourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesIterable responses = client .getNetworkResourcesPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesIterable responses = client.getNetworkResourcesPaginator(request); responses.iterator().forEachRemaining(....);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
getNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)operation.- Parameters:
getNetworkResourcesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getNetworkResourcesPaginator
default GetNetworkResourcesIterable getNetworkResourcesPaginator(Consumer<GetNetworkResourcesRequest.Builder> getNetworkResourcesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesIterable responses = client.getNetworkResourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesIterable responses = client .getNetworkResourcesPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesIterable responses = client.getNetworkResourcesPaginator(request); responses.iterator().forEachRemaining(....);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
getNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)operation.
This is a convenience which creates an instance of the
GetNetworkResourcesRequest.Builderavoiding the need to create one manually viaGetNetworkResourcesRequest.builder()- Parameters:
getNetworkResourcesRequest- AConsumerthat will call methods onGetNetworkResourcesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getNetworkRoutes
default GetNetworkRoutesResponse getNetworkRoutes(GetNetworkRoutesRequest getNetworkRoutesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets the network routes of the specified global network.
- Parameters:
getNetworkRoutesRequest-- Returns:
- Result of the GetNetworkRoutes operation returned by the service.
- See Also:
-
getNetworkRoutes
default GetNetworkRoutesResponse getNetworkRoutes(Consumer<GetNetworkRoutesRequest.Builder> getNetworkRoutesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets the network routes of the specified global network.
This is a convenience which creates an instance of the
GetNetworkRoutesRequest.Builderavoiding the need to create one manually viaGetNetworkRoutesRequest.builder()- Parameters:
getNetworkRoutesRequest- AConsumerthat will call methods onGetNetworkRoutesRequest.Builderto create a request.- Returns:
- Result of the GetNetworkRoutes operation returned by the service.
- See Also:
-
getNetworkTelemetry
default GetNetworkTelemetryResponse getNetworkTelemetry(GetNetworkTelemetryRequest getNetworkTelemetryRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets the network telemetry of the specified global network.
- Parameters:
getNetworkTelemetryRequest-- Returns:
- Result of the GetNetworkTelemetry operation returned by the service.
- See Also:
-
getNetworkTelemetry
default GetNetworkTelemetryResponse getNetworkTelemetry(Consumer<GetNetworkTelemetryRequest.Builder> getNetworkTelemetryRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets the network telemetry of the specified global network.
This is a convenience which creates an instance of the
GetNetworkTelemetryRequest.Builderavoiding the need to create one manually viaGetNetworkTelemetryRequest.builder()- Parameters:
getNetworkTelemetryRequest- AConsumerthat will call methods onGetNetworkTelemetryRequest.Builderto create a request.- Returns:
- Result of the GetNetworkTelemetry operation returned by the service.
- See Also:
-
getNetworkTelemetryPaginator
default GetNetworkTelemetryIterable getNetworkTelemetryPaginator(GetNetworkTelemetryRequest getNetworkTelemetryRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryIterable responses = client.getNetworkTelemetryPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryIterable responses = client .getNetworkTelemetryPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryIterable responses = client.getNetworkTelemetryPaginator(request); responses.iterator().forEachRemaining(....);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
getNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)operation.- Parameters:
getNetworkTelemetryRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getNetworkTelemetryPaginator
default GetNetworkTelemetryIterable getNetworkTelemetryPaginator(Consumer<GetNetworkTelemetryRequest.Builder> getNetworkTelemetryRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryIterable responses = client.getNetworkTelemetryPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryIterable responses = client .getNetworkTelemetryPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryIterable responses = client.getNetworkTelemetryPaginator(request); responses.iterator().forEachRemaining(....);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
getNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)operation.
This is a convenience which creates an instance of the
GetNetworkTelemetryRequest.Builderavoiding the need to create one manually viaGetNetworkTelemetryRequest.builder()- Parameters:
getNetworkTelemetryRequest- AConsumerthat will call methods onGetNetworkTelemetryRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getResourcePolicy
default GetResourcePolicyResponse getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about a resource policy.
- Parameters:
getResourcePolicyRequest-- Returns:
- Result of the GetResourcePolicy operation returned by the service.
- See Also:
-
getResourcePolicy
default GetResourcePolicyResponse getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about a resource policy.
This is a convenience which creates an instance of the
GetResourcePolicyRequest.Builderavoiding the need to create one manually viaGetResourcePolicyRequest.builder()- Parameters:
getResourcePolicyRequest- AConsumerthat will call methods onGetResourcePolicyRequest.Builderto create a request.- Returns:
- Result of the GetResourcePolicy operation returned by the service.
- See Also:
-
getRouteAnalysis
default GetRouteAnalysisResponse getRouteAnalysis(GetRouteAnalysisRequest getRouteAnalysisRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets information about the specified route analysis.
- Parameters:
getRouteAnalysisRequest-- Returns:
- Result of the GetRouteAnalysis operation returned by the service.
- See Also:
-
getRouteAnalysis
default GetRouteAnalysisResponse getRouteAnalysis(Consumer<GetRouteAnalysisRequest.Builder> getRouteAnalysisRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets information about the specified route analysis.
This is a convenience which creates an instance of the
GetRouteAnalysisRequest.Builderavoiding the need to create one manually viaGetRouteAnalysisRequest.builder()- Parameters:
getRouteAnalysisRequest- AConsumerthat will call methods onGetRouteAnalysisRequest.Builderto create a request.- Returns:
- Result of the GetRouteAnalysis operation returned by the service.
- See Also:
-
getSiteToSiteVpnAttachment
default GetSiteToSiteVpnAttachmentResponse getSiteToSiteVpnAttachment(GetSiteToSiteVpnAttachmentRequest getSiteToSiteVpnAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about a site-to-site VPN attachment.
- Parameters:
getSiteToSiteVpnAttachmentRequest-- Returns:
- Result of the GetSiteToSiteVpnAttachment operation returned by the service.
- See Also:
-
getSiteToSiteVpnAttachment
default GetSiteToSiteVpnAttachmentResponse getSiteToSiteVpnAttachment(Consumer<GetSiteToSiteVpnAttachmentRequest.Builder> getSiteToSiteVpnAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about a site-to-site VPN attachment.
This is a convenience which creates an instance of the
GetSiteToSiteVpnAttachmentRequest.Builderavoiding the need to create one manually viaGetSiteToSiteVpnAttachmentRequest.builder()- Parameters:
getSiteToSiteVpnAttachmentRequest- AConsumerthat will call methods onGetSiteToSiteVpnAttachmentRequest.Builderto create a request.- Returns:
- Result of the GetSiteToSiteVpnAttachment operation returned by the service.
- See Also:
-
getSites
default GetSitesResponse getSites(GetSitesRequest getSitesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets information about one or more of your sites in a global network.
- Parameters:
getSitesRequest-- Returns:
- Result of the GetSites operation returned by the service.
- See Also:
-
getSites
default GetSitesResponse getSites(Consumer<GetSitesRequest.Builder> getSitesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets information about one or more of your sites in a global network.
This is a convenience which creates an instance of the
GetSitesRequest.Builderavoiding the need to create one manually viaGetSitesRequest.builder()- Parameters:
getSitesRequest- AConsumerthat will call methods onGetSitesRequest.Builderto create a request.- Returns:
- Result of the GetSites operation returned by the service.
- See Also:
-
getSitesPaginator
default GetSitesIterable getSitesPaginator(GetSitesRequest getSitesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetSitesIterable responses = client.getSitesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetSitesIterable responses = client.getSitesPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetSitesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetSitesIterable responses = client.getSitesPaginator(request); responses.iterator().forEachRemaining(....);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.- Parameters:
getSitesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getSitesPaginator
default GetSitesIterable getSitesPaginator(Consumer<GetSitesRequest.Builder> getSitesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetSitesIterable responses = client.getSitesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetSitesIterable responses = client.getSitesPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetSitesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetSitesIterable responses = client.getSitesPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaGetSitesRequest.builder()- Parameters:
getSitesRequest- AConsumerthat will call methods onGetSitesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getTransitGatewayConnectPeerAssociations
default GetTransitGatewayConnectPeerAssociationsResponse getTransitGatewayConnectPeerAssociations(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets information about one or more of your transit gateway Connect peer associations in a global network.
- Parameters:
getTransitGatewayConnectPeerAssociationsRequest-- Returns:
- Result of the GetTransitGatewayConnectPeerAssociations operation returned by the service.
- See Also:
-
getTransitGatewayConnectPeerAssociations
default GetTransitGatewayConnectPeerAssociationsResponse getTransitGatewayConnectPeerAssociations(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaGetTransitGatewayConnectPeerAssociationsRequest.builder()- Parameters:
getTransitGatewayConnectPeerAssociationsRequest- AConsumerthat will call methods onGetTransitGatewayConnectPeerAssociationsRequest.Builderto create a request.- Returns:
- Result of the GetTransitGatewayConnectPeerAssociations operation returned by the service.
- See Also:
-
getTransitGatewayConnectPeerAssociationsPaginator
default GetTransitGatewayConnectPeerAssociationsIterable getTransitGatewayConnectPeerAssociationsPaginator(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsIterable responses = client.getTransitGatewayConnectPeerAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsIterable responses = client .getTransitGatewayConnectPeerAssociationsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsIterable responses = client.getTransitGatewayConnectPeerAssociationsPaginator(request); responses.iterator().forEachRemaining(....);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.- Parameters:
getTransitGatewayConnectPeerAssociationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getTransitGatewayConnectPeerAssociationsPaginator
default GetTransitGatewayConnectPeerAssociationsIterable getTransitGatewayConnectPeerAssociationsPaginator(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsIterable responses = client.getTransitGatewayConnectPeerAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsIterable responses = client .getTransitGatewayConnectPeerAssociationsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsIterable responses = client.getTransitGatewayConnectPeerAssociationsPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaGetTransitGatewayConnectPeerAssociationsRequest.builder()- Parameters:
getTransitGatewayConnectPeerAssociationsRequest- AConsumerthat will call methods onGetTransitGatewayConnectPeerAssociationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getTransitGatewayPeering
default GetTransitGatewayPeeringResponse getTransitGatewayPeering(GetTransitGatewayPeeringRequest getTransitGatewayPeeringRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about a transit gateway peer.
- Parameters:
getTransitGatewayPeeringRequest-- Returns:
- Result of the GetTransitGatewayPeering operation returned by the service.
- See Also:
-
getTransitGatewayPeering
default GetTransitGatewayPeeringResponse getTransitGatewayPeering(Consumer<GetTransitGatewayPeeringRequest.Builder> getTransitGatewayPeeringRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about a transit gateway peer.
This is a convenience which creates an instance of the
GetTransitGatewayPeeringRequest.Builderavoiding the need to create one manually viaGetTransitGatewayPeeringRequest.builder()- Parameters:
getTransitGatewayPeeringRequest- AConsumerthat will call methods onGetTransitGatewayPeeringRequest.Builderto create a request.- Returns:
- Result of the GetTransitGatewayPeering operation returned by the service.
- See Also:
-
getTransitGatewayRegistrations
default GetTransitGatewayRegistrationsResponse getTransitGatewayRegistrations(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets information about the transit gateway registrations in a specified global network.
- Parameters:
getTransitGatewayRegistrationsRequest-- Returns:
- Result of the GetTransitGatewayRegistrations operation returned by the service.
- See Also:
-
getTransitGatewayRegistrations
default GetTransitGatewayRegistrationsResponse getTransitGatewayRegistrations(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Gets information about the transit gateway registrations in a specified global network.
This is a convenience which creates an instance of the
GetTransitGatewayRegistrationsRequest.Builderavoiding the need to create one manually viaGetTransitGatewayRegistrationsRequest.builder()- Parameters:
getTransitGatewayRegistrationsRequest- AConsumerthat will call methods onGetTransitGatewayRegistrationsRequest.Builderto create a request.- Returns:
- Result of the GetTransitGatewayRegistrations operation returned by the service.
- See Also:
-
getTransitGatewayRegistrationsPaginator
default GetTransitGatewayRegistrationsIterable getTransitGatewayRegistrationsPaginator(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsIterable responses = client.getTransitGatewayRegistrationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsIterable responses = client .getTransitGatewayRegistrationsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsIterable responses = client.getTransitGatewayRegistrationsPaginator(request); responses.iterator().forEachRemaining(....);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.- Parameters:
getTransitGatewayRegistrationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getTransitGatewayRegistrationsPaginator
default GetTransitGatewayRegistrationsIterable getTransitGatewayRegistrationsPaginator(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsIterable responses = client.getTransitGatewayRegistrationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsIterable responses = client .getTransitGatewayRegistrationsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsIterable responses = client.getTransitGatewayRegistrationsPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaGetTransitGatewayRegistrationsRequest.builder()- Parameters:
getTransitGatewayRegistrationsRequest- AConsumerthat will call methods onGetTransitGatewayRegistrationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getTransitGatewayRouteTableAttachment
default GetTransitGatewayRouteTableAttachmentResponse getTransitGatewayRouteTableAttachment(GetTransitGatewayRouteTableAttachmentRequest getTransitGatewayRouteTableAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about a transit gateway route table attachment.
- Parameters:
getTransitGatewayRouteTableAttachmentRequest-- Returns:
- Result of the GetTransitGatewayRouteTableAttachment operation returned by the service.
- See Also:
-
getTransitGatewayRouteTableAttachment
default GetTransitGatewayRouteTableAttachmentResponse getTransitGatewayRouteTableAttachment(Consumer<GetTransitGatewayRouteTableAttachmentRequest.Builder> getTransitGatewayRouteTableAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about a transit gateway route table attachment.
This is a convenience which creates an instance of the
GetTransitGatewayRouteTableAttachmentRequest.Builderavoiding the need to create one manually viaGetTransitGatewayRouteTableAttachmentRequest.builder()- Parameters:
getTransitGatewayRouteTableAttachmentRequest- AConsumerthat will call methods onGetTransitGatewayRouteTableAttachmentRequest.Builderto create a request.- Returns:
- Result of the GetTransitGatewayRouteTableAttachment operation returned by the service.
- See Also:
-
getVpcAttachment
default GetVpcAttachmentResponse getVpcAttachment(GetVpcAttachmentRequest getVpcAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about a VPC attachment.
- Parameters:
getVpcAttachmentRequest-- Returns:
- Result of the GetVpcAttachment operation returned by the service.
- See Also:
-
getVpcAttachment
default GetVpcAttachmentResponse getVpcAttachment(Consumer<GetVpcAttachmentRequest.Builder> getVpcAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns information about a VPC attachment.
This is a convenience which creates an instance of the
GetVpcAttachmentRequest.Builderavoiding the need to create one manually viaGetVpcAttachmentRequest.builder()- Parameters:
getVpcAttachmentRequest- AConsumerthat will call methods onGetVpcAttachmentRequest.Builderto create a request.- Returns:
- Result of the GetVpcAttachment operation returned by the service.
- See Also:
-
listAttachments
default ListAttachmentsResponse listAttachments(ListAttachmentsRequest listAttachmentsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns a list of core network attachments.
- Parameters:
listAttachmentsRequest-- Returns:
- Result of the ListAttachments operation returned by the service.
- See Also:
-
listAttachments
default ListAttachmentsResponse listAttachments(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns a list of core network attachments.
This is a convenience which creates an instance of the
ListAttachmentsRequest.Builderavoiding the need to create one manually viaListAttachmentsRequest.builder()- Parameters:
listAttachmentsRequest- AConsumerthat will call methods onListAttachmentsRequest.Builderto create a request.- Returns:
- Result of the ListAttachments operation returned by the service.
- See Also:
-
listAttachmentsPaginator
default ListAttachmentsIterable listAttachmentsPaginator(ListAttachmentsRequest listAttachmentsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
listAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsIterable responses = client.listAttachmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsIterable responses = client .listAttachmentsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.ListAttachmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsIterable responses = client.listAttachmentsPaginator(request); responses.iterator().forEachRemaining(....);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
listAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest)operation.- Parameters:
listAttachmentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAttachmentsPaginator
default ListAttachmentsIterable listAttachmentsPaginator(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
listAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsIterable responses = client.listAttachmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsIterable responses = client .listAttachmentsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.ListAttachmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsIterable responses = client.listAttachmentsPaginator(request); responses.iterator().forEachRemaining(....);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
listAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest)operation.
This is a convenience which creates an instance of the
ListAttachmentsRequest.Builderavoiding the need to create one manually viaListAttachmentsRequest.builder()- Parameters:
listAttachmentsRequest- AConsumerthat will call methods onListAttachmentsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listConnectPeers
default ListConnectPeersResponse listConnectPeers(ListConnectPeersRequest listConnectPeersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns a list of core network Connect peers.
- Parameters:
listConnectPeersRequest-- Returns:
- Result of the ListConnectPeers operation returned by the service.
- See Also:
-
listConnectPeers
default ListConnectPeersResponse listConnectPeers(Consumer<ListConnectPeersRequest.Builder> listConnectPeersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns a list of core network Connect peers.
This is a convenience which creates an instance of the
ListConnectPeersRequest.Builderavoiding the need to create one manually viaListConnectPeersRequest.builder()- Parameters:
listConnectPeersRequest- AConsumerthat will call methods onListConnectPeersRequest.Builderto create a request.- Returns:
- Result of the ListConnectPeers operation returned by the service.
- See Also:
-
listConnectPeersPaginator
default ListConnectPeersIterable listConnectPeersPaginator(ListConnectPeersRequest listConnectPeersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
listConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersIterable responses = client.listConnectPeersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersIterable responses = client .listConnectPeersPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.ListConnectPeersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersIterable responses = client.listConnectPeersPaginator(request); responses.iterator().forEachRemaining(....);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
listConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest)operation.- Parameters:
listConnectPeersRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listConnectPeersPaginator
default ListConnectPeersIterable listConnectPeersPaginator(Consumer<ListConnectPeersRequest.Builder> listConnectPeersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
listConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersIterable responses = client.listConnectPeersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersIterable responses = client .listConnectPeersPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.ListConnectPeersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersIterable responses = client.listConnectPeersPaginator(request); responses.iterator().forEachRemaining(....);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
listConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest)operation.
This is a convenience which creates an instance of the
ListConnectPeersRequest.Builderavoiding the need to create one manually viaListConnectPeersRequest.builder()- Parameters:
listConnectPeersRequest- AConsumerthat will call methods onListConnectPeersRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCoreNetworkPolicyVersions
default ListCoreNetworkPolicyVersionsResponse listCoreNetworkPolicyVersions(ListCoreNetworkPolicyVersionsRequest listCoreNetworkPolicyVersionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns a list of core network policy versions.
- Parameters:
listCoreNetworkPolicyVersionsRequest-- Returns:
- Result of the ListCoreNetworkPolicyVersions operation returned by the service.
- See Also:
-
listCoreNetworkPolicyVersions
default ListCoreNetworkPolicyVersionsResponse listCoreNetworkPolicyVersions(Consumer<ListCoreNetworkPolicyVersionsRequest.Builder> listCoreNetworkPolicyVersionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns a list of core network policy versions.
This is a convenience which creates an instance of the
ListCoreNetworkPolicyVersionsRequest.Builderavoiding the need to create one manually viaListCoreNetworkPolicyVersionsRequest.builder()- Parameters:
listCoreNetworkPolicyVersionsRequest- AConsumerthat will call methods onListCoreNetworkPolicyVersionsRequest.Builderto create a request.- Returns:
- Result of the ListCoreNetworkPolicyVersions operation returned by the service.
- See Also:
-
listCoreNetworkPolicyVersionsPaginator
default ListCoreNetworkPolicyVersionsIterable listCoreNetworkPolicyVersionsPaginator(ListCoreNetworkPolicyVersionsRequest listCoreNetworkPolicyVersionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
listCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsIterable responses = client.listCoreNetworkPolicyVersionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsIterable responses = client .listCoreNetworkPolicyVersionsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsIterable responses = client.listCoreNetworkPolicyVersionsPaginator(request); responses.iterator().forEachRemaining(....);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
listCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest)operation.- Parameters:
listCoreNetworkPolicyVersionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCoreNetworkPolicyVersionsPaginator
default ListCoreNetworkPolicyVersionsIterable listCoreNetworkPolicyVersionsPaginator(Consumer<ListCoreNetworkPolicyVersionsRequest.Builder> listCoreNetworkPolicyVersionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
listCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsIterable responses = client.listCoreNetworkPolicyVersionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsIterable responses = client .listCoreNetworkPolicyVersionsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsIterable responses = client.listCoreNetworkPolicyVersionsPaginator(request); responses.iterator().forEachRemaining(....);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
listCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest)operation.
This is a convenience which creates an instance of the
ListCoreNetworkPolicyVersionsRequest.Builderavoiding the need to create one manually viaListCoreNetworkPolicyVersionsRequest.builder()- Parameters:
listCoreNetworkPolicyVersionsRequest- AConsumerthat will call methods onListCoreNetworkPolicyVersionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCoreNetworks
default ListCoreNetworksResponse listCoreNetworks(ListCoreNetworksRequest listCoreNetworksRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns a list of owned and shared core networks.
- Parameters:
listCoreNetworksRequest-- Returns:
- Result of the ListCoreNetworks operation returned by the service.
- See Also:
-
listCoreNetworks
default ListCoreNetworksResponse listCoreNetworks(Consumer<ListCoreNetworksRequest.Builder> listCoreNetworksRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Returns a list of owned and shared core networks.
This is a convenience which creates an instance of the
ListCoreNetworksRequest.Builderavoiding the need to create one manually viaListCoreNetworksRequest.builder()- Parameters:
listCoreNetworksRequest- AConsumerthat will call methods onListCoreNetworksRequest.Builderto create a request.- Returns:
- Result of the ListCoreNetworks operation returned by the service.
- See Also:
-
listCoreNetworksPaginator
default ListCoreNetworksIterable listCoreNetworksPaginator(ListCoreNetworksRequest listCoreNetworksRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
listCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksIterable responses = client.listCoreNetworksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksIterable responses = client .listCoreNetworksPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksIterable responses = client.listCoreNetworksPaginator(request); responses.iterator().forEachRemaining(....);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
listCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest)operation.- Parameters:
listCoreNetworksRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCoreNetworksPaginator
default ListCoreNetworksIterable listCoreNetworksPaginator(Consumer<ListCoreNetworksRequest.Builder> listCoreNetworksRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
listCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksIterable responses = client.listCoreNetworksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksIterable responses = client .listCoreNetworksPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksIterable responses = client.listCoreNetworksPaginator(request); responses.iterator().forEachRemaining(....);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
listCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest)operation.
This is a convenience which creates an instance of the
ListCoreNetworksRequest.Builderavoiding the need to create one manually viaListCoreNetworksRequest.builder()- Parameters:
listCoreNetworksRequest- AConsumerthat will call methods onListCoreNetworksRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOrganizationServiceAccessStatus
default ListOrganizationServiceAccessStatusResponse listOrganizationServiceAccessStatus(ListOrganizationServiceAccessStatusRequest listOrganizationServiceAccessStatusRequest) throws AwsServiceException, SdkClientException, NetworkManagerException Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.
- Parameters:
listOrganizationServiceAccessStatusRequest-- Returns:
- Result of the ListOrganizationServiceAccessStatus operation returned by the service.
- See Also:
-
listOrganizationServiceAccessStatus
default ListOrganizationServiceAccessStatusResponse listOrganizationServiceAccessStatus(Consumer<ListOrganizationServiceAccessStatusRequest.Builder> listOrganizationServiceAccessStatusRequest) throws AwsServiceException, SdkClientException, NetworkManagerException Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.
This is a convenience which creates an instance of the
ListOrganizationServiceAccessStatusRequest.Builderavoiding the need to create one manually viaListOrganizationServiceAccessStatusRequest.builder()- Parameters:
listOrganizationServiceAccessStatusRequest- AConsumerthat will call methods onListOrganizationServiceAccessStatusRequest.Builderto create a request.- Returns:
- Result of the ListOrganizationServiceAccessStatus operation returned by the service.
- See Also:
-
listPeerings
default ListPeeringsResponse listPeerings(ListPeeringsRequest listPeeringsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Lists the peerings for a core network.
- Parameters:
listPeeringsRequest-- Returns:
- Result of the ListPeerings operation returned by the service.
- See Also:
-
listPeerings
default ListPeeringsResponse listPeerings(Consumer<ListPeeringsRequest.Builder> listPeeringsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Lists the peerings for a core network.
This is a convenience which creates an instance of the
ListPeeringsRequest.Builderavoiding the need to create one manually viaListPeeringsRequest.builder()- Parameters:
listPeeringsRequest- AConsumerthat will call methods onListPeeringsRequest.Builderto create a request.- Returns:
- Result of the ListPeerings operation returned by the service.
- See Also:
-
listPeeringsPaginator
default ListPeeringsIterable listPeeringsPaginator(ListPeeringsRequest listPeeringsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
listPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.ListPeeringsIterable responses = client.listPeeringsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.ListPeeringsIterable responses = client .listPeeringsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.ListPeeringsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.ListPeeringsIterable responses = client.listPeeringsPaginator(request); responses.iterator().forEachRemaining(....);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
listPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest)operation.- Parameters:
listPeeringsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPeeringsPaginator
default ListPeeringsIterable listPeeringsPaginator(Consumer<ListPeeringsRequest.Builder> listPeeringsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException This is a variant of
listPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.networkmanager.paginators.ListPeeringsIterable responses = client.listPeeringsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.networkmanager.paginators.ListPeeringsIterable responses = client .listPeeringsPaginator(request); for (software.amazon.awssdk.services.networkmanager.model.ListPeeringsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.networkmanager.paginators.ListPeeringsIterable responses = client.listPeeringsPaginator(request); responses.iterator().forEachRemaining(....);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
listPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest)operation.
This is a convenience which creates an instance of the
ListPeeringsRequest.Builderavoiding the need to create one manually viaListPeeringsRequest.builder()- Parameters:
listPeeringsRequest- AConsumerthat will call methods onListPeeringsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Lists the tags for a specified resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Lists the tags for a specified resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
putCoreNetworkPolicy
default PutCoreNetworkPolicyResponse putCoreNetworkPolicy(PutCoreNetworkPolicyRequest putCoreNetworkPolicyRequest) throws CoreNetworkPolicyException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, NetworkManagerException Creates a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and the submitted policy.
- Parameters:
putCoreNetworkPolicyRequest-- Returns:
- Result of the PutCoreNetworkPolicy operation returned by the service.
- See Also:
-
putCoreNetworkPolicy
default PutCoreNetworkPolicyResponse putCoreNetworkPolicy(Consumer<PutCoreNetworkPolicyRequest.Builder> putCoreNetworkPolicyRequest) throws CoreNetworkPolicyException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, NetworkManagerException Creates a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and the submitted policy.
This is a convenience which creates an instance of the
PutCoreNetworkPolicyRequest.Builderavoiding the need to create one manually viaPutCoreNetworkPolicyRequest.builder()- Parameters:
putCoreNetworkPolicyRequest- AConsumerthat will call methods onPutCoreNetworkPolicyRequest.Builderto create a request.- Returns:
- Result of the PutCoreNetworkPolicy operation returned by the service.
- See Also:
-
putResourcePolicy
default PutResourcePolicyResponse putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates or updates a resource policy.
- Parameters:
putResourcePolicyRequest-- Returns:
- Result of the PutResourcePolicy operation returned by the service.
- See Also:
-
putResourcePolicy
default PutResourcePolicyResponse putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Creates or updates a resource policy.
This is a convenience which creates an instance of the
PutResourcePolicyRequest.Builderavoiding the need to create one manually viaPutResourcePolicyRequest.builder()- Parameters:
putResourcePolicyRequest- AConsumerthat will call methods onPutResourcePolicyRequest.Builderto create a request.- Returns:
- Result of the PutResourcePolicy operation returned by the service.
- See Also:
-
registerTransitGateway
default RegisterTransitGatewayResponse registerTransitGateway(RegisterTransitGatewayRequest registerTransitGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Registers a transit gateway in your global network. Not all Regions support transit gateways for global networks. For a list of the supported Regions, see Region Availability in the Amazon Web Services Transit Gateways for Global Networks User Guide. The transit gateway can be in any of the supported Amazon Web Services Regions, but it must be owned by the same Amazon Web Services account that owns the global network. You cannot register a transit gateway in more than one global network.
- Parameters:
registerTransitGatewayRequest-- Returns:
- Result of the RegisterTransitGateway operation returned by the service.
- See Also:
-
registerTransitGateway
default RegisterTransitGatewayResponse registerTransitGateway(Consumer<RegisterTransitGatewayRequest.Builder> registerTransitGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Registers a transit gateway in your global network. Not all Regions support transit gateways for global networks. For a list of the supported Regions, see Region Availability in the Amazon Web Services Transit Gateways for Global Networks User Guide. The transit gateway can be in any of the supported Amazon Web Services Regions, but it must be owned by the same Amazon Web Services 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.Builderavoiding the need to create one manually viaRegisterTransitGatewayRequest.builder()- Parameters:
registerTransitGatewayRequest- AConsumerthat will call methods onRegisterTransitGatewayRequest.Builderto create a request.- Returns:
- Result of the RegisterTransitGateway operation returned by the service.
- See Also:
-
rejectAttachment
default RejectAttachmentResponse rejectAttachment(RejectAttachmentRequest rejectAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Rejects a core network attachment request.
- Parameters:
rejectAttachmentRequest-- Returns:
- Result of the RejectAttachment operation returned by the service.
- See Also:
-
rejectAttachment
default RejectAttachmentResponse rejectAttachment(Consumer<RejectAttachmentRequest.Builder> rejectAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Rejects a core network attachment request.
This is a convenience which creates an instance of the
RejectAttachmentRequest.Builderavoiding the need to create one manually viaRejectAttachmentRequest.builder()- Parameters:
rejectAttachmentRequest- AConsumerthat will call methods onRejectAttachmentRequest.Builderto create a request.- Returns:
- Result of the RejectAttachment operation returned by the service.
- See Also:
-
restoreCoreNetworkPolicyVersion
default RestoreCoreNetworkPolicyVersionResponse restoreCoreNetworkPolicyVersion(RestoreCoreNetworkPolicyVersionRequest restoreCoreNetworkPolicyVersionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, NetworkManagerException Restores a previous policy version as a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and restored policy.
- Parameters:
restoreCoreNetworkPolicyVersionRequest-- Returns:
- Result of the RestoreCoreNetworkPolicyVersion operation returned by the service.
- See Also:
-
restoreCoreNetworkPolicyVersion
default RestoreCoreNetworkPolicyVersionResponse restoreCoreNetworkPolicyVersion(Consumer<RestoreCoreNetworkPolicyVersionRequest.Builder> restoreCoreNetworkPolicyVersionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, NetworkManagerException Restores a previous policy version as a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and restored policy.
This is a convenience which creates an instance of the
RestoreCoreNetworkPolicyVersionRequest.Builderavoiding the need to create one manually viaRestoreCoreNetworkPolicyVersionRequest.builder()- Parameters:
restoreCoreNetworkPolicyVersionRequest- AConsumerthat will call methods onRestoreCoreNetworkPolicyVersionRequest.Builderto create a request.- Returns:
- Result of the RestoreCoreNetworkPolicyVersion operation returned by the service.
- See Also:
-
startOrganizationServiceAccessUpdate
default StartOrganizationServiceAccessUpdateResponse startOrganizationServiceAccessUpdate(StartOrganizationServiceAccessUpdateRequest startOrganizationServiceAccessUpdateRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Enables the Network Manager service for an Amazon Web Services Organization. This can only be called by a management account within the organization.
- Parameters:
startOrganizationServiceAccessUpdateRequest-- Returns:
- Result of the StartOrganizationServiceAccessUpdate operation returned by the service.
- See Also:
-
startOrganizationServiceAccessUpdate
default StartOrganizationServiceAccessUpdateResponse startOrganizationServiceAccessUpdate(Consumer<StartOrganizationServiceAccessUpdateRequest.Builder> startOrganizationServiceAccessUpdateRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Enables the Network Manager service for an Amazon Web Services Organization. This can only be called by a management account within the organization.
This is a convenience which creates an instance of the
StartOrganizationServiceAccessUpdateRequest.Builderavoiding the need to create one manually viaStartOrganizationServiceAccessUpdateRequest.builder()- Parameters:
startOrganizationServiceAccessUpdateRequest- AConsumerthat will call methods onStartOrganizationServiceAccessUpdateRequest.Builderto create a request.- Returns:
- Result of the StartOrganizationServiceAccessUpdate operation returned by the service.
- See Also:
-
startRouteAnalysis
default StartRouteAnalysisResponse startRouteAnalysis(StartRouteAnalysisRequest startRouteAnalysisRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Starts analyzing the routing path between the specified source and destination. For more information, see Route Analyzer.
- Parameters:
startRouteAnalysisRequest-- Returns:
- Result of the StartRouteAnalysis operation returned by the service.
- See Also:
-
startRouteAnalysis
default StartRouteAnalysisResponse startRouteAnalysis(Consumer<StartRouteAnalysisRequest.Builder> startRouteAnalysisRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Starts analyzing the routing path between the specified source and destination. For more information, see Route Analyzer.
This is a convenience which creates an instance of the
StartRouteAnalysisRequest.Builderavoiding the need to create one manually viaStartRouteAnalysisRequest.builder()- Parameters:
startRouteAnalysisRequest- AConsumerthat will call methods onStartRouteAnalysisRequest.Builderto create a request.- Returns:
- Result of the StartRouteAnalysis operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Tags a specified resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Tags a specified resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Removes tags from a specified resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Removes tags from a specified resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateConnection
default UpdateConnectionResponse updateConnection(UpdateConnectionRequest updateConnectionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.
- Parameters:
updateConnectionRequest-- Returns:
- Result of the UpdateConnection operation returned by the service.
- See Also:
-
updateConnection
default UpdateConnectionResponse updateConnection(Consumer<UpdateConnectionRequest.Builder> updateConnectionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaUpdateConnectionRequest.builder()- Parameters:
updateConnectionRequest- AConsumerthat will call methods onUpdateConnectionRequest.Builderto create a request.- Returns:
- Result of the UpdateConnection operation returned by the service.
- See Also:
-
updateCoreNetwork
default UpdateCoreNetworkResponse updateCoreNetwork(UpdateCoreNetworkRequest updateCoreNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Updates the description of a core network.
- Parameters:
updateCoreNetworkRequest-- Returns:
- Result of the UpdateCoreNetwork operation returned by the service.
- See Also:
-
updateCoreNetwork
default UpdateCoreNetworkResponse updateCoreNetwork(Consumer<UpdateCoreNetworkRequest.Builder> updateCoreNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Updates the description of a core network.
This is a convenience which creates an instance of the
UpdateCoreNetworkRequest.Builderavoiding the need to create one manually viaUpdateCoreNetworkRequest.builder()- Parameters:
updateCoreNetworkRequest- AConsumerthat will call methods onUpdateCoreNetworkRequest.Builderto create a request.- Returns:
- Result of the UpdateCoreNetwork operation returned by the service.
- See Also:
-
updateDevice
default UpdateDeviceResponse updateDevice(UpdateDeviceRequest updateDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.
- Parameters:
updateDeviceRequest-- Returns:
- Result of the UpdateDevice operation returned by the service.
- See Also:
-
updateDevice
default UpdateDeviceResponse updateDevice(Consumer<UpdateDeviceRequest.Builder> updateDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaUpdateDeviceRequest.builder()- Parameters:
updateDeviceRequest- AConsumerthat will call methods onUpdateDeviceRequest.Builderto create a request.- Returns:
- Result of the UpdateDevice operation returned by the service.
- See Also:
-
updateGlobalNetwork
default UpdateGlobalNetworkResponse updateGlobalNetwork(UpdateGlobalNetworkRequest updateGlobalNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Updates an existing global network. To remove information for any of the parameters, specify an empty string.
- Parameters:
updateGlobalNetworkRequest-- Returns:
- Result of the UpdateGlobalNetwork operation returned by the service.
- See Also:
-
updateGlobalNetwork
default UpdateGlobalNetworkResponse updateGlobalNetwork(Consumer<UpdateGlobalNetworkRequest.Builder> updateGlobalNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaUpdateGlobalNetworkRequest.builder()- Parameters:
updateGlobalNetworkRequest- AConsumerthat will call methods onUpdateGlobalNetworkRequest.Builderto create a request.- Returns:
- Result of the UpdateGlobalNetwork operation returned by the service.
- See Also:
-
updateLink
default UpdateLinkResponse updateLink(UpdateLinkRequest updateLinkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.
- Parameters:
updateLinkRequest-- Returns:
- Result of the UpdateLink operation returned by the service.
- See Also:
-
updateLink
default UpdateLinkResponse updateLink(Consumer<UpdateLinkRequest.Builder> updateLinkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaUpdateLinkRequest.builder()- Parameters:
updateLinkRequest- AConsumerthat will call methods onUpdateLinkRequest.Builderto create a request.- Returns:
- Result of the UpdateLink operation returned by the service.
- See Also:
-
updateNetworkResourceMetadata
default UpdateNetworkResourceMetadataResponse updateNetworkResourceMetadata(UpdateNetworkResourceMetadataRequest updateNetworkResourceMetadataRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Updates the resource metadata for the specified global network.
- Parameters:
updateNetworkResourceMetadataRequest-- Returns:
- Result of the UpdateNetworkResourceMetadata operation returned by the service.
- See Also:
-
updateNetworkResourceMetadata
default UpdateNetworkResourceMetadataResponse updateNetworkResourceMetadata(Consumer<UpdateNetworkResourceMetadataRequest.Builder> updateNetworkResourceMetadataRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Updates the resource metadata for the specified global network.
This is a convenience which creates an instance of the
UpdateNetworkResourceMetadataRequest.Builderavoiding the need to create one manually viaUpdateNetworkResourceMetadataRequest.builder()- Parameters:
updateNetworkResourceMetadataRequest- AConsumerthat will call methods onUpdateNetworkResourceMetadataRequest.Builderto create a request.- Returns:
- Result of the UpdateNetworkResourceMetadata operation returned by the service.
- See Also:
-
updateSite
default UpdateSiteResponse updateSite(UpdateSiteRequest updateSiteRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.
- Parameters:
updateSiteRequest-- Returns:
- Result of the UpdateSite operation returned by the service.
- See Also:
-
updateSite
default UpdateSiteResponse updateSite(Consumer<UpdateSiteRequest.Builder> updateSiteRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException 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.Builderavoiding the need to create one manually viaUpdateSiteRequest.builder()- Parameters:
updateSiteRequest- AConsumerthat will call methods onUpdateSiteRequest.Builderto create a request.- Returns:
- Result of the UpdateSite operation returned by the service.
- See Also:
-
updateVpcAttachment
default UpdateVpcAttachmentResponse updateVpcAttachment(UpdateVpcAttachmentRequest updateVpcAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Updates a VPC attachment.
- Parameters:
updateVpcAttachmentRequest-- Returns:
- Result of the UpdateVpcAttachment operation returned by the service.
- See Also:
-
updateVpcAttachment
default UpdateVpcAttachmentResponse updateVpcAttachment(Consumer<UpdateVpcAttachmentRequest.Builder> updateVpcAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException Updates a VPC attachment.
This is a convenience which creates an instance of the
UpdateVpcAttachmentRequest.Builderavoiding the need to create one manually viaUpdateVpcAttachmentRequest.builder()- Parameters:
updateVpcAttachmentRequest- AConsumerthat will call methods onUpdateVpcAttachmentRequest.Builderto create a request.- Returns:
- Result of the UpdateVpcAttachment operation returned by the service.
- See Also:
-
create
Create aNetworkManagerClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aNetworkManagerClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-