Interface Credential

All Superinterfaces:
Serializable
All Known Subinterfaces:
AzureComputeCredential
All Known Implementing Classes:
AlibabaCredential, AwsAccountRoleCredential, AwsCredential, AzureClientCredential, AzureInstanceCredential, AzureStorageCredential, GoogleCloudCredential, OciCredential

public interface Credential extends Serializable
Interface implemented by classes used to provide cloud provider-specific credentials to YellowDog Compute.
  • Method Details

    • getName

      @Name @NotBlank @Pattern(regexp="[a-z](?:[a-z\\d_-]{0,58}[a-z\\d])?") @Size(max=60) @JsonPropertyDescription("The credential name (must be unique within the account)") @Name @NotBlank @Pattern(regexp="[a-z](?:[a-z\\d_-]{0,58}[a-z\\d])?") @Size(max=60) String getName()
      Returns the name assigned to the Credential to identify it to the ComputeServiceClient.
      Returns:
      the name assigned to the Credential
    • getDescription

      @JsonPropertyDescription("An optional description of this specific credential") String getDescription()
    • getExpiryTime

      default Instant getExpiryTime()
    • toBuilder

      <T extends CredentialBuilder<?>> T toBuilder()