Package io.moov.sdk.models.operations
Class GetCancellationResponse.Builder
- java.lang.Object
-
- io.moov.sdk.models.operations.GetCancellationResponse.Builder
-
- Enclosing class:
- GetCancellationResponse
public static final class GetCancellationResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetCancellationResponsebuild()GetCancellationResponse.Buildercancellation(Cancellation cancellation)The request completed successfully.GetCancellationResponse.Buildercancellation(java.util.Optional<? extends Cancellation> cancellation)The request completed successfully.GetCancellationResponse.BuildercontentType(java.lang.String contentType)HTTP response content type for this operationGetCancellationResponse.Builderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)GetCancellationResponse.BuilderrawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingGetCancellationResponse.BuilderstatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Method Detail
-
contentType
public GetCancellationResponse.Builder contentType(java.lang.String contentType)
HTTP response content type for this operation
-
statusCode
public GetCancellationResponse.Builder statusCode(int statusCode)
HTTP response status code for this operation
-
rawResponse
public GetCancellationResponse.Builder rawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
cancellation
public GetCancellationResponse.Builder cancellation(Cancellation cancellation)
The request completed successfully.
-
cancellation
public GetCancellationResponse.Builder cancellation(java.util.Optional<? extends Cancellation> cancellation)
The request completed successfully.
-
headers
public GetCancellationResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public GetCancellationResponse build()
-
-