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 details for a credential.
public final classBetaManagedAgentsCredential.MetadataArbitrary key-value metadata attached to the credential.
public final classBetaManagedAgentsCredential.Type
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for the credential. final Optional<OffsetDateTime>archivedAt()A timestamp in RFC 3339 format final BetaManagedAgentsCredential.Authauth()Authentication details for a credential. final OffsetDateTimecreatedAt()A timestamp in RFC 3339 format final BetaManagedAgentsCredential.Metadatametadata()Arbitrary key-value metadata attached to the credential. final BetaManagedAgentsCredential.Typetype()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 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<BetaManagedAgentsCredential.Type>_type()Returns the raw JSON value of type. 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()
A timestamp in RFC 3339 format
-
auth
final BetaManagedAgentsCredential.Auth auth()
Authentication details for a credential.
-
createdAt
final OffsetDateTime createdAt()
A timestamp in RFC 3339 format
-
metadata
final BetaManagedAgentsCredential.Metadata metadata()
Arbitrary key-value metadata attached to the credential.
-
type
final BetaManagedAgentsCredential.Type type()
-
updatedAt
final OffsetDateTime updatedAt()
A timestamp in RFC 3339 format
-
displayName
final Optional<String> displayName()
Human-readable name for the credential.
-
_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.
-
_type
final JsonField<BetaManagedAgentsCredential.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.
-
_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() .type() .updatedAt() .vaultId()
-
-
-
-