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