Class RecipientInvitation.Builder
- java.lang.Object
-
- com.oracle.bmc.tenantmanagercontrolplane.model.RecipientInvitation.Builder
-
- Enclosing class:
- RecipientInvitation
public static class RecipientInvitation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecipientInvitationbuild()RecipientInvitation.BuildercompartmentId(String compartmentId)OCID of the recipient tenancy.RecipientInvitation.Buildercopy(RecipientInvitation model)RecipientInvitation.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.RecipientInvitation.BuilderdisplayName(String displayName)A user-created name to describe the invitation.RecipientInvitation.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.RecipientInvitation.Builderid(String id)OCID of the recipient invitation.RecipientInvitation.BuilderlifecycleState(LifecycleState lifecycleState)Lifecycle state of the recipient invitation.RecipientInvitation.BuilderrecipientEmailAddress(String recipientEmailAddress)Email address of the recipient.RecipientInvitation.BuildersenderInvitationId(String senderInvitationId)OCID of the corresponding sender invitation.RecipientInvitation.BuildersenderTenancyId(String senderTenancyId)OCID of the sender tenancy.RecipientInvitation.Builderstatus(RecipientInvitationStatus status)Status of the recipient invitation.RecipientInvitation.Buildersubjects(List<InvitationSubject> subjects)The list of subjects the invitation contains.RecipientInvitation.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.RecipientInvitation.BuildertimeCreated(Date timeCreated)Date and time when the recipient invitation was created.RecipientInvitation.BuildertimeUpdated(Date timeUpdated)Date and time when the recipient invitation was last updated.
-
-
-
Method Detail
-
id
public RecipientInvitation.Builder id(String id)
OCID of the recipient invitation.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public RecipientInvitation.Builder compartmentId(String compartmentId)
OCID of the recipient tenancy.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
subjects
public RecipientInvitation.Builder subjects(List<InvitationSubject> subjects)
The list of subjects the invitation contains.- Parameters:
subjects- the value to set- Returns:
- this builder
-
senderInvitationId
public RecipientInvitation.Builder senderInvitationId(String senderInvitationId)
OCID of the corresponding sender invitation.- Parameters:
senderInvitationId- the value to set- Returns:
- this builder
-
senderTenancyId
public RecipientInvitation.Builder senderTenancyId(String senderTenancyId)
OCID of the sender tenancy.- Parameters:
senderTenancyId- the value to set- Returns:
- this builder
-
lifecycleState
public RecipientInvitation.Builder lifecycleState(LifecycleState lifecycleState)
Lifecycle state of the recipient invitation.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
status
public RecipientInvitation.Builder status(RecipientInvitationStatus status)
Status of the recipient invitation.- Parameters:
status- the value to set- Returns:
- this builder
-
displayName
public RecipientInvitation.Builder displayName(String displayName)
A user-created name to describe the invitation.Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
timeCreated
public RecipientInvitation.Builder timeCreated(Date timeCreated)
Date and time when the recipient invitation was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public RecipientInvitation.Builder timeUpdated(Date timeUpdated)
Date and time when the recipient invitation was last updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
recipientEmailAddress
public RecipientInvitation.Builder recipientEmailAddress(String recipientEmailAddress)
Email address of the recipient.- Parameters:
recipientEmailAddress- the value to set- Returns:
- this builder
-
freeformTags
public RecipientInvitation.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public RecipientInvitation.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public RecipientInvitation.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public RecipientInvitation build()
-
copy
public RecipientInvitation.Builder copy(RecipientInvitation model)
-
-