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