Interface CreateViewRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateViewRequest.Builder,,CreateViewRequest> ResourceExplorer2Request.Builder,SdkBuilder<CreateViewRequest.Builder,,CreateViewRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateViewRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) This value helps ensure idempotency.default CreateViewRequest.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 root ARN of the account, an organizational unit (OU), or an organization ARN.Tag key and value pairs that are attached to the view.The name of the new view.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
-
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.
- Parameters:
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.- 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 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
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.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:
-
scope
The root ARN of the account, an organizational unit (OU), or an organization ARN. If left empty, the default is account.
- Parameters:
scope- The root ARN of the account, an organizational unit (OU), or an organization ARN. If left empty, the default is account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tag key and value pairs that are attached to the view.
- Parameters:
tags- Tag key and value pairs that are attached to the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- 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.
-