Interface UpdateViewContentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<UpdateViewContentRequest.Builder,UpdateViewContentRequest>,SdkBuilder<UpdateViewContentRequest.Builder,UpdateViewContentRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateViewContentRequest
public static interface UpdateViewContentRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateViewContentRequest.Builder,UpdateViewContentRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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.UpdateViewContentRequest.Buildercontent(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.UpdateViewContentRequest.BuilderinstanceId(String instanceId)The identifier of the Amazon Connect instance.UpdateViewContentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateViewContentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateViewContentRequest.Builderstatus(String status)Indicates the view status as eitherSAVEDorPUBLISHED.UpdateViewContentRequest.Builderstatus(ViewStatus status)Indicates the view status as eitherSAVEDorPUBLISHED.UpdateViewContentRequest.BuilderviewId(String viewId)The identifier of the view.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
instanceId
UpdateViewContentRequest.Builder instanceId(String 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
UpdateViewContentRequest.Builder viewId(String 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
UpdateViewContentRequest.Builder status(String 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:
ViewStatus,ViewStatus
-
status
UpdateViewContentRequest.Builder status(ViewStatus 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:
ViewStatus,ViewStatus
-
content
UpdateViewContentRequest.Builder 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.
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
default UpdateViewContentRequest.Builder content(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.
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:
content(ViewInputContent)
-
overrideConfiguration
UpdateViewContentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateViewContentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-