Class MessagingGetAttachmentResponse.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.MessagingGetAttachmentResponse.Builder
-
- Enclosing class:
- MessagingGetAttachmentResponse
public static final class MessagingGetAttachmentResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessagingGetAttachmentResponsebuild()MessagingGetAttachmentResponse.BuildercontentType(java.lang.String contentType)HTTP response content type for this operationMessagingGetAttachmentResponse.Builderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)MessagingGetAttachmentResponse.BuildermessagingAttachmentResult(MessagingAttachmentResult messagingAttachmentResult)The attachment with the given identifier was retrieved.MessagingGetAttachmentResponse.BuildermessagingAttachmentResult(java.util.Optional<? extends MessagingAttachmentResult> messagingAttachmentResult)The attachment with the given identifier was retrieved.MessagingGetAttachmentResponse.BuilderrawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingMessagingGetAttachmentResponse.BuilderstatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Method Detail
-
contentType
public MessagingGetAttachmentResponse.Builder contentType(java.lang.String contentType)
HTTP response content type for this operation
-
statusCode
public MessagingGetAttachmentResponse.Builder statusCode(int statusCode)
HTTP response status code for this operation
-
rawResponse
public MessagingGetAttachmentResponse.Builder rawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
messagingAttachmentResult
public MessagingGetAttachmentResponse.Builder messagingAttachmentResult(MessagingAttachmentResult messagingAttachmentResult)
The attachment with the given identifier was retrieved.
-
messagingAttachmentResult
public MessagingGetAttachmentResponse.Builder messagingAttachmentResult(java.util.Optional<? extends MessagingAttachmentResult> messagingAttachmentResult)
The attachment with the given identifier was retrieved.
-
headers
public MessagingGetAttachmentResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public MessagingGetAttachmentResponse build()
-
-