Package org.azd.release.releases
Class ReleaseTaskLogRequestBuilder
java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.release.releases.ReleaseTaskLogRequestBuilder
Provides functionality to work with Release releases task log Api.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents the query parameters.static class
Request configuration object for the query parameters.static class
Represents the Uri parametersNested 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
ConstructorDescriptionReleaseTaskLogRequestBuilder
(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionget
(Consumer<ReleaseTaskLogRequestBuilder.UriParameters> uriParameters) Gets the task log of a release as a plain text file.get
(Consumer<ReleaseTaskLogRequestBuilder.UriParameters> uriParameters, Consumer<ReleaseTaskLogRequestBuilder.RequestConfiguration> requestConfiguration) Gets the task log of a release as a plain text file.getAsync
(Consumer<ReleaseTaskLogRequestBuilder.UriParameters> uriParameters) Gets the task log of a release as a plain text file.getAsync
(Consumer<ReleaseTaskLogRequestBuilder.UriParameters> uriParameters, Consumer<ReleaseTaskLogRequestBuilder.RequestConfiguration> requestConfiguration) Gets the task log of a release as a plain text file.Methods inherited from class org.azd.abstractions.BaseRequestBuilder
builder
-
Constructor Details
-
ReleaseTaskLogRequestBuilder
public ReleaseTaskLogRequestBuilder(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
public CompletableFuture<String> getAsync(Consumer<ReleaseTaskLogRequestBuilder.UriParameters> uriParameters) throws AzDException Gets the task log of a release as a plain text file.- Parameters:
uriParameters
- Represents the URI parameters- Returns:
- Logs in plain text
- Throws:
AzDException
- Default Api exception handler.
-
getAsync
public CompletableFuture<String> getAsync(Consumer<ReleaseTaskLogRequestBuilder.UriParameters> uriParameters, Consumer<ReleaseTaskLogRequestBuilder.RequestConfiguration> requestConfiguration) throws AzDException Gets the task log of a release as a plain text file.- Parameters:
uriParameters
- Represents the URI parametersrequestConfiguration
- Represents the query parameters.- Returns:
- Logs in plain text
- Throws:
AzDException
- Default Api exception handler.
-
get
public String get(Consumer<ReleaseTaskLogRequestBuilder.UriParameters> uriParameters) throws AzDException Gets the task log of a release as a plain text file.- Parameters:
uriParameters
- Represents the URI parameters- Returns:
- Logs in plain text
- Throws:
AzDException
- Default Api exception handler.
-
get
public String get(Consumer<ReleaseTaskLogRequestBuilder.UriParameters> uriParameters, Consumer<ReleaseTaskLogRequestBuilder.RequestConfiguration> requestConfiguration) throws AzDException Gets the task log of a release as a plain text file.- Parameters:
uriParameters
- Represents the URI parametersrequestConfiguration
- Represents the query parameters.- Returns:
- Logs in plain text
- Throws:
AzDException
- Default Api exception handler.
-