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
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault AcceptAttachmentResponse
acceptAttachment
(Consumer<AcceptAttachmentRequest.Builder> acceptAttachmentRequest) Accepts a core network attachment request.default AcceptAttachmentResponse
acceptAttachment
(AcceptAttachmentRequest acceptAttachmentRequest) Accepts a core network attachment request.default AssociateConnectPeerResponse
associateConnectPeer
(Consumer<AssociateConnectPeerRequest.Builder> associateConnectPeerRequest) Associates a core network Connect peer with a device and optionally, with a link.default AssociateConnectPeerResponse
associateConnectPeer
(AssociateConnectPeerRequest associateConnectPeerRequest) Associates a core network Connect peer with a device and optionally, with a link.default AssociateCustomerGatewayResponse
associateCustomerGateway
(Consumer<AssociateCustomerGatewayRequest.Builder> associateCustomerGatewayRequest) Associates a customer gateway with a device and optionally, with a link.default AssociateCustomerGatewayResponse
associateCustomerGateway
(AssociateCustomerGatewayRequest associateCustomerGatewayRequest) Associates a customer gateway with a device and optionally, with a link.default AssociateLinkResponse
associateLink
(Consumer<AssociateLinkRequest.Builder> associateLinkRequest) Associates a link to a device.default AssociateLinkResponse
associateLink
(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 NetworkManagerClientBuilder
builder()
Create a builder that can be used to configure and create aNetworkManagerClient
.static NetworkManagerClient
create()
Create aNetworkManagerClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateConnectAttachmentResponse
createConnectAttachment
(Consumer<CreateConnectAttachmentRequest.Builder> createConnectAttachmentRequest) Creates a core network Connect attachment from a specified core network attachment.default CreateConnectAttachmentResponse
createConnectAttachment
(CreateConnectAttachmentRequest createConnectAttachmentRequest) Creates a core network Connect attachment from a specified core network attachment.default CreateConnectionResponse
createConnection
(Consumer<CreateConnectionRequest.Builder> createConnectionRequest) Creates a connection between two devices.default CreateConnectionResponse
createConnection
(CreateConnectionRequest createConnectionRequest) Creates a connection between two devices.default CreateConnectPeerResponse
createConnectPeer
(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 CreateConnectPeerResponse
createConnectPeer
(CreateConnectPeerRequest createConnectPeerRequest) Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance.default CreateCoreNetworkResponse
createCoreNetwork
(Consumer<CreateCoreNetworkRequest.Builder> createCoreNetworkRequest) Creates a core network as part of your global network, and optionally, with a core network policy.default CreateCoreNetworkResponse
createCoreNetwork
(CreateCoreNetworkRequest createCoreNetworkRequest) Creates a core network as part of your global network, and optionally, with a core network policy.default CreateDeviceResponse
createDevice
(Consumer<CreateDeviceRequest.Builder> createDeviceRequest) Creates a new device in a global network.default CreateDeviceResponse
createDevice
(CreateDeviceRequest createDeviceRequest) Creates a new device in a global network.default CreateGlobalNetworkResponse
createGlobalNetwork
(Consumer<CreateGlobalNetworkRequest.Builder> createGlobalNetworkRequest) Creates a new, empty global network.default CreateGlobalNetworkResponse
createGlobalNetwork
(CreateGlobalNetworkRequest createGlobalNetworkRequest) Creates a new, empty global network.default CreateLinkResponse
createLink
(Consumer<CreateLinkRequest.Builder> createLinkRequest) Creates a new link for a specified site.default CreateLinkResponse
createLink
(CreateLinkRequest createLinkRequest) Creates a new link for a specified site.default CreateSiteResponse
createSite
(Consumer<CreateSiteRequest.Builder> createSiteRequest) Creates a new site in a global network.default CreateSiteResponse
createSite
(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 CreateVpcAttachmentResponse
createVpcAttachment
(Consumer<CreateVpcAttachmentRequest.Builder> createVpcAttachmentRequest) Creates a VPC attachment on an edge location of a core network.default CreateVpcAttachmentResponse
createVpcAttachment
(CreateVpcAttachmentRequest createVpcAttachmentRequest) Creates a VPC attachment on an edge location of a core network.default DeleteAttachmentResponse
deleteAttachment
(Consumer<DeleteAttachmentRequest.Builder> deleteAttachmentRequest) Deletes an attachment.default DeleteAttachmentResponse
deleteAttachment
(DeleteAttachmentRequest deleteAttachmentRequest) Deletes an attachment.default DeleteConnectionResponse
deleteConnection
(Consumer<DeleteConnectionRequest.Builder> deleteConnectionRequest) Deletes the specified connection in your global network.default DeleteConnectionResponse
deleteConnection
(DeleteConnectionRequest deleteConnectionRequest) Deletes the specified connection in your global network.default DeleteConnectPeerResponse
deleteConnectPeer
(Consumer<DeleteConnectPeerRequest.Builder> deleteConnectPeerRequest) Deletes a Connect peer.default DeleteConnectPeerResponse
deleteConnectPeer
(DeleteConnectPeerRequest deleteConnectPeerRequest) Deletes a Connect peer.default DeleteCoreNetworkResponse
deleteCoreNetwork
(Consumer<DeleteCoreNetworkRequest.Builder> deleteCoreNetworkRequest) Deletes a core network along with all core network policies.default DeleteCoreNetworkResponse
deleteCoreNetwork
(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 DeleteDeviceResponse
deleteDevice
(Consumer<DeleteDeviceRequest.Builder> deleteDeviceRequest) Deletes an existing device.default DeleteDeviceResponse
deleteDevice
(DeleteDeviceRequest deleteDeviceRequest) Deletes an existing device.default DeleteGlobalNetworkResponse
deleteGlobalNetwork
(Consumer<DeleteGlobalNetworkRequest.Builder> deleteGlobalNetworkRequest) Deletes an existing global network.default DeleteGlobalNetworkResponse
deleteGlobalNetwork
(DeleteGlobalNetworkRequest deleteGlobalNetworkRequest) Deletes an existing global network.default DeleteLinkResponse
deleteLink
(Consumer<DeleteLinkRequest.Builder> deleteLinkRequest) Deletes an existing link.default DeleteLinkResponse
deleteLink
(DeleteLinkRequest deleteLinkRequest) Deletes an existing link.default DeletePeeringResponse
deletePeering
(Consumer<DeletePeeringRequest.Builder> deletePeeringRequest) Deletes an existing peering connection.default DeletePeeringResponse
deletePeering
(DeletePeeringRequest deletePeeringRequest) Deletes an existing peering connection.default DeleteResourcePolicyResponse
deleteResourcePolicy
(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) Deletes a resource policy for the specified resource.default DeleteResourcePolicyResponse
deleteResourcePolicy
(DeleteResourcePolicyRequest deleteResourcePolicyRequest) Deletes a resource policy for the specified resource.default DeleteSiteResponse
deleteSite
(Consumer<DeleteSiteRequest.Builder> deleteSiteRequest) Deletes an existing site.default DeleteSiteResponse
deleteSite
(DeleteSiteRequest deleteSiteRequest) Deletes an existing site.default DeregisterTransitGatewayResponse
deregisterTransitGateway
(Consumer<DeregisterTransitGatewayRequest.Builder> deregisterTransitGatewayRequest) Deregisters a transit gateway from your global network.default DeregisterTransitGatewayResponse
deregisterTransitGateway
(DeregisterTransitGatewayRequest deregisterTransitGatewayRequest) Deregisters a transit gateway from your global network.default DescribeGlobalNetworksResponse
describeGlobalNetworks
(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest) Describes one or more global networks.default DescribeGlobalNetworksResponse
describeGlobalNetworks
(DescribeGlobalNetworksRequest describeGlobalNetworksRequest) Describes one or more global networks.default DescribeGlobalNetworksIterable
describeGlobalNetworksPaginator
(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest) This is a variant ofdescribeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation.default DescribeGlobalNetworksIterable
describeGlobalNetworksPaginator
(DescribeGlobalNetworksRequest describeGlobalNetworksRequest) This is a variant ofdescribeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation.default DisassociateConnectPeerResponse
disassociateConnectPeer
(Consumer<DisassociateConnectPeerRequest.Builder> disassociateConnectPeerRequest) Disassociates a core network Connect peer from a device and a link.default DisassociateConnectPeerResponse
disassociateConnectPeer
(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 DisassociateLinkResponse
disassociateLink
(Consumer<DisassociateLinkRequest.Builder> disassociateLinkRequest) Disassociates an existing device from a link.default DisassociateLinkResponse
disassociateLink
(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 GetConnectAttachmentResponse
getConnectAttachment
(Consumer<GetConnectAttachmentRequest.Builder> getConnectAttachmentRequest) Returns information about a core network Connect attachment.default GetConnectAttachmentResponse
getConnectAttachment
(GetConnectAttachmentRequest getConnectAttachmentRequest) Returns information about a core network Connect attachment.default GetConnectionsResponse
getConnections
(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest) Gets information about one or more of your connections in a global network.default GetConnectionsResponse
getConnections
(GetConnectionsRequest getConnectionsRequest) Gets information about one or more of your connections in a global network.default GetConnectionsIterable
getConnectionsPaginator
(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest) This is a variant ofgetConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest)
operation.default GetConnectionsIterable
getConnectionsPaginator
(GetConnectionsRequest getConnectionsRequest) This is a variant ofgetConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest)
operation.default GetConnectPeerResponse
getConnectPeer
(Consumer<GetConnectPeerRequest.Builder> getConnectPeerRequest) Returns information about a core network Connect peer.default GetConnectPeerResponse
getConnectPeer
(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 GetCoreNetworkResponse
getCoreNetwork
(Consumer<GetCoreNetworkRequest.Builder> getCoreNetworkRequest) Returns information about the LIVE policy for a core network.default GetCoreNetworkResponse
getCoreNetwork
(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 GetCoreNetworkChangeSetResponse
getCoreNetworkChangeSet
(Consumer<GetCoreNetworkChangeSetRequest.Builder> getCoreNetworkChangeSetRequest) Returns a change set between the LIVE core network policy and a submitted policy.default GetCoreNetworkChangeSetResponse
getCoreNetworkChangeSet
(GetCoreNetworkChangeSetRequest getCoreNetworkChangeSetRequest) Returns a change set between the LIVE core network policy and a submitted policy.default GetCoreNetworkChangeSetIterable
getCoreNetworkChangeSetPaginator
(Consumer<GetCoreNetworkChangeSetRequest.Builder> getCoreNetworkChangeSetRequest) This is a variant ofgetCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)
operation.default GetCoreNetworkChangeSetIterable
getCoreNetworkChangeSetPaginator
(GetCoreNetworkChangeSetRequest getCoreNetworkChangeSetRequest) This is a variant ofgetCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)
operation.default GetCoreNetworkPolicyResponse
getCoreNetworkPolicy
(Consumer<GetCoreNetworkPolicyRequest.Builder> getCoreNetworkPolicyRequest) Returns details about a core network policy.default GetCoreNetworkPolicyResponse
getCoreNetworkPolicy
(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 GetDevicesResponse
getDevices
(Consumer<GetDevicesRequest.Builder> getDevicesRequest) Gets information about one or more of your devices in a global network.default GetDevicesResponse
getDevices
(GetDevicesRequest getDevicesRequest) Gets information about one or more of your devices in a global network.default GetDevicesIterable
getDevicesPaginator
(Consumer<GetDevicesRequest.Builder> getDevicesRequest) This is a variant ofgetDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest)
operation.default GetDevicesIterable
getDevicesPaginator
(GetDevicesRequest getDevicesRequest) This is a variant ofgetDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest)
operation.default GetLinkAssociationsResponse
getLinkAssociations
(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest) Gets the link associations for a device or a link.default GetLinkAssociationsResponse
getLinkAssociations
(GetLinkAssociationsRequest getLinkAssociationsRequest) Gets the link associations for a device or a link.default GetLinkAssociationsIterable
getLinkAssociationsPaginator
(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest) This is a variant ofgetLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation.default GetLinkAssociationsIterable
getLinkAssociationsPaginator
(GetLinkAssociationsRequest getLinkAssociationsRequest) This is a variant ofgetLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation.default GetLinksResponse
getLinks
(Consumer<GetLinksRequest.Builder> getLinksRequest) Gets information about one or more links in a specified global network.default GetLinksResponse
getLinks
(GetLinksRequest getLinksRequest) Gets information about one or more links in a specified global network.default GetLinksIterable
getLinksPaginator
(Consumer<GetLinksRequest.Builder> getLinksRequest) This is a variant ofgetLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest)
operation.default GetLinksIterable
getLinksPaginator
(GetLinksRequest getLinksRequest) This is a variant ofgetLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest)
operation.default GetNetworkResourceCountsResponse
getNetworkResourceCounts
(Consumer<GetNetworkResourceCountsRequest.Builder> getNetworkResourceCountsRequest) Gets the count of network resources, by resource type, for the specified global network.default GetNetworkResourceCountsResponse
getNetworkResourceCounts
(GetNetworkResourceCountsRequest getNetworkResourceCountsRequest) Gets the count of network resources, by resource type, for the specified global network.default GetNetworkResourceCountsIterable
getNetworkResourceCountsPaginator
(Consumer<GetNetworkResourceCountsRequest.Builder> getNetworkResourceCountsRequest) This is a variant ofgetNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest)
operation.default GetNetworkResourceCountsIterable
getNetworkResourceCountsPaginator
(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 GetNetworkResourcesResponse
getNetworkResources
(Consumer<GetNetworkResourcesRequest.Builder> getNetworkResourcesRequest) Describes the network resources for the specified global network.default GetNetworkResourcesResponse
getNetworkResources
(GetNetworkResourcesRequest getNetworkResourcesRequest) Describes the network resources for the specified global network.default GetNetworkResourcesIterable
getNetworkResourcesPaginator
(Consumer<GetNetworkResourcesRequest.Builder> getNetworkResourcesRequest) This is a variant ofgetNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)
operation.default GetNetworkResourcesIterable
getNetworkResourcesPaginator
(GetNetworkResourcesRequest getNetworkResourcesRequest) This is a variant ofgetNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)
operation.default GetNetworkRoutesResponse
getNetworkRoutes
(Consumer<GetNetworkRoutesRequest.Builder> getNetworkRoutesRequest) Gets the network routes of the specified global network.default GetNetworkRoutesResponse
getNetworkRoutes
(GetNetworkRoutesRequest getNetworkRoutesRequest) Gets the network routes of the specified global network.default GetNetworkTelemetryResponse
getNetworkTelemetry
(Consumer<GetNetworkTelemetryRequest.Builder> getNetworkTelemetryRequest) Gets the network telemetry of the specified global network.default GetNetworkTelemetryResponse
getNetworkTelemetry
(GetNetworkTelemetryRequest getNetworkTelemetryRequest) Gets the network telemetry of the specified global network.default GetNetworkTelemetryIterable
getNetworkTelemetryPaginator
(Consumer<GetNetworkTelemetryRequest.Builder> getNetworkTelemetryRequest) This is a variant ofgetNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)
operation.default GetNetworkTelemetryIterable
getNetworkTelemetryPaginator
(GetNetworkTelemetryRequest getNetworkTelemetryRequest) This is a variant ofgetNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)
operation.default GetResourcePolicyResponse
getResourcePolicy
(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Returns information about a resource policy.default GetResourcePolicyResponse
getResourcePolicy
(GetResourcePolicyRequest getResourcePolicyRequest) Returns information about a resource policy.default GetRouteAnalysisResponse
getRouteAnalysis
(Consumer<GetRouteAnalysisRequest.Builder> getRouteAnalysisRequest) Gets information about the specified route analysis.default GetRouteAnalysisResponse
getRouteAnalysis
(GetRouteAnalysisRequest getRouteAnalysisRequest) Gets information about the specified route analysis.default GetSitesResponse
getSites
(Consumer<GetSitesRequest.Builder> getSitesRequest) Gets information about one or more of your sites in a global network.default GetSitesResponse
getSites
(GetSitesRequest getSitesRequest) Gets information about one or more of your sites in a global network.default GetSitesIterable
getSitesPaginator
(Consumer<GetSitesRequest.Builder> getSitesRequest) This is a variant ofgetSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest)
operation.default GetSitesIterable
getSitesPaginator
(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 GetTransitGatewayPeeringResponse
getTransitGatewayPeering
(Consumer<GetTransitGatewayPeeringRequest.Builder> getTransitGatewayPeeringRequest) Returns information about a transit gateway peer.default GetTransitGatewayPeeringResponse
getTransitGatewayPeering
(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 GetVpcAttachmentResponse
getVpcAttachment
(Consumer<GetVpcAttachmentRequest.Builder> getVpcAttachmentRequest) Returns information about a VPC attachment.default GetVpcAttachmentResponse
getVpcAttachment
(GetVpcAttachmentRequest getVpcAttachmentRequest) Returns information about a VPC attachment.default ListAttachmentsResponse
listAttachments
(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest) Returns a list of core network attachments.default ListAttachmentsResponse
listAttachments
(ListAttachmentsRequest listAttachmentsRequest) Returns a list of core network attachments.default ListAttachmentsIterable
listAttachmentsPaginator
(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest) This is a variant oflistAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest)
operation.default ListAttachmentsIterable
listAttachmentsPaginator
(ListAttachmentsRequest listAttachmentsRequest) This is a variant oflistAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest)
operation.default ListConnectPeersResponse
listConnectPeers
(Consumer<ListConnectPeersRequest.Builder> listConnectPeersRequest) Returns a list of core network Connect peers.default ListConnectPeersResponse
listConnectPeers
(ListConnectPeersRequest listConnectPeersRequest) Returns a list of core network Connect peers.default ListConnectPeersIterable
listConnectPeersPaginator
(Consumer<ListConnectPeersRequest.Builder> listConnectPeersRequest) This is a variant oflistConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest)
operation.default ListConnectPeersIterable
listConnectPeersPaginator
(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 ListCoreNetworksResponse
listCoreNetworks
(Consumer<ListCoreNetworksRequest.Builder> listCoreNetworksRequest) Returns a list of owned and shared core networks.default ListCoreNetworksResponse
listCoreNetworks
(ListCoreNetworksRequest listCoreNetworksRequest) Returns a list of owned and shared core networks.default ListCoreNetworksIterable
listCoreNetworksPaginator
(Consumer<ListCoreNetworksRequest.Builder> listCoreNetworksRequest) This is a variant oflistCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest)
operation.default ListCoreNetworksIterable
listCoreNetworksPaginator
(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 ListPeeringsResponse
listPeerings
(Consumer<ListPeeringsRequest.Builder> listPeeringsRequest) Lists the peerings for a core network.default ListPeeringsResponse
listPeerings
(ListPeeringsRequest listPeeringsRequest) Lists the peerings for a core network.default ListPeeringsIterable
listPeeringsPaginator
(Consumer<ListPeeringsRequest.Builder> listPeeringsRequest) This is a variant oflistPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest)
operation.default ListPeeringsIterable
listPeeringsPaginator
(ListPeeringsRequest listPeeringsRequest) This is a variant oflistPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for a specified resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for a specified resource.default PutCoreNetworkPolicyResponse
putCoreNetworkPolicy
(Consumer<PutCoreNetworkPolicyRequest.Builder> putCoreNetworkPolicyRequest) Creates a new, immutable version of a core network policy.default PutCoreNetworkPolicyResponse
putCoreNetworkPolicy
(PutCoreNetworkPolicyRequest putCoreNetworkPolicyRequest) Creates a new, immutable version of a core network policy.default PutResourcePolicyResponse
putResourcePolicy
(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) Creates or updates a resource policy.default PutResourcePolicyResponse
putResourcePolicy
(PutResourcePolicyRequest putResourcePolicyRequest) Creates or updates a resource policy.default RegisterTransitGatewayResponse
registerTransitGateway
(Consumer<RegisterTransitGatewayRequest.Builder> registerTransitGatewayRequest) Registers a transit gateway in your global network.default RegisterTransitGatewayResponse
registerTransitGateway
(RegisterTransitGatewayRequest registerTransitGatewayRequest) Registers a transit gateway in your global network.default RejectAttachmentResponse
rejectAttachment
(Consumer<RejectAttachmentRequest.Builder> rejectAttachmentRequest) Rejects a core network attachment request.default RejectAttachmentResponse
rejectAttachment
(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 ServiceMetadata
startOrganizationServiceAccessUpdate
(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 StartRouteAnalysisResponse
startRouteAnalysis
(Consumer<StartRouteAnalysisRequest.Builder> startRouteAnalysisRequest) Starts analyzing the routing path between the specified source and destination.default StartRouteAnalysisResponse
startRouteAnalysis
(StartRouteAnalysisRequest startRouteAnalysisRequest) Starts analyzing the routing path between the specified source and destination.default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tags a specified resource.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Tags a specified resource.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a specified resource.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Removes tags from a specified resource.default UpdateConnectionResponse
updateConnection
(Consumer<UpdateConnectionRequest.Builder> updateConnectionRequest) Updates the information for an existing connection.default UpdateConnectionResponse
updateConnection
(UpdateConnectionRequest updateConnectionRequest) Updates the information for an existing connection.default UpdateCoreNetworkResponse
updateCoreNetwork
(Consumer<UpdateCoreNetworkRequest.Builder> updateCoreNetworkRequest) Updates the description of a core network.default UpdateCoreNetworkResponse
updateCoreNetwork
(UpdateCoreNetworkRequest updateCoreNetworkRequest) Updates the description of a core network.default UpdateDeviceResponse
updateDevice
(Consumer<UpdateDeviceRequest.Builder> updateDeviceRequest) Updates the details for an existing device.default UpdateDeviceResponse
updateDevice
(UpdateDeviceRequest updateDeviceRequest) Updates the details for an existing device.default UpdateGlobalNetworkResponse
updateGlobalNetwork
(Consumer<UpdateGlobalNetworkRequest.Builder> updateGlobalNetworkRequest) Updates an existing global network.default UpdateGlobalNetworkResponse
updateGlobalNetwork
(UpdateGlobalNetworkRequest updateGlobalNetworkRequest) Updates an existing global network.default UpdateLinkResponse
updateLink
(Consumer<UpdateLinkRequest.Builder> updateLinkRequest) Updates the details for an existing link.default UpdateLinkResponse
updateLink
(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 UpdateSiteResponse
updateSite
(Consumer<UpdateSiteRequest.Builder> updateSiteRequest) Updates the information for an existing site.default UpdateSiteResponse
updateSite
(UpdateSiteRequest updateSiteRequest) Updates the information for an existing site.default UpdateVpcAttachmentResponse
updateVpcAttachment
(Consumer<UpdateVpcAttachmentRequest.Builder> updateVpcAttachmentRequest) Updates a VPC attachment.default UpdateVpcAttachmentResponse
updateVpcAttachment
(UpdateVpcAttachmentRequest updateVpcAttachmentRequest) Updates a VPC attachment.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods 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.Builder
avoiding the need to create one manually viaAcceptAttachmentRequest.builder()
- Parameters:
acceptAttachmentRequest
- AConsumer
that will call methods onAcceptAttachmentRequest.Builder
to 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.Builder
avoiding the need to create one manually viaAssociateConnectPeerRequest.builder()
- Parameters:
associateConnectPeerRequest
- AConsumer
that will call methods onAssociateConnectPeerRequest.Builder
to 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.Builder
avoiding the need to create one manually viaAssociateCustomerGatewayRequest.builder()
- Parameters:
associateCustomerGatewayRequest
- AConsumer
that will call methods onAssociateCustomerGatewayRequest.Builder
to 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.Builder
avoiding the need to create one manually viaAssociateLinkRequest.builder()
- Parameters:
associateLinkRequest
- AConsumer
that will call methods onAssociateLinkRequest.Builder
to 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.Builder
avoiding the need to create one manually viaAssociateTransitGatewayConnectPeerRequest.builder()
- Parameters:
associateTransitGatewayConnectPeerRequest
- AConsumer
that will call methods onAssociateTransitGatewayConnectPeerRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateConnectAttachmentRequest.builder()
- Parameters:
createConnectAttachmentRequest
- AConsumer
that will call methods onCreateConnectAttachmentRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateConnectPeerRequest.builder()
- Parameters:
createConnectPeerRequest
- AConsumer
that will call methods onCreateConnectPeerRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateConnectionRequest.builder()
- Parameters:
createConnectionRequest
- AConsumer
that will call methods onCreateConnectionRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateCoreNetworkRequest.builder()
- Parameters:
createCoreNetworkRequest
- AConsumer
that will call methods onCreateCoreNetworkRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateDeviceRequest.builder()
- Parameters:
createDeviceRequest
- AConsumer
that will call methods onCreateDeviceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateGlobalNetworkRequest.builder()
- Parameters:
createGlobalNetworkRequest
- AConsumer
that will call methods onCreateGlobalNetworkRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateLinkRequest.builder()
- Parameters:
createLinkRequest
- AConsumer
that will call methods onCreateLinkRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateSiteRequest.builder()
- Parameters:
createSiteRequest
- AConsumer
that will call methods onCreateSiteRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateSiteToSiteVpnAttachmentRequest.builder()
- Parameters:
createSiteToSiteVpnAttachmentRequest
- AConsumer
that will call methods onCreateSiteToSiteVpnAttachmentRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateTransitGatewayPeeringRequest.builder()
- Parameters:
createTransitGatewayPeeringRequest
- AConsumer
that will call methods onCreateTransitGatewayPeeringRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateTransitGatewayRouteTableAttachmentRequest.builder()
- Parameters:
createTransitGatewayRouteTableAttachmentRequest
- AConsumer
that will call methods onCreateTransitGatewayRouteTableAttachmentRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateVpcAttachmentRequest.builder()
- Parameters:
createVpcAttachmentRequest
- AConsumer
that will call methods onCreateVpcAttachmentRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteAttachmentRequest.builder()
- Parameters:
deleteAttachmentRequest
- AConsumer
that will call methods onDeleteAttachmentRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteConnectPeerRequest.builder()
- Parameters:
deleteConnectPeerRequest
- AConsumer
that will call methods onDeleteConnectPeerRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteConnectionRequest.builder()
- Parameters:
deleteConnectionRequest
- AConsumer
that will call methods onDeleteConnectionRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteCoreNetworkRequest.builder()
- Parameters:
deleteCoreNetworkRequest
- AConsumer
that will call methods onDeleteCoreNetworkRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteCoreNetworkPolicyVersionRequest.builder()
- Parameters:
deleteCoreNetworkPolicyVersionRequest
- AConsumer
that will call methods onDeleteCoreNetworkPolicyVersionRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteDeviceRequest.builder()
- Parameters:
deleteDeviceRequest
- AConsumer
that will call methods onDeleteDeviceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteGlobalNetworkRequest.builder()
- Parameters:
deleteGlobalNetworkRequest
- AConsumer
that will call methods onDeleteGlobalNetworkRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteLinkRequest.builder()
- Parameters:
deleteLinkRequest
- AConsumer
that will call methods onDeleteLinkRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeletePeeringRequest.builder()
- Parameters:
deletePeeringRequest
- AConsumer
that will call methods onDeletePeeringRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()
- Parameters:
deleteResourcePolicyRequest
- AConsumer
that will call methods onDeleteResourcePolicyRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteSiteRequest.builder()
- Parameters:
deleteSiteRequest
- AConsumer
that will call methods onDeleteSiteRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeregisterTransitGatewayRequest.builder()
- Parameters:
deregisterTransitGatewayRequest
- AConsumer
that will call methods onDeregisterTransitGatewayRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDescribeGlobalNetworksRequest.builder()
- Parameters:
describeGlobalNetworksRequest
- AConsumer
that will call methods onDescribeGlobalNetworksRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaDescribeGlobalNetworksRequest.builder()
- Parameters:
describeGlobalNetworksRequest
- AConsumer
that will call methods onDescribeGlobalNetworksRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDisassociateConnectPeerRequest.builder()
- Parameters:
disassociateConnectPeerRequest
- AConsumer
that will call methods onDisassociateConnectPeerRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDisassociateCustomerGatewayRequest.builder()
- Parameters:
disassociateCustomerGatewayRequest
- AConsumer
that will call methods onDisassociateCustomerGatewayRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDisassociateLinkRequest.builder()
- Parameters:
disassociateLinkRequest
- AConsumer
that will call methods onDisassociateLinkRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDisassociateTransitGatewayConnectPeerRequest.builder()
- Parameters:
disassociateTransitGatewayConnectPeerRequest
- AConsumer
that will call methods onDisassociateTransitGatewayConnectPeerRequest.Builder
to 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.Builder
avoiding the need to create one manually viaExecuteCoreNetworkChangeSetRequest.builder()
- Parameters:
executeCoreNetworkChangeSetRequest
- AConsumer
that will call methods onExecuteCoreNetworkChangeSetRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetConnectAttachmentRequest.builder()
- Parameters:
getConnectAttachmentRequest
- AConsumer
that will call methods onGetConnectAttachmentRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetConnectPeerRequest.builder()
- Parameters:
getConnectPeerRequest
- AConsumer
that will call methods onGetConnectPeerRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetConnectPeerAssociationsRequest.builder()
- Parameters:
getConnectPeerAssociationsRequest
- AConsumer
that will call methods onGetConnectPeerAssociationsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaGetConnectPeerAssociationsRequest.builder()
- Parameters:
getConnectPeerAssociationsRequest
- AConsumer
that will call methods onGetConnectPeerAssociationsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetConnectionsRequest.builder()
- Parameters:
getConnectionsRequest
- AConsumer
that will call methods onGetConnectionsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaGetConnectionsRequest.builder()
- Parameters:
getConnectionsRequest
- AConsumer
that will call methods onGetConnectionsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetCoreNetworkRequest.builder()
- Parameters:
getCoreNetworkRequest
- AConsumer
that will call methods onGetCoreNetworkRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetCoreNetworkChangeEventsRequest.builder()
- Parameters:
getCoreNetworkChangeEventsRequest
- AConsumer
that will call methods onGetCoreNetworkChangeEventsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaGetCoreNetworkChangeEventsRequest.builder()
- Parameters:
getCoreNetworkChangeEventsRequest
- AConsumer
that will call methods onGetCoreNetworkChangeEventsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetCoreNetworkChangeSetRequest.builder()
- Parameters:
getCoreNetworkChangeSetRequest
- AConsumer
that will call methods onGetCoreNetworkChangeSetRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaGetCoreNetworkChangeSetRequest.builder()
- Parameters:
getCoreNetworkChangeSetRequest
- AConsumer
that will call methods onGetCoreNetworkChangeSetRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetCoreNetworkPolicyRequest.builder()
- Parameters:
getCoreNetworkPolicyRequest
- AConsumer
that will call methods onGetCoreNetworkPolicyRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetCustomerGatewayAssociationsRequest.builder()
- Parameters:
getCustomerGatewayAssociationsRequest
- AConsumer
that will call methods onGetCustomerGatewayAssociationsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaGetCustomerGatewayAssociationsRequest.builder()
- Parameters:
getCustomerGatewayAssociationsRequest
- AConsumer
that will call methods onGetCustomerGatewayAssociationsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetDevicesRequest.builder()
- Parameters:
getDevicesRequest
- AConsumer
that will call methods onGetDevicesRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaGetDevicesRequest.builder()
- Parameters:
getDevicesRequest
- AConsumer
that will call methods onGetDevicesRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetLinkAssociationsRequest.builder()
- Parameters:
getLinkAssociationsRequest
- AConsumer
that will call methods onGetLinkAssociationsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaGetLinkAssociationsRequest.builder()
- Parameters:
getLinkAssociationsRequest
- AConsumer
that will call methods onGetLinkAssociationsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetLinksRequest.builder()
- Parameters:
getLinksRequest
- AConsumer
that will call methods onGetLinksRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaGetLinksRequest.builder()
- Parameters:
getLinksRequest
- AConsumer
that will call methods onGetLinksRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetNetworkResourceCountsRequest.builder()
- Parameters:
getNetworkResourceCountsRequest
- AConsumer
that will call methods onGetNetworkResourceCountsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaGetNetworkResourceCountsRequest.builder()
- Parameters:
getNetworkResourceCountsRequest
- AConsumer
that will call methods onGetNetworkResourceCountsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetNetworkResourceRelationshipsRequest.builder()
- Parameters:
getNetworkResourceRelationshipsRequest
- AConsumer
that will call methods onGetNetworkResourceRelationshipsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaGetNetworkResourceRelationshipsRequest.builder()
- Parameters:
getNetworkResourceRelationshipsRequest
- AConsumer
that will call methods onGetNetworkResourceRelationshipsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetNetworkResourcesRequest.builder()
- Parameters:
getNetworkResourcesRequest
- AConsumer
that will call methods onGetNetworkResourcesRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaGetNetworkResourcesRequest.builder()
- Parameters:
getNetworkResourcesRequest
- AConsumer
that will call methods onGetNetworkResourcesRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetNetworkRoutesRequest.builder()
- Parameters:
getNetworkRoutesRequest
- AConsumer
that will call methods onGetNetworkRoutesRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetNetworkTelemetryRequest.builder()
- Parameters:
getNetworkTelemetryRequest
- AConsumer
that will call methods onGetNetworkTelemetryRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaGetNetworkTelemetryRequest.builder()
- Parameters:
getNetworkTelemetryRequest
- AConsumer
that will call methods onGetNetworkTelemetryRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetResourcePolicyRequest.builder()
- Parameters:
getResourcePolicyRequest
- AConsumer
that will call methods onGetResourcePolicyRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetRouteAnalysisRequest.builder()
- Parameters:
getRouteAnalysisRequest
- AConsumer
that will call methods onGetRouteAnalysisRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetSiteToSiteVpnAttachmentRequest.builder()
- Parameters:
getSiteToSiteVpnAttachmentRequest
- AConsumer
that will call methods onGetSiteToSiteVpnAttachmentRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetSitesRequest.builder()
- Parameters:
getSitesRequest
- AConsumer
that will call methods onGetSitesRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaGetSitesRequest.builder()
- Parameters:
getSitesRequest
- AConsumer
that will call methods onGetSitesRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetTransitGatewayConnectPeerAssociationsRequest.builder()
- Parameters:
getTransitGatewayConnectPeerAssociationsRequest
- AConsumer
that will call methods onGetTransitGatewayConnectPeerAssociationsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaGetTransitGatewayConnectPeerAssociationsRequest.builder()
- Parameters:
getTransitGatewayConnectPeerAssociationsRequest
- AConsumer
that will call methods onGetTransitGatewayConnectPeerAssociationsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetTransitGatewayPeeringRequest.builder()
- Parameters:
getTransitGatewayPeeringRequest
- AConsumer
that will call methods onGetTransitGatewayPeeringRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetTransitGatewayRegistrationsRequest.builder()
- Parameters:
getTransitGatewayRegistrationsRequest
- AConsumer
that will call methods onGetTransitGatewayRegistrationsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaGetTransitGatewayRegistrationsRequest.builder()
- Parameters:
getTransitGatewayRegistrationsRequest
- AConsumer
that will call methods onGetTransitGatewayRegistrationsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetTransitGatewayRouteTableAttachmentRequest.builder()
- Parameters:
getTransitGatewayRouteTableAttachmentRequest
- AConsumer
that will call methods onGetTransitGatewayRouteTableAttachmentRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetVpcAttachmentRequest.builder()
- Parameters:
getVpcAttachmentRequest
- AConsumer
that will call methods onGetVpcAttachmentRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListAttachmentsRequest.builder()
- Parameters:
listAttachmentsRequest
- AConsumer
that will call methods onListAttachmentsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListAttachmentsRequest.builder()
- Parameters:
listAttachmentsRequest
- AConsumer
that will call methods onListAttachmentsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListConnectPeersRequest.builder()
- Parameters:
listConnectPeersRequest
- AConsumer
that will call methods onListConnectPeersRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListConnectPeersRequest.builder()
- Parameters:
listConnectPeersRequest
- AConsumer
that will call methods onListConnectPeersRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListCoreNetworkPolicyVersionsRequest.builder()
- Parameters:
listCoreNetworkPolicyVersionsRequest
- AConsumer
that will call methods onListCoreNetworkPolicyVersionsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListCoreNetworkPolicyVersionsRequest.builder()
- Parameters:
listCoreNetworkPolicyVersionsRequest
- AConsumer
that will call methods onListCoreNetworkPolicyVersionsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListCoreNetworksRequest.builder()
- Parameters:
listCoreNetworksRequest
- AConsumer
that will call methods onListCoreNetworksRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListCoreNetworksRequest.builder()
- Parameters:
listCoreNetworksRequest
- AConsumer
that will call methods onListCoreNetworksRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListOrganizationServiceAccessStatusRequest.builder()
- Parameters:
listOrganizationServiceAccessStatusRequest
- AConsumer
that will call methods onListOrganizationServiceAccessStatusRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListPeeringsRequest.builder()
- Parameters:
listPeeringsRequest
- AConsumer
that will call methods onListPeeringsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListPeeringsRequest.builder()
- Parameters:
listPeeringsRequest
- AConsumer
that will call methods onListPeeringsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaPutCoreNetworkPolicyRequest.builder()
- Parameters:
putCoreNetworkPolicyRequest
- AConsumer
that will call methods onPutCoreNetworkPolicyRequest.Builder
to 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.Builder
avoiding the need to create one manually viaPutResourcePolicyRequest.builder()
- Parameters:
putResourcePolicyRequest
- AConsumer
that will call methods onPutResourcePolicyRequest.Builder
to 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.Builder
avoiding the need to create one manually viaRegisterTransitGatewayRequest.builder()
- Parameters:
registerTransitGatewayRequest
- AConsumer
that will call methods onRegisterTransitGatewayRequest.Builder
to 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.Builder
avoiding the need to create one manually viaRejectAttachmentRequest.builder()
- Parameters:
rejectAttachmentRequest
- AConsumer
that will call methods onRejectAttachmentRequest.Builder
to 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.Builder
avoiding the need to create one manually viaRestoreCoreNetworkPolicyVersionRequest.builder()
- Parameters:
restoreCoreNetworkPolicyVersionRequest
- AConsumer
that will call methods onRestoreCoreNetworkPolicyVersionRequest.Builder
to 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.Builder
avoiding the need to create one manually viaStartOrganizationServiceAccessUpdateRequest.builder()
- Parameters:
startOrganizationServiceAccessUpdateRequest
- AConsumer
that will call methods onStartOrganizationServiceAccessUpdateRequest.Builder
to 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.Builder
avoiding the need to create one manually viaStartRouteAnalysisRequest.builder()
- Parameters:
startRouteAnalysisRequest
- AConsumer
that will call methods onStartRouteAnalysisRequest.Builder
to 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.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUpdateConnectionRequest.builder()
- Parameters:
updateConnectionRequest
- AConsumer
that will call methods onUpdateConnectionRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUpdateCoreNetworkRequest.builder()
- Parameters:
updateCoreNetworkRequest
- AConsumer
that will call methods onUpdateCoreNetworkRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUpdateDeviceRequest.builder()
- Parameters:
updateDeviceRequest
- AConsumer
that will call methods onUpdateDeviceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUpdateGlobalNetworkRequest.builder()
- Parameters:
updateGlobalNetworkRequest
- AConsumer
that will call methods onUpdateGlobalNetworkRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUpdateLinkRequest.builder()
- Parameters:
updateLinkRequest
- AConsumer
that will call methods onUpdateLinkRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUpdateNetworkResourceMetadataRequest.builder()
- Parameters:
updateNetworkResourceMetadataRequest
- AConsumer
that will call methods onUpdateNetworkResourceMetadataRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUpdateSiteRequest.builder()
- Parameters:
updateSiteRequest
- AConsumer
that will call methods onUpdateSiteRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUpdateVpcAttachmentRequest.builder()
- Parameters:
updateVpcAttachmentRequest
- AConsumer
that will call methods onUpdateVpcAttachmentRequest.Builder
to create a request.- Returns:
- Result of the UpdateVpcAttachment operation returned by the service.
- See Also:
-
create
Create aNetworkManagerClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aNetworkManagerClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-