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