Interface UpdateViewContentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<UpdateViewContentRequest.Builder,,UpdateViewContentRequest> SdkBuilder<UpdateViewContentRequest.Builder,,UpdateViewContentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateViewContentRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateViewContentRequest.Buildercontent(Consumer<ViewInputContent.Builder> content) View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.content(ViewInputContent content) View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.instanceId(String instanceId) The identifier of the Amazon Connect instance.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Indicates the view status as eitherSAVEDorPUBLISHED.status(ViewStatus status) Indicates the view status as eitherSAVEDorPUBLISHED.The identifier of the view.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
instanceId
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
- Parameters:
instanceId- The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
viewId
The identifier of the view. Both
ViewArnandViewIdcan be used.- Parameters:
viewId- The identifier of the view. BothViewArnandViewIdcan be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Indicates the view status as either
SAVEDorPUBLISHED. ThePUBLISHEDstatus will initiate validation on the content.- Parameters:
status- Indicates the view status as eitherSAVEDorPUBLISHED. ThePUBLISHEDstatus will initiate validation on the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Indicates the view status as either
SAVEDorPUBLISHED. ThePUBLISHEDstatus will initiate validation on the content.- Parameters:
status- Indicates the view status as eitherSAVEDorPUBLISHED. ThePUBLISHEDstatus will initiate validation on the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
content
View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.
The total uncompressed content has a maximum file size of 400kB.
- Parameters:
content- View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.The total uncompressed content has a maximum file size of 400kB.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.
The total uncompressed content has a maximum file size of 400kB.
This is a convenience method that creates an instance of theViewInputContent.Builderavoiding the need to create one manually viaViewInputContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontent(ViewInputContent).- Parameters:
content- a consumer that will call methods onViewInputContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateViewContentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateViewContentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-