Interface EnvironmentService
-
- All Implemented Interfaces:
public interface EnvironmentService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceEnvironmentService.WithRawResponseA view of EnvironmentService that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract EnvironmentService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract EnvironmentService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
work
abstract WorkService work()
-
create
BetaEnvironment create(EnvironmentCreateParams params)
Create a new environment with the specified configuration.
-
create
abstract BetaEnvironment create(EnvironmentCreateParams params, RequestOptions requestOptions)
-
retrieve
BetaEnvironment retrieve(String environmentId)
Retrieve a specific environment by ID.
-
retrieve
BetaEnvironment retrieve(String environmentId, EnvironmentRetrieveParams params, RequestOptions requestOptions)
-
retrieve
BetaEnvironment retrieve(String environmentId, EnvironmentRetrieveParams params)
-
retrieve
abstract BetaEnvironment retrieve(EnvironmentRetrieveParams params, RequestOptions requestOptions)
-
retrieve
BetaEnvironment retrieve(EnvironmentRetrieveParams params)
-
retrieve
BetaEnvironment retrieve(String environmentId, RequestOptions requestOptions)
-
update
BetaEnvironment update(String environmentId)
Update an existing environment's configuration.
-
update
BetaEnvironment update(String environmentId, EnvironmentUpdateParams params, RequestOptions requestOptions)
-
update
BetaEnvironment update(String environmentId, EnvironmentUpdateParams params)
-
update
abstract BetaEnvironment update(EnvironmentUpdateParams params, RequestOptions requestOptions)
-
update
BetaEnvironment update(EnvironmentUpdateParams params)
-
update
BetaEnvironment update(String environmentId, RequestOptions requestOptions)
-
list
EnvironmentListPage list()
List environments with pagination support.
-
list
abstract EnvironmentListPage list(EnvironmentListParams params, RequestOptions requestOptions)
-
list
EnvironmentListPage list(EnvironmentListParams params)
-
list
EnvironmentListPage list(RequestOptions requestOptions)
-
delete
BetaEnvironmentDeleteResponse delete(String environmentId)
Delete an environment by ID. Returns a confirmation of the deletion.
-
delete
BetaEnvironmentDeleteResponse delete(String environmentId, EnvironmentDeleteParams params, RequestOptions requestOptions)
-
delete
BetaEnvironmentDeleteResponse delete(String environmentId, EnvironmentDeleteParams params)
-
delete
abstract BetaEnvironmentDeleteResponse delete(EnvironmentDeleteParams params, RequestOptions requestOptions)
-
delete
BetaEnvironmentDeleteResponse delete(EnvironmentDeleteParams params)
-
delete
BetaEnvironmentDeleteResponse delete(String environmentId, RequestOptions requestOptions)
-
archive
BetaEnvironment archive(String environmentId)
Archive an environment by ID. Archived environments cannot be used to create new sessions.
-
archive
BetaEnvironment archive(String environmentId, EnvironmentArchiveParams params, RequestOptions requestOptions)
-
archive
BetaEnvironment archive(String environmentId, EnvironmentArchiveParams params)
-
archive
abstract BetaEnvironment archive(EnvironmentArchiveParams params, RequestOptions requestOptions)
-
archive
BetaEnvironment archive(EnvironmentArchiveParams params)
-
archive
BetaEnvironment archive(String environmentId, RequestOptions requestOptions)
-
-
-
-