Class Attachment.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Attachment.Builder
-
- Enclosing class:
- Attachment
public static final class Attachment.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Attachmentbuild()Attachment.BuildercontentType(AttachmentContentType contentType)Attachment.BuildercontentType(org.openapitools.jackson.nullable.JsonNullable<? extends AttachmentContentType> contentType)Attachment.Builderurl(java.lang.String url)The URL of the attachment.Attachment.Builderurl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> url)The URL of the attachment.
-
-
-
Method Detail
-
url
public Attachment.Builder url(java.lang.String url)
The URL of the attachment.
-
url
public Attachment.Builder url(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> url)
The URL of the attachment.
-
contentType
public Attachment.Builder contentType(AttachmentContentType contentType)
-
contentType
public Attachment.Builder contentType(org.openapitools.jackson.nullable.JsonNullable<? extends AttachmentContentType> contentType)
-
build
public Attachment build()
-
-