Interface UpdateViewRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateViewRequest.Builder,,UpdateViewRequest> ResourceExplorer2Request.Builder,SdkBuilder<UpdateViewRequest.Builder,,UpdateViewRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateViewRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateViewRequest.Builderfilters(Consumer<SearchFilter.Builder> filters) An array of strings that specify which resources are included in the results of queries made using this view.filters(SearchFilter filters) An array of strings that specify which resources are included in the results of queries made using this view.includedProperties(Collection<IncludedProperty> includedProperties) Specifies optional fields that you want included in search results from this view.includedProperties(Consumer<IncludedProperty.Builder>... includedProperties) Specifies optional fields that you want included in search results from this view.includedProperties(IncludedProperty... includedProperties) Specifies optional fields that you want included in search results from this view.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon resource name (ARN) of the view that you want to modify.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.resourceexplorer2.model.ResourceExplorer2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
QueryStringparameter using a logicalANDoperator.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=prodincludes all Amazon EC2 resources in any Amazon Web Services Region that begins with the lettersusand is not tagged with a keyStagethat has the valueprod.- Parameters:
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'sQueryStringparameter using a logicalANDoperator.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=prodincludes all Amazon EC2 resources in any Amazon Web Services Region that begins with the lettersusand is not tagged with a keyStagethat has the valueprod.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
QueryStringparameter using a logicalANDoperator.For information about the supported syntax, see Search query reference for Resource Explorer in the Amazon Web Services Resource Explorer User Guide.
This is a convenience method that creates an instance of theThis 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=prodincludes all Amazon EC2 resources in any Amazon Web Services Region that begins with the lettersusand is not tagged with a keyStagethat has the valueprod.SearchFilter.Builderavoiding the need to create one manually viaSearchFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(SearchFilter).- Parameters:
filters- a consumer that will call methods onSearchFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includedProperties
UpdateViewRequest.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.Builderavoiding the need to create one manually viaIncludedProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toincludedProperties(List<IncludedProperty>).- Parameters:
includedProperties- a consumer that will call methods onIncludedProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
viewArn
The Amazon resource name (ARN) of the view that you want to modify.
- Parameters:
viewArn- The Amazon resource name (ARN) of the view that you want to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateViewRequest.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
UpdateViewRequest.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.
-