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 SenderInvitation
build()
SenderInvitation.Builder
compartmentId(String compartmentId)
OCID of the sender tenancy.SenderInvitation.Builder
copy(SenderInvitation model)
SenderInvitation.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.SenderInvitation.Builder
displayName(String displayName)
A user-created name to describe the invitation.SenderInvitation.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.SenderInvitation.Builder
id(String id)
OCID of the sender invitation.SenderInvitation.Builder
lifecycleState(LifecycleState lifecycleState)
Lifecycle state of the sender invitation.SenderInvitation.Builder
recipientEmailAddress(String recipientEmailAddress)
Email address of the recipient.SenderInvitation.Builder
recipientInvitationId(String recipientInvitationId)
OCID of the corresponding recipient invitation.SenderInvitation.Builder
recipientTenancyId(String recipientTenancyId)
OCID of the recipient tenancy.SenderInvitation.Builder
status(SenderInvitationStatus status)
Status of the sender invitation.SenderInvitation.Builder
subjects(List<InvitationSubject> subjects)
The list of subjects the invitation contains.SenderInvitation.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.SenderInvitation.Builder
timeCreated(Date timeCreated)
Date and time when the sender invitation was created.SenderInvitation.Builder
timeUpdated(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)
-
-