Class LmsGetAssignmentResponse.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.async.LmsGetAssignmentResponse.Builder
-
- Enclosing class:
- LmsGetAssignmentResponse
public static final class LmsGetAssignmentResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LmsGetAssignmentResponse.BuilderassignmentResult(AssignmentResult assignmentResult)The assignment with the given identifier was retrieved.LmsGetAssignmentResponse.BuilderassignmentResult(java.util.Optional<? extends AssignmentResult> assignmentResult)The assignment with the given identifier was retrieved.LmsGetAssignmentResponsebuild()LmsGetAssignmentResponse.BuildercontentType(java.lang.String contentType)HTTP response content type for this operationLmsGetAssignmentResponse.Builderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)LmsGetAssignmentResponse.BuilderrawResponse(java.net.http.HttpResponse<Blob> rawResponse)Raw HTTP response; suitable for custom response parsingLmsGetAssignmentResponse.BuilderstatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Method Detail
-
contentType
public LmsGetAssignmentResponse.Builder contentType(java.lang.String contentType)
HTTP response content type for this operation
-
statusCode
public LmsGetAssignmentResponse.Builder statusCode(int statusCode)
HTTP response status code for this operation
-
rawResponse
public LmsGetAssignmentResponse.Builder rawResponse(java.net.http.HttpResponse<Blob> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
assignmentResult
public LmsGetAssignmentResponse.Builder assignmentResult(AssignmentResult assignmentResult)
The assignment with the given identifier was retrieved.
-
assignmentResult
public LmsGetAssignmentResponse.Builder assignmentResult(java.util.Optional<? extends AssignmentResult> assignmentResult)
The assignment with the given identifier was retrieved.
-
headers
public LmsGetAssignmentResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public LmsGetAssignmentResponse build()
-
-