Class BetaUserProfileActionUrl.Builder
-
- All Implemented Interfaces:
public final class BetaUserProfileActionUrl.BuilderA builder for BetaUserProfileActionUrl.
-
-
Method Summary
-
-
Method Detail
-
expiresAt
final BetaUserProfileActionUrl.Builder expiresAt(OffsetDateTime expiresAt)
When the URL stops working, in RFC 3339 format.
-
expiresAt
final BetaUserProfileActionUrl.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 BetaUserProfileActionUrl.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("user_profile_action_url")This method is primarily for setting the field to an undocumented or not yet supported value.
-
url
final BetaUserProfileActionUrl.Builder url(String url)
The URL to give to the person who takes the action. Anyone who holds it can open it until
expires_at.
-
url
final BetaUserProfileActionUrl.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 BetaUserProfileActionUrl.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaUserProfileActionUrl.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaUserProfileActionUrl.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaUserProfileActionUrl.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaUserProfileActionUrl.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaUserProfileActionUrl build()
Returns an immutable instance of BetaUserProfileActionUrl.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.expiresAt() .url()
-
-
-
-