Package com.oracle.bmc.devops.model
Class PullRequestAttachment.Builder
- java.lang.Object
- 
- com.oracle.bmc.devops.model.PullRequestAttachment.Builder
 
- 
- Enclosing class:
- PullRequestAttachment
 
 public static class PullRequestAttachment.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PullRequestAttachmentbuild()PullRequestAttachment.Buildercopy(PullRequestAttachment model)PullRequestAttachment.BuildercreatedBy(PrincipalDetails createdBy)PullRequestAttachment.BuilderfileName(String fileName)name to display in description or commentPullRequestAttachment.Builderid(String id)Unique identifier that is immutable on creationPullRequestAttachment.BuilderpullRequestId(String pullRequestId)OCID of the pull request that this attachment belongs toPullRequestAttachment.BuildertimeCreated(Date timeCreated)Creation timestamp.
 
- 
- 
- 
Method Detail- 
idpublic PullRequestAttachment.Builder id(String id) Unique identifier that is immutable on creation- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
pullRequestIdpublic PullRequestAttachment.Builder pullRequestId(String pullRequestId) OCID of the pull request that this attachment belongs to- Parameters:
- pullRequestId- the value to set
- Returns:
- this builder
 
 - 
fileNamepublic PullRequestAttachment.Builder fileName(String fileName) name to display in description or comment- Parameters:
- fileName- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic PullRequestAttachment.Builder timeCreated(Date timeCreated) Creation timestamp.Format defined by RFC3339. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
createdBypublic PullRequestAttachment.Builder createdBy(PrincipalDetails createdBy) 
 - 
buildpublic PullRequestAttachment build() 
 - 
copypublic PullRequestAttachment.Builder copy(PullRequestAttachment model) 
 
- 
 
-