Interface CreateViewRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<CreateViewRequest.Builder,,CreateViewRequest> SdkBuilder<CreateViewRequest.Builder,,CreateViewRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateViewRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique Id for each create view request to avoid duplicate view creation.default CreateViewRequest.Buildercontent(Consumer<ViewInputContent.Builder> content) View content containing all content necessary to render a view except for runtime input data.content(ViewInputContent content) View content containing all content necessary to render a view except for runtime input data.description(String description) The description of the view.instanceId(String instanceId) The identifier of the Amazon Connect instance.The name of the view.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 tags associated with the view resource (not specific to view version).These tags can be used to organize, track, or control access for this resource.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.
-
clientToken
A unique Id for each create view request to avoid duplicate view creation. For example, the view is idempotent ClientToken is provided.
- Parameters:
clientToken- A unique Id for each create view request to avoid duplicate view creation. For example, the view is idempotent ClientToken is provided.- 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.
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.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.
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:
-
description
The description of the view.
- Parameters:
description- The description of the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the view.
- Parameters:
name- The name of the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the view resource (not specific to view version).These tags can be used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags- The tags associated with the view resource (not specific to view version).These tags can be used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateViewRequest.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
CreateViewRequest.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.
-