public static class MessageInputAttachment.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String url)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
MessageInputAttachment |
build()
Builds a MessageInputAttachment.
|
MessageInputAttachment.Builder |
mediaType(String mediaType)
Set the mediaType.
|
MessageInputAttachment.Builder |
url(String url)
Set the url.
|
public Builder()
public Builder(String url)
url
- the urlpublic MessageInputAttachment build()
public MessageInputAttachment.Builder url(String url)
url
- the urlpublic MessageInputAttachment.Builder mediaType(String mediaType)
mediaType
- the mediaTypeCopyright © 2023 IBM Cloud. All rights reserved.