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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
id
public PullRequestAttachment.Builder id(String id)
Unique identifier that is immutable on creation- Parameters:
id- the value to set- Returns:
- this builder
-
pullRequestId
public PullRequestAttachment.Builder pullRequestId(String pullRequestId)
OCID of the pull request that this attachment belongs to- Parameters:
pullRequestId- the value to set- Returns:
- this builder
-
fileName
public PullRequestAttachment.Builder fileName(String fileName)
name to display in description or comment- Parameters:
fileName- the value to set- Returns:
- this builder
-
timeCreated
public PullRequestAttachment.Builder timeCreated(Date timeCreated)
Creation timestamp.Format defined by RFC3339.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
createdBy
public PullRequestAttachment.Builder createdBy(PrincipalDetails createdBy)
-
build
public PullRequestAttachment build()
-
copy
public PullRequestAttachment.Builder copy(PullRequestAttachment model)
-
-