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