Class DeploymentListPageResponse.Builder
-
- All Implemented Interfaces:
public final class DeploymentListPageResponse.BuilderA builder for DeploymentListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final DeploymentListPageResponse.Builder data(List<BetaManagedAgentsDeployment> data)
List of deployments.
-
data
final DeploymentListPageResponse.Builder data(JsonField<List<BetaManagedAgentsDeployment>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<BetaManagedAgentsDeployment>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addData
final DeploymentListPageResponse.Builder addData(BetaManagedAgentsDeployment data)
Adds a single BetaManagedAgentsDeployment to Builder.data.
-
nextPage
final DeploymentListPageResponse.Builder nextPage(String nextPage)
Opaque cursor for the next page. Null when no more results.
-
nextPage
final DeploymentListPageResponse.Builder nextPage(Optional<String> nextPage)
Alias for calling Builder.nextPage with
nextPage.orElse(null).
-
nextPage
final DeploymentListPageResponse.Builder nextPage(JsonField<String> nextPage)
Sets Builder.nextPage to an arbitrary JSON value.
You should usually call Builder.nextPage with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final DeploymentListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final DeploymentListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final DeploymentListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final DeploymentListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final DeploymentListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final DeploymentListPageResponse build()
Returns an immutable instance of DeploymentListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data()
-
-
-
-