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