Class CreateInviteRequest.Builder
- All Implemented Interfaces:
CreateInviteRequest._FinalStage,CreateInviteRequest.AccessProfileStage,CreateInviteRequest.ContextIdStage,CreateInviteRequest.EmailStage
- Enclosing class:
CreateInviteRequest
-
Method Summary
Modifier and TypeMethodDescriptionYour landing page where the invitee accepts the invitation.Your landing page where the invitee accepts the invitation.accessProfile(@NotNull AccessProfileSpec accessProfile) additionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()The app context the new member will operate in.Email address to invite.Invitee's first name.Invitee's first name.from(CreateInviteRequest other) Display name shown in the From header of the invitation email.Display name shown in the From header of the invitation email.Invitee's last name.Invitee's last name.Whether Vectros should deliver the invitation email for you.Whether Vectros should deliver the invitation email for you.ttlSeconds(Long ttlSeconds) How long the invitation token stays valid, in seconds.ttlSeconds(Optional<Long> ttlSeconds) How long the invitation token stays valid, in seconds.
-
Method Details
-
from
- Specified by:
fromin interfaceCreateInviteRequest.EmailStage
-
email
Email address to invite. Must be a valid email address. If it already belongs to an active or suspended member of this app context the request is rejected; if it already has a pending invitation in this app context, that invitation is resent with a fresh token instead of a new one being created.
Email address to invite. Must be a valid email address. If it already belongs to an active or suspended member of this app context the request is rejected; if it already has a pending invitation in this app context, that invitation is resent with a fresh token instead of a new one being created.
- Specified by:
emailin interfaceCreateInviteRequest.EmailStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contextId
The app context the new member will operate in. Must reference an existing app context in your account. The invitee's access profile is bound to this context.
The app context the new member will operate in. Must reference an existing app context in your account. The invitee's access profile is bound to this context.
- Specified by:
contextIdin interfaceCreateInviteRequest.ContextIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
accessProfile
public CreateInviteRequest._FinalStage accessProfile(@NotNull @NotNull AccessProfileSpec accessProfile) - Specified by:
accessProfilein interfaceCreateInviteRequest.AccessProfileStage
-
sendEmail
Whether Vectros should deliver the invitation email for you. When true (the default), the email is sent on your behalf. When false, no email is sent and the response instead returns the raw token and a ready-to-use accept link so you can deliver the invitation through your own email provider.
- Specified by:
sendEmailin interfaceCreateInviteRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
sendEmail
Whether Vectros should deliver the invitation email for you. When true (the default), the email is sent on your behalf. When false, no email is sent and the response instead returns the raw token and a ready-to-use accept link so you can deliver the invitation through your own email provider.
- Specified by:
sendEmailin interfaceCreateInviteRequest._FinalStage
-
ttlSeconds
How long the invitation token stays valid, in seconds. Defaults to 604800 (7 days). Must be between 3600 (1 hour) and 2592000 (30 days).
- Specified by:
ttlSecondsin interfaceCreateInviteRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ttlSeconds
How long the invitation token stays valid, in seconds. Defaults to 604800 (7 days). Must be between 3600 (1 hour) and 2592000 (30 days).
- Specified by:
ttlSecondsin interfaceCreateInviteRequest._FinalStage
-
fromName
Display name shown in the From header of the invitation email. Defaults to
Vectros. Maximum 100 characters; must not contain newlines.- Specified by:
fromNamein interfaceCreateInviteRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
fromName
Display name shown in the From header of the invitation email. Defaults to
Vectros. Maximum 100 characters; must not contain newlines.- Specified by:
fromNamein interfaceCreateInviteRequest._FinalStage
-
acceptUrl
Your landing page where the invitee accepts the invitation. Required when
sendEmailis true. The invitation token is appended as atquery parameter. Must be an https URL with a domain-name host (IP-literal hosts are rejected).- Specified by:
acceptUrlin interfaceCreateInviteRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
acceptUrl
Your landing page where the invitee accepts the invitation. Required when
sendEmailis true. The invitation token is appended as atquery parameter. Must be an https URL with a domain-name host (IP-literal hosts are rejected).- Specified by:
acceptUrlin interfaceCreateInviteRequest._FinalStage
-
lastName
Invitee's last name. Optional; accepted but not currently stored or returned.
- Specified by:
lastNamein interfaceCreateInviteRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
lastName
Invitee's last name. Optional; accepted but not currently stored or returned.
- Specified by:
lastNamein interfaceCreateInviteRequest._FinalStage
-
firstName
Invitee's first name. Optional; used to personalize the invitation email greeting.
- Specified by:
firstNamein interfaceCreateInviteRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
firstName
Invitee's first name. Optional; used to personalize the invitation email greeting.
- Specified by:
firstNamein interfaceCreateInviteRequest._FinalStage
-
build
- Specified by:
buildin interfaceCreateInviteRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceCreateInviteRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceCreateInviteRequest._FinalStage
-