Class UserProfileActionUrl.Builder
-
- All Implemented Interfaces:
public final class UserProfileActionUrl.BuilderA builder for UserProfileActionUrl.
-
-
Method Summary
-
-
Method Detail
-
expiresAt
final UserProfileActionUrl.Builder expiresAt(OffsetDateTime expiresAt)
When the URL stops working, in RFC 3339 format.
-
expiresAt
final UserProfileActionUrl.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 UserProfileActionUrl.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 UserProfileActionUrl.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 UserProfileActionUrl.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 UserProfileActionUrl.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UserProfileActionUrl.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UserProfileActionUrl.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UserProfileActionUrl.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UserProfileActionUrl.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UserProfileActionUrl build()
Returns an immutable instance of UserProfileActionUrl.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.expiresAt() .url()
-
-
-
-