public static class PullRequestAttachmentSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PullRequestAttachmentSummary |
build() |
PullRequestAttachmentSummary.Builder |
copy(PullRequestAttachmentSummary model) |
PullRequestAttachmentSummary.Builder |
createdBy(PrincipalDetails createdBy) |
PullRequestAttachmentSummary.Builder |
fileName(String fileName)
name to display in description or comment
|
PullRequestAttachmentSummary.Builder |
id(String id)
Unique identifier that is immutable on creation
|
PullRequestAttachmentSummary.Builder |
pullRequestId(String pullRequestId)
OCID of the pull request that this attachment belongs to
|
PullRequestAttachmentSummary.Builder |
timeCreated(Date timeCreated)
Creation timestamp.
|
public PullRequestAttachmentSummary.Builder id(String id)
Unique identifier that is immutable on creation
id
- the value to setpublic PullRequestAttachmentSummary.Builder pullRequestId(String pullRequestId)
OCID of the pull request that this attachment belongs to
pullRequestId
- the value to setpublic PullRequestAttachmentSummary.Builder fileName(String fileName)
name to display in description or comment
fileName
- the value to setpublic PullRequestAttachmentSummary.Builder timeCreated(Date timeCreated)
Creation timestamp. Format defined by RFC3339.
timeCreated
- the value to setpublic PullRequestAttachmentSummary.Builder createdBy(PrincipalDetails createdBy)
public PullRequestAttachmentSummary build()
public PullRequestAttachmentSummary.Builder copy(PullRequestAttachmentSummary model)
Copyright © 2016–2024. All rights reserved.