Interface CreateViewRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<CreateViewRequest.Builder,CreateViewRequest>,SdkBuilder<CreateViewRequest.Builder,CreateViewRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateViewRequest
public static interface CreateViewRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateViewRequest.Builder,CreateViewRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateViewRequest.BuilderclientToken(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.CreateViewRequest.Buildercontent(ViewInputContent content)View content containing all content necessary to render a view except for runtime input data.CreateViewRequest.Builderdescription(String description)The description of the view.CreateViewRequest.BuilderinstanceId(String instanceId)The identifier of the Amazon Connect instance.CreateViewRequest.Buildername(String name)The name of the view.CreateViewRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateViewRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateViewRequest.Builderstatus(String status)Indicates the view status as eitherSAVEDorPUBLISHED.CreateViewRequest.Builderstatus(ViewStatus status)Indicates the view status as eitherSAVEDorPUBLISHED.CreateViewRequest.Buildertags(Map<String,String> 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.-
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
CreateViewRequest.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.
-
clientToken
CreateViewRequest.Builder clientToken(String 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
CreateViewRequest.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
CreateViewRequest.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
CreateViewRequest.Builder content(ViewInputContent 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
default CreateViewRequest.Builder content(Consumer<ViewInputContent.Builder> 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:
content(ViewInputContent)
-
description
CreateViewRequest.Builder description(String 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
CreateViewRequest.Builder name(String 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
CreateViewRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateViewRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-