Package org.azd.release.folders
Class ReleaseFoldersRequestBuilder
java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.release.folders.ReleaseFoldersRequestBuilder
Provides functionality to work with Release folders Api.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.azd.abstractions.BaseRequestBuilder
BaseRequestBuilder.ProjectExcludeParameter
-
Field Summary
Fields inherited from class org.azd.abstractions.BaseRequestBuilder
accessTokenCredential, apiVersion, area, locationId, organizationUrl, serializer
-
Constructor Summary
ConstructorDescriptionReleaseFoldersRequestBuilder
(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionDeletes a definition folder for given folder name and path and all it's existing definitions.deleteAsync
(String path) Deletes a definition folder for given folder name and path and all it's existing definitions.Gets folders.list
(String path, FolderPathQueryOrder queryOrder) Gets folders.Gets folders.listAsync
(String path, FolderPathQueryOrder queryOrder) Gets folders.Updates an existing folder at given existing path.updateAsync
(String path, Folder folder) Updates an existing folder at given existing path.Methods inherited from class org.azd.abstractions.BaseRequestBuilder
builder
-
Constructor Details
-
ReleaseFoldersRequestBuilder
public ReleaseFoldersRequestBuilder(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values.- Parameters:
organizationUrl
- Represents organization location request url.accessTokenCredential
- Access token credential object.
-
-
Method Details
-
deleteAsync
Deletes a definition folder for given folder name and path and all it's existing definitions.- Parameters:
path
- Path of the folder to delete.- Throws:
AzDException
- Default Api exception handler
-
listAsync
Gets folders.- Parameters:
path
- Path of the folder.- Returns:
- Collection of folder object
Folders
- Throws:
AzDException
- Default Api exception handler
-
listAsync
public CompletableFuture<Folders> listAsync(String path, FolderPathQueryOrder queryOrder) throws AzDException Gets folders.- Parameters:
path
- Path of the folder.- Returns:
- Collection of folder object
Folders
- Throws:
AzDException
- Default Api exception handler
-
updateAsync
Updates an existing folder at given existing path.- Parameters:
path
- Path of the folder.folder
- Folder object to update.- Returns:
- A folder object
Folder
- Throws:
AzDException
- Default Api exception handler
-
delete
Deletes a definition folder for given folder name and path and all it's existing definitions.- Parameters:
path
- Path of the folder to delete.- Throws:
AzDException
- Default Api exception handler
-
list
Gets folders.- Parameters:
path
- Path of the folder.- Returns:
- Collection of folder object
Folders
- Throws:
AzDException
- Default Api exception handler
-
list
Gets folders.- Parameters:
path
- Path of the folder.- Returns:
- Collection of folder object
Folders
- Throws:
AzDException
- Default Api exception handler
-
update
Updates an existing folder at given existing path.- Parameters:
path
- Path of the folder.folder
- Folder object to update.- Returns:
- A folder object
Folder
- Throws:
AzDException
- Default Api exception handler
-