Class SenderInvitation.Builder
- java.lang.Object
-
- com.oracle.bmc.tenantmanagercontrolplane.model.SenderInvitation.Builder
-
- Enclosing class:
- SenderInvitation
public static class SenderInvitation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SenderInvitationbuild()SenderInvitation.BuildercompartmentId(String compartmentId)OCID of the sender tenancy.SenderInvitation.Buildercopy(SenderInvitation model)SenderInvitation.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.SenderInvitation.BuilderdisplayName(String displayName)A user-created name to describe the invitation.SenderInvitation.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.SenderInvitation.Builderid(String id)OCID of the sender invitation.SenderInvitation.BuilderlifecycleState(LifecycleState lifecycleState)Lifecycle state of the sender invitation.SenderInvitation.BuilderrecipientEmailAddress(String recipientEmailAddress)Email address of the recipient.SenderInvitation.BuilderrecipientInvitationId(String recipientInvitationId)OCID of the corresponding recipient invitation.SenderInvitation.BuilderrecipientTenancyId(String recipientTenancyId)OCID of the recipient tenancy.SenderInvitation.Builderstatus(SenderInvitationStatus status)Status of the sender invitation.SenderInvitation.Buildersubjects(List<InvitationSubject> subjects)The list of subjects the invitation contains.SenderInvitation.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.SenderInvitation.BuildertimeCreated(Date timeCreated)Date and time when the sender invitation was created.SenderInvitation.BuildertimeUpdated(Date timeUpdated)Date and time when the sender invitation was last updated.
-
-
-
Method Detail
-
id
public SenderInvitation.Builder id(String id)
OCID of the sender invitation.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public SenderInvitation.Builder compartmentId(String compartmentId)
OCID of the sender tenancy.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
subjects
public SenderInvitation.Builder subjects(List<InvitationSubject> subjects)
The list of subjects the invitation contains.- Parameters:
subjects- the value to set- Returns:
- this builder
-
recipientInvitationId
public SenderInvitation.Builder recipientInvitationId(String recipientInvitationId)
OCID of the corresponding recipient invitation.- Parameters:
recipientInvitationId- the value to set- Returns:
- this builder
-
recipientTenancyId
public SenderInvitation.Builder recipientTenancyId(String recipientTenancyId)
OCID of the recipient tenancy.- Parameters:
recipientTenancyId- the value to set- Returns:
- this builder
-
lifecycleState
public SenderInvitation.Builder lifecycleState(LifecycleState lifecycleState)
Lifecycle state of the sender invitation.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
status
public SenderInvitation.Builder status(SenderInvitationStatus status)
Status of the sender invitation.- Parameters:
status- the value to set- Returns:
- this builder
-
displayName
public SenderInvitation.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 SenderInvitation.Builder timeCreated(Date timeCreated)
Date and time when the sender invitation was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public SenderInvitation.Builder timeUpdated(Date timeUpdated)
Date and time when the sender invitation was last updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
recipientEmailAddress
public SenderInvitation.Builder recipientEmailAddress(String recipientEmailAddress)
Email address of the recipient.- Parameters:
recipientEmailAddress- the value to set- Returns:
- this builder
-
freeformTags
public SenderInvitation.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 SenderInvitation.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 SenderInvitation.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 SenderInvitation build()
-
copy
public SenderInvitation.Builder copy(SenderInvitation model)
-
-