Class BetaManagedAgentsDeployment
-
- All Implemented Interfaces:
public final class BetaManagedAgentsDeploymentA deployment is a configured instance of an agent — it binds the agent to everything needed to run it autonomously: an environment, credentials, initial events, and an optional schedule.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsDeployment.BuilderA builder for BetaManagedAgentsDeployment.
public final classBetaManagedAgentsDeployment.MetadataArbitrary key-value metadata. Maximum 16 pairs.
public final classBetaManagedAgentsDeployment.Type
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for this deployment. final BetaManagedAgentsAgentReferenceagent()A resolved agent reference with a concrete version. final Optional<OffsetDateTime>archivedAt()A timestamp in RFC 3339 format final OffsetDateTimecreatedAt()A timestamp in RFC 3339 format final Optional<String>description()Description of what the deployment does. final StringenvironmentId()ID of the environmentwhere sessions run.final List<BetaManagedAgentsDeploymentInitialEvent>initialEvents()Events sent to each session immediately after creation. final BetaManagedAgentsDeployment.Metadatametadata()Arbitrary key-value metadata. final Stringname()Human-readable name. final Optional<BetaManagedAgentsDeploymentPausedReason>pausedReason()Why a deployment is paused. final List<BetaManagedAgentsSessionResourceConfig>resources()Resources attached to sessions created from this deployment. final Optional<BetaManagedAgentsSchedule>schedule()5-field POSIX cron schedule with computed runtime timestamps. final BetaManagedAgentsDeploymentStatusstatus()Lifecycle status of a deployment. final BetaManagedAgentsDeployment.Typetype()final OffsetDateTimeupdatedAt()A timestamp in RFC 3339 format final List<String>vaultIds()Vault IDs supplying stored credentials for sessions created from this deployment. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<BetaManagedAgentsAgentReference>_agent()Returns the raw JSON value of agent. final JsonField<OffsetDateTime>_archivedAt()Returns the raw JSON value of archivedAt. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<String>_environmentId()Returns the raw JSON value of environmentId. final JsonField<List<BetaManagedAgentsDeploymentInitialEvent>>_initialEvents()Returns the raw JSON value of initialEvents. final JsonField<BetaManagedAgentsDeployment.Metadata>_metadata()Returns the raw JSON value of metadata. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<BetaManagedAgentsDeploymentPausedReason>_pausedReason()Returns the raw JSON value of pausedReason. final JsonField<List<BetaManagedAgentsSessionResourceConfig>>_resources()Returns the raw JSON value of resources. final JsonField<BetaManagedAgentsSchedule>_schedule()Returns the raw JSON value of schedule. final JsonField<BetaManagedAgentsDeploymentStatus>_status()Returns the raw JSON value of status. final JsonField<BetaManagedAgentsDeployment.Type>_type()Returns the raw JSON value of type. final JsonField<OffsetDateTime>_updatedAt()Returns the raw JSON value of updatedAt. final JsonField<List<String>>_vaultIds()Returns the raw JSON value of vaultIds. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsDeployment.BuildertoBuilder()final BetaManagedAgentsDeploymentvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsDeployment.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsDeployment. -
-
Method Detail
-
agent
final BetaManagedAgentsAgentReference agent()
A resolved agent reference with a concrete version.
-
archivedAt
final Optional<OffsetDateTime> archivedAt()
A timestamp in RFC 3339 format
-
createdAt
final OffsetDateTime createdAt()
A timestamp in RFC 3339 format
-
description
final Optional<String> description()
Description of what the deployment does.
-
environmentId
final String environmentId()
ID of the
environmentwhere sessions run.
-
initialEvents
final List<BetaManagedAgentsDeploymentInitialEvent> initialEvents()
Events sent to each session immediately after creation.
-
metadata
final BetaManagedAgentsDeployment.Metadata metadata()
Arbitrary key-value metadata. Maximum 16 pairs.
-
pausedReason
final Optional<BetaManagedAgentsDeploymentPausedReason> pausedReason()
Why a deployment is paused. Non-null exactly when
statusispaused.
-
resources
final List<BetaManagedAgentsSessionResourceConfig> resources()
Resources attached to sessions created from this deployment. Echoes the input minus write-only credentials.
-
schedule
final Optional<BetaManagedAgentsSchedule> schedule()
5-field POSIX cron schedule with computed runtime timestamps.
-
status
final BetaManagedAgentsDeploymentStatus status()
Lifecycle status of a deployment.
-
type
final BetaManagedAgentsDeployment.Type type()
-
updatedAt
final OffsetDateTime updatedAt()
A timestamp in RFC 3339 format
-
vaultIds
final List<String> vaultIds()
Vault IDs supplying stored credentials for sessions created from this deployment.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_agent
final JsonField<BetaManagedAgentsAgentReference> _agent()
Returns the raw JSON value of agent.
Unlike agent, this method doesn't throw if the JSON field has an unexpected type.
-
_archivedAt
final JsonField<OffsetDateTime> _archivedAt()
Returns the raw JSON value of archivedAt.
Unlike archivedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_environmentId
final JsonField<String> _environmentId()
Returns the raw JSON value of environmentId.
Unlike environmentId, this method doesn't throw if the JSON field has an unexpected type.
-
_initialEvents
final JsonField<List<BetaManagedAgentsDeploymentInitialEvent>> _initialEvents()
Returns the raw JSON value of initialEvents.
Unlike initialEvents, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<BetaManagedAgentsDeployment.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_pausedReason
final JsonField<BetaManagedAgentsDeploymentPausedReason> _pausedReason()
Returns the raw JSON value of pausedReason.
Unlike pausedReason, this method doesn't throw if the JSON field has an unexpected type.
-
_resources
final JsonField<List<BetaManagedAgentsSessionResourceConfig>> _resources()
Returns the raw JSON value of resources.
Unlike resources, this method doesn't throw if the JSON field has an unexpected type.
-
_schedule
final JsonField<BetaManagedAgentsSchedule> _schedule()
Returns the raw JSON value of schedule.
Unlike schedule, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<BetaManagedAgentsDeploymentStatus> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsDeployment.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_updatedAt
final JsonField<OffsetDateTime> _updatedAt()
Returns the raw JSON value of updatedAt.
Unlike updatedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_vaultIds
final JsonField<List<String>> _vaultIds()
Returns the raw JSON value of vaultIds.
Unlike vaultIds, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsDeployment.Builder toBuilder()
-
validate
final BetaManagedAgentsDeployment validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsDeployment.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsDeployment.
The following fields are required:
.id() .agent() .archivedAt() .createdAt() .description() .environmentId() .initialEvents() .metadata() .name() .pausedReason() .resources() .schedule() .status() .type() .updatedAt() .vaultIds()
-
-
-
-