public static interface CreateViewRequest.Builder extends ResourceExplorer2Request.Builder, SdkPojo, CopyableBuilder<CreateViewRequest.Builder,CreateViewRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateViewRequest.Builder |
clientToken(String clientToken)
This value helps ensure idempotency.
|
default CreateViewRequest.Builder |
filters(Consumer<SearchFilter.Builder> filters)
An array of strings that specify which resources are included in the results of queries made using this view.
|
CreateViewRequest.Builder |
filters(SearchFilter filters)
An array of strings that specify which resources are included in the results of queries made using this view.
|
CreateViewRequest.Builder |
includedProperties(Collection<IncludedProperty> includedProperties)
Specifies optional fields that you want included in search results from this view.
|
CreateViewRequest.Builder |
includedProperties(Consumer<IncludedProperty.Builder>... includedProperties)
Specifies optional fields that you want included in search results from this view.
|
CreateViewRequest.Builder |
includedProperties(IncludedProperty... includedProperties)
Specifies optional fields that you want included in search results from this view.
|
CreateViewRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateViewRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateViewRequest.Builder |
tags(Map<String,String> tags)
Tag key and value pairs that are attached to the view.
|
CreateViewRequest.Builder |
viewName(String viewName)
The name of the new view.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateViewRequest.Builder clientToken(String clientToken)
This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation of duplicate versions. We recommend that you generate a UUID-type value to ensure the uniqueness of your views.
clientToken - This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental
creation of duplicate versions. We recommend that you generate a UUID-type value to ensure the
uniqueness of your views.CreateViewRequest.Builder filters(SearchFilter filters)
An array of strings that specify which resources are included in the results of queries made using this view.
When you use this view in a Search operation, the filter string is combined with the search's
QueryString parameter using a logical AND operator.
For information about the supported syntax, see Search query reference for Resource Explorer in the Amazon Web Services Resource Explorer User Guide.
This query string in the context of this operation supports only filter prefixes with optional operators. It doesn't support free-form text. For example, the string
region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any Amazon Web
Services Region that begins with the letters us and is not tagged with a key
Stage that has the value prod.
filters - An array of strings that specify which resources are included in the results of queries made using
this view. When you use this view in a Search operation, the filter string is combined with the
search's QueryString parameter using a logical AND operator.
For information about the supported syntax, see Search query reference for Resource Explorer in the Amazon Web Services Resource Explorer User Guide.
This query string in the context of this operation supports only filter prefixes with optional operators. It doesn't support free-form text. For example, the string
region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any Amazon
Web Services Region that begins with the letters us and is not tagged with a key
Stage that has the value prod.
default CreateViewRequest.Builder filters(Consumer<SearchFilter.Builder> filters)
An array of strings that specify which resources are included in the results of queries made using this view.
When you use this view in a Search operation, the filter string is combined with the search's
QueryString parameter using a logical AND operator.
For information about the supported syntax, see Search query reference for Resource Explorer in the Amazon Web Services Resource Explorer User Guide.
This query string in the context of this operation supports only filter prefixes with optional operators. It doesn't support free-form text. For example, the string
region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any Amazon Web
Services Region that begins with the letters us and is not tagged with a key
Stage that has the value prod.
SearchFilter.Builder
avoiding the need to create one manually via SearchFilter.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to filters(SearchFilter).
filters - a consumer that will call methods on SearchFilter.Builderfilters(SearchFilter)CreateViewRequest.Builder includedProperties(Collection<IncludedProperty> includedProperties)
Specifies optional fields that you want included in search results from this view. It is a list of objects that each describe a field to include.
The default is an empty list, with no optional fields included in the results.
includedProperties - Specifies optional fields that you want included in search results from this view. It is a list of
objects that each describe a field to include.
The default is an empty list, with no optional fields included in the results.
CreateViewRequest.Builder includedProperties(IncludedProperty... includedProperties)
Specifies optional fields that you want included in search results from this view. It is a list of objects that each describe a field to include.
The default is an empty list, with no optional fields included in the results.
includedProperties - Specifies optional fields that you want included in search results from this view. It is a list of
objects that each describe a field to include.
The default is an empty list, with no optional fields included in the results.
CreateViewRequest.Builder includedProperties(Consumer<IncludedProperty.Builder>... includedProperties)
Specifies optional fields that you want included in search results from this view. It is a list of objects that each describe a field to include.
The default is an empty list, with no optional fields included in the results.
This is a convenience method that creates an instance of theIncludedProperty.Builder avoiding the need to
create one manually via
IncludedProperty.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #includedProperties(List.
includedProperties - a consumer that will call methods on
IncludedProperty.Builder#includedProperties(java.util.Collection) CreateViewRequest.Builder tags(Map<String,String> tags)
Tag key and value pairs that are attached to the view.
tags - Tag key and value pairs that are attached to the view.CreateViewRequest.Builder viewName(String viewName)
The name of the new view. This name appears in the list of views in Resource Explorer.
The name must be no more than 64 characters long, and can include letters, digits, and the dash (-) character. The name must be unique within its Amazon Web Services Region.
viewName - The name of the new view. This name appears in the list of views in Resource Explorer.
The name must be no more than 64 characters long, and can include letters, digits, and the dash (-) character. The name must be unique within its Amazon Web Services Region.
CreateViewRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateViewRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.