Package com.oracle.bmc.devops.model
Class PullRequestAttachmentSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.PullRequestAttachmentSummary.Builder
-
- Enclosing class:
- PullRequestAttachmentSummary
public static class PullRequestAttachmentSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PullRequestAttachmentSummary
build()
PullRequestAttachmentSummary.Builder
copy(PullRequestAttachmentSummary model)
PullRequestAttachmentSummary.Builder
createdBy(PrincipalDetails createdBy)
PullRequestAttachmentSummary.Builder
fileName(String fileName)
name to display in description or commentPullRequestAttachmentSummary.Builder
id(String id)
Unique identifier that is immutable on creationPullRequestAttachmentSummary.Builder
pullRequestId(String pullRequestId)
OCID of the pull request that this attachment belongs toPullRequestAttachmentSummary.Builder
timeCreated(Date timeCreated)
Creation timestamp.
-
-
-
Method Detail
-
id
public PullRequestAttachmentSummary.Builder id(String id)
Unique identifier that is immutable on creation- Parameters:
id
- the value to set- Returns:
- this builder
-
pullRequestId
public PullRequestAttachmentSummary.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 PullRequestAttachmentSummary.Builder fileName(String fileName)
name to display in description or comment- Parameters:
fileName
- the value to set- Returns:
- this builder
-
timeCreated
public PullRequestAttachmentSummary.Builder timeCreated(Date timeCreated)
Creation timestamp.Format defined by RFC3339.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
createdBy
public PullRequestAttachmentSummary.Builder createdBy(PrincipalDetails createdBy)
-
build
public PullRequestAttachmentSummary build()
-
copy
public PullRequestAttachmentSummary.Builder copy(PullRequestAttachmentSummary model)
-
-