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