Class BetaManagedAgentsGitHubRepositoryResource.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsGitHubRepositoryResource.BuilderA builder for BetaManagedAgentsGitHubRepositoryResource.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaManagedAgentsGitHubRepositoryResource.Builder id(String id)
-
id
final BetaManagedAgentsGitHubRepositoryResource.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final BetaManagedAgentsGitHubRepositoryResource.Builder createdAt(OffsetDateTime createdAt)
A timestamp in RFC 3339 format
-
createdAt
final BetaManagedAgentsGitHubRepositoryResource.Builder createdAt(JsonField<OffsetDateTime> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
mountPath
final BetaManagedAgentsGitHubRepositoryResource.Builder mountPath(String mountPath)
-
mountPath
final BetaManagedAgentsGitHubRepositoryResource.Builder mountPath(JsonField<String> mountPath)
Sets Builder.mountPath to an arbitrary JSON value.
You should usually call Builder.mountPath with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaManagedAgentsGitHubRepositoryResource.Builder type(BetaManagedAgentsGitHubRepositoryResource.Type type)
-
type
final BetaManagedAgentsGitHubRepositoryResource.Builder type(JsonField<BetaManagedAgentsGitHubRepositoryResource.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updatedAt
final BetaManagedAgentsGitHubRepositoryResource.Builder updatedAt(OffsetDateTime updatedAt)
A timestamp in RFC 3339 format
-
updatedAt
final BetaManagedAgentsGitHubRepositoryResource.Builder updatedAt(JsonField<OffsetDateTime> updatedAt)
Sets Builder.updatedAt to an arbitrary JSON value.
You should usually call Builder.updatedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
url
final BetaManagedAgentsGitHubRepositoryResource.Builder url(String url)
-
url
final BetaManagedAgentsGitHubRepositoryResource.Builder url(JsonField<String> url)
Sets Builder.url to an arbitrary JSON value.
You should usually call Builder.url with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
checkout
final BetaManagedAgentsGitHubRepositoryResource.Builder checkout(BetaManagedAgentsGitHubRepositoryResource.Checkout checkout)
-
checkout
final BetaManagedAgentsGitHubRepositoryResource.Builder checkout(Optional<BetaManagedAgentsGitHubRepositoryResource.Checkout> checkout)
Alias for calling Builder.checkout with
checkout.orElse(null).
-
checkout
final BetaManagedAgentsGitHubRepositoryResource.Builder checkout(JsonField<BetaManagedAgentsGitHubRepositoryResource.Checkout> checkout)
Sets Builder.checkout to an arbitrary JSON value.
You should usually call Builder.checkout with a well-typed Checkout value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
checkout
final BetaManagedAgentsGitHubRepositoryResource.Builder checkout(BetaManagedAgentsBranchCheckout branch)
Alias for calling checkout with
Checkout.ofBranch(branch).
-
checkout
final BetaManagedAgentsGitHubRepositoryResource.Builder checkout(BetaManagedAgentsCommitCheckout commit)
Alias for calling checkout with
Checkout.ofCommit(commit).
-
branchCheckout
final BetaManagedAgentsGitHubRepositoryResource.Builder branchCheckout(String name)
Alias for calling checkout with the following:
BetaManagedAgentsBranchCheckout.builder() .type(BetaManagedAgentsBranchCheckout.Type.BRANCH) .name(name) .build()
-
commitCheckout
final BetaManagedAgentsGitHubRepositoryResource.Builder commitCheckout(String sha)
Alias for calling checkout with the following:
BetaManagedAgentsCommitCheckout.builder() .type(BetaManagedAgentsCommitCheckout.Type.COMMIT) .sha(sha) .build()
-
additionalProperties
final BetaManagedAgentsGitHubRepositoryResource.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsGitHubRepositoryResource.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsGitHubRepositoryResource.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsGitHubRepositoryResource.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsGitHubRepositoryResource.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsGitHubRepositoryResource build()
Returns an immutable instance of BetaManagedAgentsGitHubRepositoryResource.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .mountPath() .type() .updatedAt() .url()
-
-
-
-