Interface BatchStartViewerSessionRevocationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchStartViewerSessionRevocationResponse.Builder,,BatchStartViewerSessionRevocationResponse> IvsResponse.Builder,SdkBuilder<BatchStartViewerSessionRevocationResponse.Builder,,BatchStartViewerSessionRevocationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchStartViewerSessionRevocationResponse
-
Method Summary
Modifier and TypeMethodDescriptionaccessControlAllowOrigin(String accessControlAllowOrigin) See Access-Control-Allow-Origin in the MDN Web Docs.accessControlExposeHeaders(String accessControlExposeHeaders) See Access-Control-Expose-Headers in the MDN Web Docs.cacheControl(String cacheControl) See Cache-Control in the MDN Web Docs.contentSecurityPolicy(String contentSecurityPolicy) See Content -Security-Policy in the MDN Web Docs.Each error object is related to a specificchannelArnandviewerIdpair in the request.Each error object is related to a specificchannelArnandviewerIdpair in the request.errors(BatchStartViewerSessionRevocationError... errors) Each error object is related to a specificchannelArnandviewerIdpair in the request.strictTransportSecurity(String strictTransportSecurity) See Strict -Transport-Security in the MDN Web Docs.xContentTypeOptions(String xContentTypeOptions) See X-Content -Type-Options in the MDN Web Docs.xFrameOptions(String xFrameOptions) See X-Frame-Options in the MDN Web Docs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ivs.model.IvsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
accessControlAllowOrigin
BatchStartViewerSessionRevocationResponse.Builder accessControlAllowOrigin(String accessControlAllowOrigin) See Access-Control-Allow-Origin in the MDN Web Docs.
- Parameters:
accessControlAllowOrigin- See Access-Control-Allow-Origin in the MDN Web Docs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessControlExposeHeaders
BatchStartViewerSessionRevocationResponse.Builder accessControlExposeHeaders(String accessControlExposeHeaders) See Access-Control-Expose-Headers in the MDN Web Docs.
- Parameters:
accessControlExposeHeaders- See Access-Control-Expose-Headers in the MDN Web Docs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheControl
See Cache-Control in the MDN Web Docs.
- Parameters:
cacheControl- See Cache- Control in the MDN Web Docs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentSecurityPolicy
BatchStartViewerSessionRevocationResponse.Builder contentSecurityPolicy(String contentSecurityPolicy) See Content -Security-Policy in the MDN Web Docs.
- Parameters:
contentSecurityPolicy- See Content-Security-Policy in the MDN Web Docs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
strictTransportSecurity
BatchStartViewerSessionRevocationResponse.Builder strictTransportSecurity(String strictTransportSecurity) See Strict -Transport-Security in the MDN Web Docs.
- Parameters:
strictTransportSecurity- See Strict-Transport-Security in the MDN Web Docs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
xContentTypeOptions
See X-Content -Type-Options in the MDN Web Docs.
- Parameters:
xContentTypeOptions- See X-Content-Type-Options in the MDN Web Docs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
xFrameOptions
See X-Frame-Options in the MDN Web Docs.
- Parameters:
xFrameOptions- See X-Frame -Options in the MDN Web Docs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchStartViewerSessionRevocationResponse.Builder errors(Collection<BatchStartViewerSessionRevocationError> errors) Each error object is related to a specific
channelArnandviewerIdpair in the request.- Parameters:
errors- Each error object is related to a specificchannelArnandviewerIdpair in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchStartViewerSessionRevocationResponse.Builder errors(BatchStartViewerSessionRevocationError... errors) Each error object is related to a specific
channelArnandviewerIdpair in the request.- Parameters:
errors- Each error object is related to a specificchannelArnandviewerIdpair in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchStartViewerSessionRevocationResponse.Builder errors(Consumer<BatchStartViewerSessionRevocationError.Builder>... errors) Each error object is related to a specific
This is a convenience method that creates an instance of thechannelArnandviewerIdpair in the request.BatchStartViewerSessionRevocationError.Builderavoiding the need to create one manually viaBatchStartViewerSessionRevocationError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchStartViewerSessionRevocationError>).- Parameters:
errors- a consumer that will call methods onBatchStartViewerSessionRevocationError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-