Package org.azd.build.controllers
Class ControllersRequestBuilder
java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.build.controllers.ControllersRequestBuilder
Provides the functionality to manage Build Controllers 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
ConstructorDescriptionControllersRequestBuilder
(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values. -
Method Summary
Methods inherited from class org.azd.abstractions.BaseRequestBuilder
builder
-
Constructor Details
-
ControllersRequestBuilder
public ControllersRequestBuilder(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
-
getAsync
Gets a controller- Parameters:
controllerId
- pass the controller id- Returns:
- build controller
BuildController
- Throws:
AzDException
- Default Api Exception handler.
-
listAsync
Gets controllers- Returns:
- array of build controller
BuildControllers
- Throws:
AzDException
- Default Api Exception handler.
-
listAsync
Gets controller, optionally filtered by name- Parameters:
name
- pass the controller name- Returns:
- array of build controller
BuildControllers
- Throws:
AzDException
- Default Api Exception handler.
-
get
Gets a controller- Parameters:
controllerId
- pass the controller id- Returns:
- build controller
BuildController
- Throws:
AzDException
- Default Api Exception handler.
-
list
Gets controllers- Returns:
- array of build controller
BuildControllers
- Throws:
AzDException
- Default Api Exception handler.
-
list
Gets controller, optionally filtered by name- Parameters:
name
- pass the controller name- Returns:
- array of build controller
BuildControllers
- Throws:
AzDException
- Default Api Exception handler.
-