Interface BackupExternalClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
Provides operations to manage appliances, resource providers, and resource targets in AWS Backup External.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateDiskResponseassociateDisk(Consumer<AssociateDiskRequest.Builder> associateDiskRequest) Associates a disk with the specified appliance node for data or metadata storage.default AssociateDiskResponseassociateDisk(AssociateDiskRequest associateDiskRequest) Associates a disk with the specified appliance node for data or metadata storage.static BackupExternalClientBuilderbuilder()Create a builder that can be used to configure and create aBackupExternalClient.static BackupExternalClientcreate()Create aBackupExternalClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateApplianceResponsecreateAppliance(Consumer<CreateApplianceRequest.Builder> createApplianceRequest) Creates an appliance with the specified network configuration and returns its activation information.default CreateApplianceResponsecreateAppliance(CreateApplianceRequest createApplianceRequest) Creates an appliance with the specified network configuration and returns its activation information.default CreateResourceProviderResponsecreateResourceProvider(Consumer<CreateResourceProviderRequest.Builder> createResourceProviderRequest) Creates a resource provider on the specified appliance with configuration for the provider and its resource targets.default CreateResourceProviderResponsecreateResourceProvider(CreateResourceProviderRequest createResourceProviderRequest) Creates a resource provider on the specified appliance with configuration for the provider and its resource targets.default DeleteApplianceResponsedeleteAppliance(Consumer<DeleteApplianceRequest.Builder> deleteApplianceRequest) Deletes the specified appliance.default DeleteApplianceResponsedeleteAppliance(DeleteApplianceRequest deleteApplianceRequest) Deletes the specified appliance.default DeleteNodeResponsedeleteNode(Consumer<DeleteNodeRequest.Builder> deleteNodeRequest) Deletes the specified node from an appliance.default DeleteNodeResponsedeleteNode(DeleteNodeRequest deleteNodeRequest) Deletes the specified node from an appliance.default DeleteResourceProviderResponsedeleteResourceProvider(Consumer<DeleteResourceProviderRequest.Builder> deleteResourceProviderRequest) Deletes the specified resource provider.default DeleteResourceProviderResponsedeleteResourceProvider(DeleteResourceProviderRequest deleteResourceProviderRequest) Deletes the specified resource provider.default DeleteResourceTargetResponsedeleteResourceTarget(Consumer<DeleteResourceTargetRequest.Builder> deleteResourceTargetRequest) Deletes the specified resource target.default DeleteResourceTargetResponsedeleteResourceTarget(DeleteResourceTargetRequest deleteResourceTargetRequest) Deletes the specified resource target.default GetActivationCredentialsResponsegetActivationCredentials(Consumer<GetActivationCredentialsRequest.Builder> getActivationCredentialsRequest) Returns activation credentials and image information for the specified appliance.default GetActivationCredentialsResponsegetActivationCredentials(GetActivationCredentialsRequest getActivationCredentialsRequest) Returns activation credentials and image information for the specified appliance.default GetAgentDownloadResponsegetAgentDownload(Consumer<GetAgentDownloadRequest.Builder> getAgentDownloadRequest) Returns the agent installer download URL and version for the specified appliance and platform.default GetAgentDownloadResponsegetAgentDownload(GetAgentDownloadRequest getAgentDownloadRequest) Returns the agent installer download URL and version for the specified appliance and platform.default GetAgentUpgradeSettingsResponsegetAgentUpgradeSettings(Consumer<GetAgentUpgradeSettingsRequest.Builder> getAgentUpgradeSettingsRequest) Retrieves the current auto-upgrade settings for an appliance.default GetAgentUpgradeSettingsResponsegetAgentUpgradeSettings(GetAgentUpgradeSettingsRequest getAgentUpgradeSettingsRequest) Retrieves the current auto-upgrade settings for an appliance.default GetApplianceResponsegetAppliance(Consumer<GetApplianceRequest.Builder> getApplianceRequest) Returns the configuration and status of the specified appliance.default GetApplianceResponsegetAppliance(GetApplianceRequest getApplianceRequest) Returns the configuration and status of the specified appliance.getApplianceSizingRecommendation(Consumer<GetApplianceSizingRecommendationRequest.Builder> getApplianceSizingRecommendationRequest) Returns appliance sizing recommendations for the specified workloads and projection period.getApplianceSizingRecommendation(GetApplianceSizingRecommendationRequest getApplianceSizingRecommendationRequest) Returns appliance sizing recommendations for the specified workloads and projection period.default GetNodeResponsegetNode(Consumer<GetNodeRequest.Builder> getNodeRequest) Returns information about the specified appliance node.default GetNodeResponsegetNode(GetNodeRequest getNodeRequest) Returns information about the specified appliance node.default GetResourceProviderResponsegetResourceProvider(Consumer<GetResourceProviderRequest.Builder> getResourceProviderRequest) Returns configuration, metadata, and status information for the specified resource provider.default GetResourceProviderResponsegetResourceProvider(GetResourceProviderRequest getResourceProviderRequest) Returns configuration, metadata, and status information for the specified resource provider.default GetResourceTargetResponsegetResourceTarget(Consumer<GetResourceTargetRequest.Builder> getResourceTargetRequest) Returns configuration, metadata, and status information for the specified resource target.default GetResourceTargetResponsegetResourceTarget(GetResourceTargetRequest getResourceTargetRequest) Returns configuration, metadata, and status information for the specified resource target.default ListAppliancesResponselistAppliances(Consumer<ListAppliancesRequest.Builder> listAppliancesRequest) Returns a list of appliances.default ListAppliancesResponselistAppliances(ListAppliancesRequest listAppliancesRequest) Returns a list of appliances.default ListAppliancesIterablelistAppliancesPaginator(Consumer<ListAppliancesRequest.Builder> listAppliancesRequest) This is a variant oflistAppliances(software.amazon.awssdk.services.backupexternal.model.ListAppliancesRequest)operation.default ListAppliancesIterablelistAppliancesPaginator(ListAppliancesRequest listAppliancesRequest) This is a variant oflistAppliances(software.amazon.awssdk.services.backupexternal.model.ListAppliancesRequest)operation.default ListDisksResponselistDisks(Consumer<ListDisksRequest.Builder> listDisksRequest) Returns a list of disks attached to the specified appliance node.default ListDisksResponselistDisks(ListDisksRequest listDisksRequest) Returns a list of disks attached to the specified appliance node.default ListDisksIterablelistDisksPaginator(Consumer<ListDisksRequest.Builder> listDisksRequest) This is a variant oflistDisks(software.amazon.awssdk.services.backupexternal.model.ListDisksRequest)operation.default ListDisksIterablelistDisksPaginator(ListDisksRequest listDisksRequest) This is a variant oflistDisks(software.amazon.awssdk.services.backupexternal.model.ListDisksRequest)operation.default ListNodesResponselistNodes(Consumer<ListNodesRequest.Builder> listNodesRequest) Returns a list of nodes belonging to the specified appliance.default ListNodesResponselistNodes(ListNodesRequest listNodesRequest) Returns a list of nodes belonging to the specified appliance.default ListNodesIterablelistNodesPaginator(Consumer<ListNodesRequest.Builder> listNodesRequest) This is a variant oflistNodes(software.amazon.awssdk.services.backupexternal.model.ListNodesRequest)operation.default ListNodesIterablelistNodesPaginator(ListNodesRequest listNodesRequest) This is a variant oflistNodes(software.amazon.awssdk.services.backupexternal.model.ListNodesRequest)operation.default ListResourceProvidersResponselistResourceProviders(Consumer<ListResourceProvidersRequest.Builder> listResourceProvidersRequest) Returns a list of resource providers, optionally filtered by appliance or provider type.default ListResourceProvidersResponselistResourceProviders(ListResourceProvidersRequest listResourceProvidersRequest) Returns a list of resource providers, optionally filtered by appliance or provider type.default ListResourceProvidersIterablelistResourceProvidersPaginator(Consumer<ListResourceProvidersRequest.Builder> listResourceProvidersRequest) This is a variant oflistResourceProviders(software.amazon.awssdk.services.backupexternal.model.ListResourceProvidersRequest)operation.default ListResourceProvidersIterablelistResourceProvidersPaginator(ListResourceProvidersRequest listResourceProvidersRequest) This is a variant oflistResourceProviders(software.amazon.awssdk.services.backupexternal.model.ListResourceProvidersRequest)operation.default ListResourceTargetsResponselistResourceTargets(Consumer<ListResourceTargetsRequest.Builder> listResourceTargetsRequest) Returns a list of resource targets, optionally filtered by resource provider or target type.default ListResourceTargetsResponselistResourceTargets(ListResourceTargetsRequest listResourceTargetsRequest) Returns a list of resource targets, optionally filtered by resource provider or target type.default ListResourceTargetsIterablelistResourceTargetsPaginator(Consumer<ListResourceTargetsRequest.Builder> listResourceTargetsRequest) This is a variant oflistResourceTargets(software.amazon.awssdk.services.backupexternal.model.ListResourceTargetsRequest)operation.default ListResourceTargetsIterablelistResourceTargetsPaginator(ListResourceTargetsRequest listResourceTargetsRequest) This is a variant oflistResourceTargets(software.amazon.awssdk.services.backupexternal.model.ListResourceTargetsRequest)operation.default ListTagsResponselistTags(Consumer<ListTagsRequest.Builder> listTagsRequest) Returns the tags associated with the specified resource.default ListTagsResponselistTags(ListTagsRequest listTagsRequest) Returns the tags associated with the specified resource.default PutAgentUpgradeSettingsResponseputAgentUpgradeSettings(Consumer<PutAgentUpgradeSettingsRequest.Builder> putAgentUpgradeSettingsRequest) Configures per-appliance daily auto-upgrade settings.default PutAgentUpgradeSettingsResponseputAgentUpgradeSettings(PutAgentUpgradeSettingsRequest putAgentUpgradeSettingsRequest) Configures per-appliance daily auto-upgrade settings.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatastartResourceProviderAgentUpgrade(Consumer<StartResourceProviderAgentUpgradeRequest.Builder> startResourceProviderAgentUpgradeRequest) Starts an agent upgrade for the specified resource provider.startResourceProviderAgentUpgrade(StartResourceProviderAgentUpgradeRequest startResourceProviderAgentUpgradeRequest) Starts an agent upgrade for the specified resource provider.startResourceProviderMigration(Consumer<StartResourceProviderMigrationRequest.Builder> startResourceProviderMigrationRequest) Starts migration of the specified resource provider to another appliance.startResourceProviderMigration(StartResourceProviderMigrationRequest startResourceProviderMigrationRequest) Starts migration of the specified resource provider to another appliance.startResourceProviderSync(Consumer<StartResourceProviderSyncRequest.Builder> startResourceProviderSyncRequest) Starts synchronization of the resource targets for the specified resource provider.startResourceProviderSync(StartResourceProviderSyncRequest startResourceProviderSyncRequest) Starts synchronization of the resource targets for the specified resource provider.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or updates tags on the specified resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds or updates tags on the specified resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the specified tags from a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes the specified tags from a resource.default UpdateApplianceResponseupdateAppliance(Consumer<UpdateApplianceRequest.Builder> updateApplianceRequest) Updates the name, configuration, or operation mode of the specified appliance.default UpdateApplianceResponseupdateAppliance(UpdateApplianceRequest updateApplianceRequest) Updates the name, configuration, or operation mode of the specified appliance.default UpdateResourceProviderResponseupdateResourceProvider(Consumer<UpdateResourceProviderRequest.Builder> updateResourceProviderRequest) Updates the configuration of the specified resource provider.default UpdateResourceProviderResponseupdateResourceProvider(UpdateResourceProviderRequest updateResourceProviderRequest) Updates the configuration of the specified resource provider.default UpdateResourceTargetResponseupdateResourceTarget(Consumer<UpdateResourceTargetRequest.Builder> updateResourceTargetRequest) Updates the name or backup configuration of the specified resource target.default UpdateResourceTargetResponseupdateResourceTarget(UpdateResourceTargetRequest updateResourceTargetRequest) Updates the name or backup configuration of the specified resource target.default VerifyNodesResponseverifyNodes(Consumer<VerifyNodesRequest.Builder> verifyNodesRequest) Verifies the specified nodes, which must have a status ofPENDING_VERIFICATION, so that they can be added to the appliance.default VerifyNodesResponseverifyNodes(VerifyNodesRequest verifyNodesRequest) Verifies the specified nodes, which must have a status ofPENDING_VERIFICATION, so that they can be added to the appliance.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
associateDisk
default AssociateDiskResponse associateDisk(AssociateDiskRequest associateDiskRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Associates a disk with the specified appliance node for data or metadata storage.
- Parameters:
associateDiskRequest-- Returns:
- Result of the AssociateDisk operation returned by the service.
- See Also:
-
associateDisk
default AssociateDiskResponse associateDisk(Consumer<AssociateDiskRequest.Builder> associateDiskRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Associates a disk with the specified appliance node for data or metadata storage.
This is a convenience which creates an instance of the
AssociateDiskRequest.Builderavoiding the need to create one manually viaAssociateDiskRequest.builder()- Parameters:
associateDiskRequest- AConsumerthat will call methods onAssociateDiskRequest.Builderto create a request.- Returns:
- Result of the AssociateDisk operation returned by the service.
- See Also:
-
createAppliance
default CreateApplianceResponse createAppliance(CreateApplianceRequest createApplianceRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Creates an appliance with the specified network configuration and returns its activation information.
- Parameters:
createApplianceRequest-- Returns:
- Result of the CreateAppliance operation returned by the service.
- See Also:
-
createAppliance
default CreateApplianceResponse createAppliance(Consumer<CreateApplianceRequest.Builder> createApplianceRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Creates an appliance with the specified network configuration and returns its activation information.
This is a convenience which creates an instance of the
CreateApplianceRequest.Builderavoiding the need to create one manually viaCreateApplianceRequest.builder()- Parameters:
createApplianceRequest- AConsumerthat will call methods onCreateApplianceRequest.Builderto create a request.- Returns:
- Result of the CreateAppliance operation returned by the service.
- See Also:
-
createResourceProvider
default CreateResourceProviderResponse createResourceProvider(CreateResourceProviderRequest createResourceProviderRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Creates a resource provider on the specified appliance with configuration for the provider and its resource targets.
- Parameters:
createResourceProviderRequest-- Returns:
- Result of the CreateResourceProvider operation returned by the service.
- See Also:
-
createResourceProvider
default CreateResourceProviderResponse createResourceProvider(Consumer<CreateResourceProviderRequest.Builder> createResourceProviderRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Creates a resource provider on the specified appliance with configuration for the provider and its resource targets.
This is a convenience which creates an instance of the
CreateResourceProviderRequest.Builderavoiding the need to create one manually viaCreateResourceProviderRequest.builder()- Parameters:
createResourceProviderRequest- AConsumerthat will call methods onCreateResourceProviderRequest.Builderto create a request.- Returns:
- Result of the CreateResourceProvider operation returned by the service.
- See Also:
-
deleteAppliance
default DeleteApplianceResponse deleteAppliance(DeleteApplianceRequest deleteApplianceRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Deletes the specified appliance.
- Parameters:
deleteApplianceRequest-- Returns:
- Result of the DeleteAppliance operation returned by the service.
- See Also:
-
deleteAppliance
default DeleteApplianceResponse deleteAppliance(Consumer<DeleteApplianceRequest.Builder> deleteApplianceRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Deletes the specified appliance.
This is a convenience which creates an instance of the
DeleteApplianceRequest.Builderavoiding the need to create one manually viaDeleteApplianceRequest.builder()- Parameters:
deleteApplianceRequest- AConsumerthat will call methods onDeleteApplianceRequest.Builderto create a request.- Returns:
- Result of the DeleteAppliance operation returned by the service.
- See Also:
-
deleteNode
default DeleteNodeResponse deleteNode(DeleteNodeRequest deleteNodeRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Deletes the specified node from an appliance.
- Parameters:
deleteNodeRequest-- Returns:
- Result of the DeleteNode operation returned by the service.
- See Also:
-
deleteNode
default DeleteNodeResponse deleteNode(Consumer<DeleteNodeRequest.Builder> deleteNodeRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Deletes the specified node from an appliance.
This is a convenience which creates an instance of the
DeleteNodeRequest.Builderavoiding the need to create one manually viaDeleteNodeRequest.builder()- Parameters:
deleteNodeRequest- AConsumerthat will call methods onDeleteNodeRequest.Builderto create a request.- Returns:
- Result of the DeleteNode operation returned by the service.
- See Also:
-
deleteResourceProvider
default DeleteResourceProviderResponse deleteResourceProvider(DeleteResourceProviderRequest deleteResourceProviderRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Deletes the specified resource provider.
- Parameters:
deleteResourceProviderRequest-- Returns:
- Result of the DeleteResourceProvider operation returned by the service.
- See Also:
-
deleteResourceProvider
default DeleteResourceProviderResponse deleteResourceProvider(Consumer<DeleteResourceProviderRequest.Builder> deleteResourceProviderRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Deletes the specified resource provider.
This is a convenience which creates an instance of the
DeleteResourceProviderRequest.Builderavoiding the need to create one manually viaDeleteResourceProviderRequest.builder()- Parameters:
deleteResourceProviderRequest- AConsumerthat will call methods onDeleteResourceProviderRequest.Builderto create a request.- Returns:
- Result of the DeleteResourceProvider operation returned by the service.
- See Also:
-
deleteResourceTarget
default DeleteResourceTargetResponse deleteResourceTarget(DeleteResourceTargetRequest deleteResourceTargetRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Deletes the specified resource target.
- Parameters:
deleteResourceTargetRequest-- Returns:
- Result of the DeleteResourceTarget operation returned by the service.
- See Also:
-
deleteResourceTarget
default DeleteResourceTargetResponse deleteResourceTarget(Consumer<DeleteResourceTargetRequest.Builder> deleteResourceTargetRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Deletes the specified resource target.
This is a convenience which creates an instance of the
DeleteResourceTargetRequest.Builderavoiding the need to create one manually viaDeleteResourceTargetRequest.builder()- Parameters:
deleteResourceTargetRequest- AConsumerthat will call methods onDeleteResourceTargetRequest.Builderto create a request.- Returns:
- Result of the DeleteResourceTarget operation returned by the service.
- See Also:
-
getActivationCredentials
default GetActivationCredentialsResponse getActivationCredentials(GetActivationCredentialsRequest getActivationCredentialsRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns activation credentials and image information for the specified appliance.
- Parameters:
getActivationCredentialsRequest-- Returns:
- Result of the GetActivationCredentials operation returned by the service.
- See Also:
-
getActivationCredentials
default GetActivationCredentialsResponse getActivationCredentials(Consumer<GetActivationCredentialsRequest.Builder> getActivationCredentialsRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns activation credentials and image information for the specified appliance.
This is a convenience which creates an instance of the
GetActivationCredentialsRequest.Builderavoiding the need to create one manually viaGetActivationCredentialsRequest.builder()- Parameters:
getActivationCredentialsRequest- AConsumerthat will call methods onGetActivationCredentialsRequest.Builderto create a request.- Returns:
- Result of the GetActivationCredentials operation returned by the service.
- See Also:
-
getAgentDownload
default GetAgentDownloadResponse getAgentDownload(GetAgentDownloadRequest getAgentDownloadRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns the agent installer download URL and version for the specified appliance and platform.
- Parameters:
getAgentDownloadRequest-- Returns:
- Result of the GetAgentDownload operation returned by the service.
- See Also:
-
getAgentDownload
default GetAgentDownloadResponse getAgentDownload(Consumer<GetAgentDownloadRequest.Builder> getAgentDownloadRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns the agent installer download URL and version for the specified appliance and platform.
This is a convenience which creates an instance of the
GetAgentDownloadRequest.Builderavoiding the need to create one manually viaGetAgentDownloadRequest.builder()- Parameters:
getAgentDownloadRequest- AConsumerthat will call methods onGetAgentDownloadRequest.Builderto create a request.- Returns:
- Result of the GetAgentDownload operation returned by the service.
- See Also:
-
getAgentUpgradeSettings
default GetAgentUpgradeSettingsResponse getAgentUpgradeSettings(GetAgentUpgradeSettingsRequest getAgentUpgradeSettingsRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Retrieves the current auto-upgrade settings for an appliance.
- Parameters:
getAgentUpgradeSettingsRequest-- Returns:
- Result of the GetAgentUpgradeSettings operation returned by the service.
- See Also:
-
getAgentUpgradeSettings
default GetAgentUpgradeSettingsResponse getAgentUpgradeSettings(Consumer<GetAgentUpgradeSettingsRequest.Builder> getAgentUpgradeSettingsRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Retrieves the current auto-upgrade settings for an appliance.
This is a convenience which creates an instance of the
GetAgentUpgradeSettingsRequest.Builderavoiding the need to create one manually viaGetAgentUpgradeSettingsRequest.builder()- Parameters:
getAgentUpgradeSettingsRequest- AConsumerthat will call methods onGetAgentUpgradeSettingsRequest.Builderto create a request.- Returns:
- Result of the GetAgentUpgradeSettings operation returned by the service.
- See Also:
-
getAppliance
default GetApplianceResponse getAppliance(GetApplianceRequest getApplianceRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns the configuration and status of the specified appliance. To retrieve the nodes belonging to the appliance, use ListNodes.
- Parameters:
getApplianceRequest-- Returns:
- Result of the GetAppliance operation returned by the service.
- See Also:
-
getAppliance
default GetApplianceResponse getAppliance(Consumer<GetApplianceRequest.Builder> getApplianceRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns the configuration and status of the specified appliance. To retrieve the nodes belonging to the appliance, use ListNodes.
This is a convenience which creates an instance of the
GetApplianceRequest.Builderavoiding the need to create one manually viaGetApplianceRequest.builder()- Parameters:
getApplianceRequest- AConsumerthat will call methods onGetApplianceRequest.Builderto create a request.- Returns:
- Result of the GetAppliance operation returned by the service.
- See Also:
-
getApplianceSizingRecommendation
default GetApplianceSizingRecommendationResponse getApplianceSizingRecommendation(GetApplianceSizingRecommendationRequest getApplianceSizingRecommendationRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns appliance sizing recommendations for the specified workloads and projection period.
- Parameters:
getApplianceSizingRecommendationRequest-- Returns:
- Result of the GetApplianceSizingRecommendation operation returned by the service.
- See Also:
-
getApplianceSizingRecommendation
default GetApplianceSizingRecommendationResponse getApplianceSizingRecommendation(Consumer<GetApplianceSizingRecommendationRequest.Builder> getApplianceSizingRecommendationRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns appliance sizing recommendations for the specified workloads and projection period.
This is a convenience which creates an instance of the
GetApplianceSizingRecommendationRequest.Builderavoiding the need to create one manually viaGetApplianceSizingRecommendationRequest.builder()- Parameters:
getApplianceSizingRecommendationRequest- AConsumerthat will call methods onGetApplianceSizingRecommendationRequest.Builderto create a request.- Returns:
- Result of the GetApplianceSizingRecommendation operation returned by the service.
- See Also:
-
getNode
default GetNodeResponse getNode(GetNodeRequest getNodeRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns information about the specified appliance node.
- Parameters:
getNodeRequest-- Returns:
- Result of the GetNode operation returned by the service.
- See Also:
-
getNode
default GetNodeResponse getNode(Consumer<GetNodeRequest.Builder> getNodeRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns information about the specified appliance node.
This is a convenience which creates an instance of the
GetNodeRequest.Builderavoiding the need to create one manually viaGetNodeRequest.builder()- Parameters:
getNodeRequest- AConsumerthat will call methods onGetNodeRequest.Builderto create a request.- Returns:
- Result of the GetNode operation returned by the service.
- See Also:
-
getResourceProvider
default GetResourceProviderResponse getResourceProvider(GetResourceProviderRequest getResourceProviderRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns configuration, metadata, and status information for the specified resource provider.
- Parameters:
getResourceProviderRequest-- Returns:
- Result of the GetResourceProvider operation returned by the service.
- See Also:
-
getResourceProvider
default GetResourceProviderResponse getResourceProvider(Consumer<GetResourceProviderRequest.Builder> getResourceProviderRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns configuration, metadata, and status information for the specified resource provider.
This is a convenience which creates an instance of the
GetResourceProviderRequest.Builderavoiding the need to create one manually viaGetResourceProviderRequest.builder()- Parameters:
getResourceProviderRequest- AConsumerthat will call methods onGetResourceProviderRequest.Builderto create a request.- Returns:
- Result of the GetResourceProvider operation returned by the service.
- See Also:
-
getResourceTarget
default GetResourceTargetResponse getResourceTarget(GetResourceTargetRequest getResourceTargetRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns configuration, metadata, and status information for the specified resource target.
- Parameters:
getResourceTargetRequest-- Returns:
- Result of the GetResourceTarget operation returned by the service.
- See Also:
-
getResourceTarget
default GetResourceTargetResponse getResourceTarget(Consumer<GetResourceTargetRequest.Builder> getResourceTargetRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns configuration, metadata, and status information for the specified resource target.
This is a convenience which creates an instance of the
GetResourceTargetRequest.Builderavoiding the need to create one manually viaGetResourceTargetRequest.builder()- Parameters:
getResourceTargetRequest- AConsumerthat will call methods onGetResourceTargetRequest.Builderto create a request.- Returns:
- Result of the GetResourceTarget operation returned by the service.
- See Also:
-
listAppliances
default ListAppliancesResponse listAppliances(ListAppliancesRequest listAppliancesRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns a list of appliances. Use the pagination token to retrieve additional results.
- Parameters:
listAppliancesRequest-- Returns:
- Result of the ListAppliances operation returned by the service.
- See Also:
-
listAppliances
default ListAppliancesResponse listAppliances(Consumer<ListAppliancesRequest.Builder> listAppliancesRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns a list of appliances. Use the pagination token to retrieve additional results.
This is a convenience which creates an instance of the
ListAppliancesRequest.Builderavoiding the need to create one manually viaListAppliancesRequest.builder()- Parameters:
listAppliancesRequest- AConsumerthat will call methods onListAppliancesRequest.Builderto create a request.- Returns:
- Result of the ListAppliances operation returned by the service.
- See Also:
-
listAppliancesPaginator
default ListAppliancesIterable listAppliancesPaginator(ListAppliancesRequest listAppliancesRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException This is a variant of
listAppliances(software.amazon.awssdk.services.backupexternal.model.ListAppliancesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.backupexternal.paginators.ListAppliancesIterable responses = client.listAppliancesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.backupexternal.paginators.ListAppliancesIterable responses = client .listAppliancesPaginator(request); for (software.amazon.awssdk.services.backupexternal.model.ListAppliancesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.backupexternal.paginators.ListAppliancesIterable responses = client.listAppliancesPaginator(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
listAppliances(software.amazon.awssdk.services.backupexternal.model.ListAppliancesRequest)operation.- Parameters:
listAppliancesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAppliancesPaginator
default ListAppliancesIterable listAppliancesPaginator(Consumer<ListAppliancesRequest.Builder> listAppliancesRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException This is a variant of
listAppliances(software.amazon.awssdk.services.backupexternal.model.ListAppliancesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.backupexternal.paginators.ListAppliancesIterable responses = client.listAppliancesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.backupexternal.paginators.ListAppliancesIterable responses = client .listAppliancesPaginator(request); for (software.amazon.awssdk.services.backupexternal.model.ListAppliancesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.backupexternal.paginators.ListAppliancesIterable responses = client.listAppliancesPaginator(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
listAppliances(software.amazon.awssdk.services.backupexternal.model.ListAppliancesRequest)operation.
This is a convenience which creates an instance of the
ListAppliancesRequest.Builderavoiding the need to create one manually viaListAppliancesRequest.builder()- Parameters:
listAppliancesRequest- AConsumerthat will call methods onListAppliancesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDisks
default ListDisksResponse listDisks(ListDisksRequest listDisksRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns a list of disks attached to the specified appliance node. Use the pagination token to retrieve additional results.
- Parameters:
listDisksRequest-- Returns:
- Result of the ListDisks operation returned by the service.
- See Also:
-
listDisks
default ListDisksResponse listDisks(Consumer<ListDisksRequest.Builder> listDisksRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns a list of disks attached to the specified appliance node. Use the pagination token to retrieve additional results.
This is a convenience which creates an instance of the
ListDisksRequest.Builderavoiding the need to create one manually viaListDisksRequest.builder()- Parameters:
listDisksRequest- AConsumerthat will call methods onListDisksRequest.Builderto create a request.- Returns:
- Result of the ListDisks operation returned by the service.
- See Also:
-
listDisksPaginator
default ListDisksIterable listDisksPaginator(ListDisksRequest listDisksRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException This is a variant of
listDisks(software.amazon.awssdk.services.backupexternal.model.ListDisksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.backupexternal.paginators.ListDisksIterable responses = client.listDisksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.backupexternal.paginators.ListDisksIterable responses = client.listDisksPaginator(request); for (software.amazon.awssdk.services.backupexternal.model.ListDisksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.backupexternal.paginators.ListDisksIterable responses = client.listDisksPaginator(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
listDisks(software.amazon.awssdk.services.backupexternal.model.ListDisksRequest)operation.- Parameters:
listDisksRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDisksPaginator
default ListDisksIterable listDisksPaginator(Consumer<ListDisksRequest.Builder> listDisksRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException This is a variant of
listDisks(software.amazon.awssdk.services.backupexternal.model.ListDisksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.backupexternal.paginators.ListDisksIterable responses = client.listDisksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.backupexternal.paginators.ListDisksIterable responses = client.listDisksPaginator(request); for (software.amazon.awssdk.services.backupexternal.model.ListDisksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.backupexternal.paginators.ListDisksIterable responses = client.listDisksPaginator(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
listDisks(software.amazon.awssdk.services.backupexternal.model.ListDisksRequest)operation.
This is a convenience which creates an instance of the
ListDisksRequest.Builderavoiding the need to create one manually viaListDisksRequest.builder()- Parameters:
listDisksRequest- AConsumerthat will call methods onListDisksRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listNodes
default ListNodesResponse listNodes(ListNodesRequest listNodesRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns a list of nodes belonging to the specified appliance. Use the pagination token to retrieve additional results.
- Parameters:
listNodesRequest-- Returns:
- Result of the ListNodes operation returned by the service.
- See Also:
-
listNodes
default ListNodesResponse listNodes(Consumer<ListNodesRequest.Builder> listNodesRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns a list of nodes belonging to the specified appliance. Use the pagination token to retrieve additional results.
This is a convenience which creates an instance of the
ListNodesRequest.Builderavoiding the need to create one manually viaListNodesRequest.builder()- Parameters:
listNodesRequest- AConsumerthat will call methods onListNodesRequest.Builderto create a request.- Returns:
- Result of the ListNodes operation returned by the service.
- See Also:
-
listNodesPaginator
default ListNodesIterable listNodesPaginator(ListNodesRequest listNodesRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException This is a variant of
listNodes(software.amazon.awssdk.services.backupexternal.model.ListNodesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.backupexternal.paginators.ListNodesIterable responses = client.listNodesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.backupexternal.paginators.ListNodesIterable responses = client.listNodesPaginator(request); for (software.amazon.awssdk.services.backupexternal.model.ListNodesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.backupexternal.paginators.ListNodesIterable responses = client.listNodesPaginator(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
listNodes(software.amazon.awssdk.services.backupexternal.model.ListNodesRequest)operation.- Parameters:
listNodesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listNodesPaginator
default ListNodesIterable listNodesPaginator(Consumer<ListNodesRequest.Builder> listNodesRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException This is a variant of
listNodes(software.amazon.awssdk.services.backupexternal.model.ListNodesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.backupexternal.paginators.ListNodesIterable responses = client.listNodesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.backupexternal.paginators.ListNodesIterable responses = client.listNodesPaginator(request); for (software.amazon.awssdk.services.backupexternal.model.ListNodesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.backupexternal.paginators.ListNodesIterable responses = client.listNodesPaginator(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
listNodes(software.amazon.awssdk.services.backupexternal.model.ListNodesRequest)operation.
This is a convenience which creates an instance of the
ListNodesRequest.Builderavoiding the need to create one manually viaListNodesRequest.builder()- Parameters:
listNodesRequest- AConsumerthat will call methods onListNodesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listResourceProviders
default ListResourceProvidersResponse listResourceProviders(ListResourceProvidersRequest listResourceProvidersRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns a list of resource providers, optionally filtered by appliance or provider type. Use the pagination token to retrieve additional results.
- Parameters:
listResourceProvidersRequest-- Returns:
- Result of the ListResourceProviders operation returned by the service.
- See Also:
-
listResourceProviders
default ListResourceProvidersResponse listResourceProviders(Consumer<ListResourceProvidersRequest.Builder> listResourceProvidersRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns a list of resource providers, optionally filtered by appliance or provider type. Use the pagination token to retrieve additional results.
This is a convenience which creates an instance of the
ListResourceProvidersRequest.Builderavoiding the need to create one manually viaListResourceProvidersRequest.builder()- Parameters:
listResourceProvidersRequest- AConsumerthat will call methods onListResourceProvidersRequest.Builderto create a request.- Returns:
- Result of the ListResourceProviders operation returned by the service.
- See Also:
-
listResourceProvidersPaginator
default ListResourceProvidersIterable listResourceProvidersPaginator(ListResourceProvidersRequest listResourceProvidersRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException This is a variant of
listResourceProviders(software.amazon.awssdk.services.backupexternal.model.ListResourceProvidersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.backupexternal.paginators.ListResourceProvidersIterable responses = client.listResourceProvidersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.backupexternal.paginators.ListResourceProvidersIterable responses = client .listResourceProvidersPaginator(request); for (software.amazon.awssdk.services.backupexternal.model.ListResourceProvidersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.backupexternal.paginators.ListResourceProvidersIterable responses = client.listResourceProvidersPaginator(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
listResourceProviders(software.amazon.awssdk.services.backupexternal.model.ListResourceProvidersRequest)operation.- Parameters:
listResourceProvidersRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listResourceProvidersPaginator
default ListResourceProvidersIterable listResourceProvidersPaginator(Consumer<ListResourceProvidersRequest.Builder> listResourceProvidersRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException This is a variant of
listResourceProviders(software.amazon.awssdk.services.backupexternal.model.ListResourceProvidersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.backupexternal.paginators.ListResourceProvidersIterable responses = client.listResourceProvidersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.backupexternal.paginators.ListResourceProvidersIterable responses = client .listResourceProvidersPaginator(request); for (software.amazon.awssdk.services.backupexternal.model.ListResourceProvidersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.backupexternal.paginators.ListResourceProvidersIterable responses = client.listResourceProvidersPaginator(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
listResourceProviders(software.amazon.awssdk.services.backupexternal.model.ListResourceProvidersRequest)operation.
This is a convenience which creates an instance of the
ListResourceProvidersRequest.Builderavoiding the need to create one manually viaListResourceProvidersRequest.builder()- Parameters:
listResourceProvidersRequest- AConsumerthat will call methods onListResourceProvidersRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listResourceTargets
default ListResourceTargetsResponse listResourceTargets(ListResourceTargetsRequest listResourceTargetsRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns a list of resource targets, optionally filtered by resource provider or target type. Use the pagination token to retrieve additional results.
- Parameters:
listResourceTargetsRequest-- Returns:
- Result of the ListResourceTargets operation returned by the service.
- See Also:
-
listResourceTargets
default ListResourceTargetsResponse listResourceTargets(Consumer<ListResourceTargetsRequest.Builder> listResourceTargetsRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns a list of resource targets, optionally filtered by resource provider or target type. Use the pagination token to retrieve additional results.
This is a convenience which creates an instance of the
ListResourceTargetsRequest.Builderavoiding the need to create one manually viaListResourceTargetsRequest.builder()- Parameters:
listResourceTargetsRequest- AConsumerthat will call methods onListResourceTargetsRequest.Builderto create a request.- Returns:
- Result of the ListResourceTargets operation returned by the service.
- See Also:
-
listResourceTargetsPaginator
default ListResourceTargetsIterable listResourceTargetsPaginator(ListResourceTargetsRequest listResourceTargetsRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException This is a variant of
listResourceTargets(software.amazon.awssdk.services.backupexternal.model.ListResourceTargetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.backupexternal.paginators.ListResourceTargetsIterable responses = client.listResourceTargetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.backupexternal.paginators.ListResourceTargetsIterable responses = client .listResourceTargetsPaginator(request); for (software.amazon.awssdk.services.backupexternal.model.ListResourceTargetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.backupexternal.paginators.ListResourceTargetsIterable responses = client.listResourceTargetsPaginator(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
listResourceTargets(software.amazon.awssdk.services.backupexternal.model.ListResourceTargetsRequest)operation.- Parameters:
listResourceTargetsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listResourceTargetsPaginator
default ListResourceTargetsIterable listResourceTargetsPaginator(Consumer<ListResourceTargetsRequest.Builder> listResourceTargetsRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException This is a variant of
listResourceTargets(software.amazon.awssdk.services.backupexternal.model.ListResourceTargetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.backupexternal.paginators.ListResourceTargetsIterable responses = client.listResourceTargetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.backupexternal.paginators.ListResourceTargetsIterable responses = client .listResourceTargetsPaginator(request); for (software.amazon.awssdk.services.backupexternal.model.ListResourceTargetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.backupexternal.paginators.ListResourceTargetsIterable responses = client.listResourceTargetsPaginator(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
listResourceTargets(software.amazon.awssdk.services.backupexternal.model.ListResourceTargetsRequest)operation.
This is a convenience which creates an instance of the
ListResourceTargetsRequest.Builderavoiding the need to create one manually viaListResourceTargetsRequest.builder()- Parameters:
listResourceTargetsRequest- AConsumerthat will call methods onListResourceTargetsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTags
default ListTagsResponse listTags(ListTagsRequest listTagsRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns the tags associated with the specified resource.
- Parameters:
listTagsRequest-- Returns:
- Result of the ListTags operation returned by the service.
- See Also:
-
listTags
default ListTagsResponse listTags(Consumer<ListTagsRequest.Builder> listTagsRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Returns the tags associated with the specified resource.
This is a convenience which creates an instance of the
ListTagsRequest.Builderavoiding the need to create one manually viaListTagsRequest.builder()- Parameters:
listTagsRequest- AConsumerthat will call methods onListTagsRequest.Builderto create a request.- Returns:
- Result of the ListTags operation returned by the service.
- See Also:
-
putAgentUpgradeSettings
default PutAgentUpgradeSettingsResponse putAgentUpgradeSettings(PutAgentUpgradeSettingsRequest putAgentUpgradeSettingsRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Configures per-appliance daily auto-upgrade settings.
When
EnableAutoUpgradeis true,StartHourUtcandEndHourUtcare required and define the daily UTC window during which the appliance may be upgraded automatically. The upgrade fires once daily at a random time within the configured window.Validation rules:
- If EnableAutoUpgrade=true, StartHourUtc and EndHourUtc MUST both be provided.
- If EnableAutoUpgrade=false, StartHourUtc and EndHourUtc are ignored.
- Wrap-around is supported (e.g., StartHourUtc=22, EndHourUtc=4 means 10pm-4am UTC).
- Window must be ≥1 hour (StartHourUtc != EndHourUtc).
- Parameters:
putAgentUpgradeSettingsRequest-- Returns:
- Result of the PutAgentUpgradeSettings operation returned by the service.
- See Also:
-
putAgentUpgradeSettings
default PutAgentUpgradeSettingsResponse putAgentUpgradeSettings(Consumer<PutAgentUpgradeSettingsRequest.Builder> putAgentUpgradeSettingsRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Configures per-appliance daily auto-upgrade settings.
When
EnableAutoUpgradeis true,StartHourUtcandEndHourUtcare required and define the daily UTC window during which the appliance may be upgraded automatically. The upgrade fires once daily at a random time within the configured window.Validation rules:
- If EnableAutoUpgrade=true, StartHourUtc and EndHourUtc MUST both be provided.
- If EnableAutoUpgrade=false, StartHourUtc and EndHourUtc are ignored.
- Wrap-around is supported (e.g., StartHourUtc=22, EndHourUtc=4 means 10pm-4am UTC).
- Window must be ≥1 hour (StartHourUtc != EndHourUtc).
This is a convenience which creates an instance of the
PutAgentUpgradeSettingsRequest.Builderavoiding the need to create one manually viaPutAgentUpgradeSettingsRequest.builder()- Parameters:
putAgentUpgradeSettingsRequest- AConsumerthat will call methods onPutAgentUpgradeSettingsRequest.Builderto create a request.- Returns:
- Result of the PutAgentUpgradeSettings operation returned by the service.
- See Also:
-
startResourceProviderAgentUpgrade
default StartResourceProviderAgentUpgradeResponse startResourceProviderAgentUpgrade(StartResourceProviderAgentUpgradeRequest startResourceProviderAgentUpgradeRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Starts an agent upgrade for the specified resource provider. Returns the date and time that the upgrade started.
- Parameters:
startResourceProviderAgentUpgradeRequest-- Returns:
- Result of the StartResourceProviderAgentUpgrade operation returned by the service.
- See Also:
-
startResourceProviderAgentUpgrade
default StartResourceProviderAgentUpgradeResponse startResourceProviderAgentUpgrade(Consumer<StartResourceProviderAgentUpgradeRequest.Builder> startResourceProviderAgentUpgradeRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Starts an agent upgrade for the specified resource provider. Returns the date and time that the upgrade started.
This is a convenience which creates an instance of the
StartResourceProviderAgentUpgradeRequest.Builderavoiding the need to create one manually viaStartResourceProviderAgentUpgradeRequest.builder()- Parameters:
startResourceProviderAgentUpgradeRequest- AConsumerthat will call methods onStartResourceProviderAgentUpgradeRequest.Builderto create a request.- Returns:
- Result of the StartResourceProviderAgentUpgrade operation returned by the service.
- See Also:
-
startResourceProviderMigration
default StartResourceProviderMigrationResponse startResourceProviderMigration(StartResourceProviderMigrationRequest startResourceProviderMigrationRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Starts migration of the specified resource provider to another appliance. Returns the date and time that migration started.
- Parameters:
startResourceProviderMigrationRequest-- Returns:
- Result of the StartResourceProviderMigration operation returned by the service.
- See Also:
-
startResourceProviderMigration
default StartResourceProviderMigrationResponse startResourceProviderMigration(Consumer<StartResourceProviderMigrationRequest.Builder> startResourceProviderMigrationRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Starts migration of the specified resource provider to another appliance. Returns the date and time that migration started.
This is a convenience which creates an instance of the
StartResourceProviderMigrationRequest.Builderavoiding the need to create one manually viaStartResourceProviderMigrationRequest.builder()- Parameters:
startResourceProviderMigrationRequest- AConsumerthat will call methods onStartResourceProviderMigrationRequest.Builderto create a request.- Returns:
- Result of the StartResourceProviderMigration operation returned by the service.
- See Also:
-
startResourceProviderSync
default StartResourceProviderSyncResponse startResourceProviderSync(StartResourceProviderSyncRequest startResourceProviderSyncRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Starts synchronization of the resource targets for the specified resource provider. Returns the date and time that synchronization started.
- Parameters:
startResourceProviderSyncRequest-- Returns:
- Result of the StartResourceProviderSync operation returned by the service.
- See Also:
-
startResourceProviderSync
default StartResourceProviderSyncResponse startResourceProviderSync(Consumer<StartResourceProviderSyncRequest.Builder> startResourceProviderSyncRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Starts synchronization of the resource targets for the specified resource provider. Returns the date and time that synchronization started.
This is a convenience which creates an instance of the
StartResourceProviderSyncRequest.Builderavoiding the need to create one manually viaStartResourceProviderSyncRequest.builder()- Parameters:
startResourceProviderSyncRequest- AConsumerthat will call methods onStartResourceProviderSyncRequest.Builderto create a request.- Returns:
- Result of the StartResourceProviderSync operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Adds or updates tags on the 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 ThrottlingException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Adds or updates tags on the specified resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Removes the specified tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Removes the specified tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateAppliance
default UpdateApplianceResponse updateAppliance(UpdateApplianceRequest updateApplianceRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Updates the name, configuration, or operation mode of the specified appliance.
- Parameters:
updateApplianceRequest-- Returns:
- Result of the UpdateAppliance operation returned by the service.
- See Also:
-
updateAppliance
default UpdateApplianceResponse updateAppliance(Consumer<UpdateApplianceRequest.Builder> updateApplianceRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Updates the name, configuration, or operation mode of the specified appliance.
This is a convenience which creates an instance of the
UpdateApplianceRequest.Builderavoiding the need to create one manually viaUpdateApplianceRequest.builder()- Parameters:
updateApplianceRequest- AConsumerthat will call methods onUpdateApplianceRequest.Builderto create a request.- Returns:
- Result of the UpdateAppliance operation returned by the service.
- See Also:
-
updateResourceProvider
default UpdateResourceProviderResponse updateResourceProvider(UpdateResourceProviderRequest updateResourceProviderRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Updates the configuration of the specified resource provider.
- Parameters:
updateResourceProviderRequest-- Returns:
- Result of the UpdateResourceProvider operation returned by the service.
- See Also:
-
updateResourceProvider
default UpdateResourceProviderResponse updateResourceProvider(Consumer<UpdateResourceProviderRequest.Builder> updateResourceProviderRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Updates the configuration of the specified resource provider.
This is a convenience which creates an instance of the
UpdateResourceProviderRequest.Builderavoiding the need to create one manually viaUpdateResourceProviderRequest.builder()- Parameters:
updateResourceProviderRequest- AConsumerthat will call methods onUpdateResourceProviderRequest.Builderto create a request.- Returns:
- Result of the UpdateResourceProvider operation returned by the service.
- See Also:
-
updateResourceTarget
default UpdateResourceTargetResponse updateResourceTarget(UpdateResourceTargetRequest updateResourceTargetRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Updates the name or backup configuration of the specified resource target.
- Parameters:
updateResourceTargetRequest-- Returns:
- Result of the UpdateResourceTarget operation returned by the service.
- See Also:
-
updateResourceTarget
default UpdateResourceTargetResponse updateResourceTarget(Consumer<UpdateResourceTargetRequest.Builder> updateResourceTargetRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Updates the name or backup configuration of the specified resource target.
This is a convenience which creates an instance of the
UpdateResourceTargetRequest.Builderavoiding the need to create one manually viaUpdateResourceTargetRequest.builder()- Parameters:
updateResourceTargetRequest- AConsumerthat will call methods onUpdateResourceTargetRequest.Builderto create a request.- Returns:
- Result of the UpdateResourceTarget operation returned by the service.
- See Also:
-
verifyNodes
default VerifyNodesResponse verifyNodes(VerifyNodesRequest verifyNodesRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Verifies the specified nodes, which must have a status of
PENDING_VERIFICATION, so that they can be added to the appliance. Returns the updated management status of each node.- Parameters:
verifyNodesRequest-- Returns:
- Result of the VerifyNodes operation returned by the service.
- See Also:
-
verifyNodes
default VerifyNodesResponse verifyNodes(Consumer<VerifyNodesRequest.Builder> verifyNodesRequest) throws ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BackupExternalException Verifies the specified nodes, which must have a status of
PENDING_VERIFICATION, so that they can be added to the appliance. Returns the updated management status of each node.
This is a convenience which creates an instance of the
VerifyNodesRequest.Builderavoiding the need to create one manually viaVerifyNodesRequest.builder()- Parameters:
verifyNodesRequest- AConsumerthat will call methods onVerifyNodesRequest.Builderto create a request.- Returns:
- Result of the VerifyNodes operation returned by the service.
- See Also:
-
create
Create aBackupExternalClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aBackupExternalClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-