Package org.azd.build.stages
Class StagesRequestBuilder
java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.build.stages.StagesRequestBuilder
Provides functionality to work with Build Stages 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
ConstructorDescriptionStagesRequestBuilder
(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionupdate
(StagesRequestBuilder.UpdateStageRequest updateStageRequest) Update a build stage.updateAsync
(StagesRequestBuilder.UpdateStageRequest updateStageRequest) Update a build stage.Methods inherited from class org.azd.abstractions.BaseRequestBuilder
builder
-
Constructor Details
-
StagesRequestBuilder
Instantiates a new RequestBuilder instance and sets the default values.- Parameters:
organizationUrl
- Represents organization location request url.accessTokenCredential
- Access token credential object.
-
-
Method Details
-
updateAsync
public CompletableFuture<Void> updateAsync(StagesRequestBuilder.UpdateStageRequest updateStageRequest) throws AzDException Update a build stage.- Parameters:
updateStageRequest
- UpdateStageRequest object to update the build stage.- Throws:
AzDException
- Default Api Exception handler.
-
update
Update a build stage.- Parameters:
updateStageRequest
- UpdateStageRequest object to update the build stage.- Throws:
AzDException
- Default Api Exception handler.
-