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