Class BetaUserProfileEnrollmentUrl.Builder
-
- All Implemented Interfaces:
public final class BetaUserProfileEnrollmentUrl.BuilderA builder for BetaUserProfileEnrollmentUrl.
-
-
Method Summary
-
-
Method Detail
-
expiresAt
final BetaUserProfileEnrollmentUrl.Builder expiresAt(OffsetDateTime expiresAt)
A timestamp in RFC 3339 format
-
expiresAt
final BetaUserProfileEnrollmentUrl.Builder expiresAt(JsonField<OffsetDateTime> expiresAt)
Sets Builder.expiresAt to an arbitrary JSON value.
You should usually call Builder.expiresAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaUserProfileEnrollmentUrl.Builder type(BetaUserProfileEnrollmentUrl.Type type)
Object type. Always
enrollment_url.
-
type
final BetaUserProfileEnrollmentUrl.Builder type(JsonField<BetaUserProfileEnrollmentUrl.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.
-
url
final BetaUserProfileEnrollmentUrl.Builder url(String url)
Enrollment URL to send to the end user. Valid until
expires_at.
-
url
final BetaUserProfileEnrollmentUrl.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.
-
additionalProperties
final BetaUserProfileEnrollmentUrl.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaUserProfileEnrollmentUrl.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaUserProfileEnrollmentUrl.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaUserProfileEnrollmentUrl.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaUserProfileEnrollmentUrl.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaUserProfileEnrollmentUrl build()
Returns an immutable instance of BetaUserProfileEnrollmentUrl.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.expiresAt() .type() .url()
-
-
-
-