Class BetaManagedAgentsCredential
-
- All Implemented Interfaces:
public final class BetaManagedAgentsCredentialA credential stored in a vault. Sensitive fields are never returned in responses.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsCredential.BuilderA builder for BetaManagedAgentsCredential.
public final classBetaManagedAgentsCredential.AuthAuthentication configuration for this credential.
public final classBetaManagedAgentsCredential.MetadataArbitrary key-value metadata attached to the credential.
-
Method Summary
Modifier and Type Method Description final Stringid()The unique ID of the credential ( vcrd_...).final Optional<OffsetDateTime>archivedAt()When the credential was archived. final BetaManagedAgentsCredential.Authauth()Authentication configuration for this credential. final OffsetDateTimecreatedAt()A timestamp in RFC 3339 format final BetaManagedAgentsCredential.Metadatametadata()Arbitrary key-value metadata attached to the credential. final OffsetDateTimeupdatedAt()A timestamp in RFC 3339 format final StringvaultId()Identifier of the vault this credential belongs to. final Optional<String>displayName()Human-readable name for the credential. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("vault_credential")final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<OffsetDateTime>_archivedAt()Returns the raw JSON value of archivedAt. final JsonField<BetaManagedAgentsCredential.Auth>_auth()Returns the raw JSON value of auth. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<BetaManagedAgentsCredential.Metadata>_metadata()Returns the raw JSON value of metadata. final JsonField<OffsetDateTime>_updatedAt()Returns the raw JSON value of updatedAt. final JsonField<String>_vaultId()Returns the raw JSON value of vaultId. final JsonField<String>_displayName()Returns the raw JSON value of displayName. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsCredential.BuildertoBuilder()final BetaManagedAgentsCredentialvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsCredential.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsCredential. -
-
Method Detail
-
archivedAt
final Optional<OffsetDateTime> archivedAt()
When the credential was archived. Null if not archived.
-
auth
final BetaManagedAgentsCredential.Auth auth()
Authentication configuration for this credential.
-
createdAt
final OffsetDateTime createdAt()
A timestamp in RFC 3339 format
-
metadata
final BetaManagedAgentsCredential.Metadata metadata()
Arbitrary key-value metadata attached to the credential.
-
updatedAt
final OffsetDateTime updatedAt()
A timestamp in RFC 3339 format
-
displayName
final Optional<String> displayName()
Human-readable name for the credential.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("vault_credential")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_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.
-
_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.
-
_auth
final JsonField<BetaManagedAgentsCredential.Auth> _auth()
Returns the raw JSON value of auth.
Unlike auth, 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.
-
_metadata
final JsonField<BetaManagedAgentsCredential.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, 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.
-
_vaultId
final JsonField<String> _vaultId()
Returns the raw JSON value of vaultId.
Unlike vaultId, this method doesn't throw if the JSON field has an unexpected type.
-
_displayName
final JsonField<String> _displayName()
Returns the raw JSON value of displayName.
Unlike displayName, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsCredential.Builder toBuilder()
-
validate
final BetaManagedAgentsCredential 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 BetaManagedAgentsCredential.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsCredential.
The following fields are required:
.id() .archivedAt() .auth() .createdAt() .metadata() .updatedAt() .vaultId()
-
-
-
-