Class BetaManagedAgentsRepositoryAuthenticationError.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsRepositoryAuthenticationError.BuilderA builder for BetaManagedAgentsRepositoryAuthenticationError.
-
-
Method Summary
-
-
Method Detail
-
message
final BetaManagedAgentsRepositoryAuthenticationError.Builder message(String message)
Human-readable error description.
-
message
final BetaManagedAgentsRepositoryAuthenticationError.Builder message(JsonField<String> message)
Sets Builder.message to an arbitrary JSON value.
You should usually call Builder.message with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
repositoryUrl
final BetaManagedAgentsRepositoryAuthenticationError.Builder repositoryUrl(String repositoryUrl)
URL of the repository that could not be cloned. Null when it could not be identified.
-
repositoryUrl
final BetaManagedAgentsRepositoryAuthenticationError.Builder repositoryUrl(Optional<String> repositoryUrl)
Alias for calling Builder.repositoryUrl with
repositoryUrl.orElse(null).
-
repositoryUrl
final BetaManagedAgentsRepositoryAuthenticationError.Builder repositoryUrl(JsonField<String> repositoryUrl)
Sets Builder.repositoryUrl to an arbitrary JSON value.
You should usually call Builder.repositoryUrl with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
retryStatus
final BetaManagedAgentsRepositoryAuthenticationError.Builder retryStatus(BetaManagedAgentsRepositoryAuthenticationError.RetryStatus retryStatus)
What the client should do next. Always
retrying: the session keeps running without the repository.
-
retryStatus
final BetaManagedAgentsRepositoryAuthenticationError.Builder retryStatus(JsonField<BetaManagedAgentsRepositoryAuthenticationError.RetryStatus> retryStatus)
Sets Builder.retryStatus to an arbitrary JSON value.
You should usually call Builder.retryStatus with a well-typed RetryStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
retryStatus
final BetaManagedAgentsRepositoryAuthenticationError.Builder retryStatus(BetaManagedAgentsRetryStatusRetrying retrying)
Alias for calling retryStatus with
RetryStatus.ofRetrying(retrying).
-
retryStatus
final BetaManagedAgentsRepositoryAuthenticationError.Builder retryStatus(BetaManagedAgentsRetryStatusExhausted exhausted)
Alias for calling retryStatus with
RetryStatus.ofExhausted(exhausted).
-
retryStatus
final BetaManagedAgentsRepositoryAuthenticationError.Builder retryStatus(BetaManagedAgentsRetryStatusTerminal terminal)
Alias for calling retryStatus with
RetryStatus.ofTerminal(terminal).
-
type
final BetaManagedAgentsRepositoryAuthenticationError.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("repository_authentication_error")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsRepositoryAuthenticationError.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsRepositoryAuthenticationError.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsRepositoryAuthenticationError.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsRepositoryAuthenticationError.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsRepositoryAuthenticationError.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsRepositoryAuthenticationError build()
Returns an immutable instance of BetaManagedAgentsRepositoryAuthenticationError.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.message() .repositoryUrl() .retryStatus()
-
-
-
-