Interface SearchSecurityProfilesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<SearchSecurityProfilesRequest.Builder,,SearchSecurityProfilesRequest> SdkBuilder<SearchSecurityProfilesRequest.Builder,,SearchSecurityProfilesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SearchSecurityProfilesRequest
-
Method Summary
Modifier and TypeMethodDescriptioninstanceId(String instanceId) The identifier of the Amazon Connect instance.maxResults(Integer maxResults) The maximum number of results to return per page.The token for the next set of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.searchCriteria(Consumer<SecurityProfileSearchCriteria.Builder> searchCriteria) The search criteria to be used to return security profiles.searchCriteria(SecurityProfileSearchCriteria searchCriteria) The search criteria to be used to return security profiles.searchFilter(Consumer<SecurityProfilesSearchFilter.Builder> searchFilter) Filters to be applied to search results.searchFilter(SecurityProfilesSearchFilter searchFilter) Filters to be applied to search results.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 instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- Parameters:
nextToken- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return per page.
- Parameters:
maxResults- The maximum number of results to return per page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchCriteria
The search criteria to be used to return security profiles.
The
namefield support "contains" queries with a minimum of 2 characters and maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.The currently supported value for
FieldName:name- Parameters:
searchCriteria- The search criteria to be used to return security profiles.The
namefield support "contains" queries with a minimum of 2 characters and maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.The currently supported value for
FieldName:name- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchCriteria
default SearchSecurityProfilesRequest.Builder searchCriteria(Consumer<SecurityProfileSearchCriteria.Builder> searchCriteria) The search criteria to be used to return security profiles.
The
namefield support "contains" queries with a minimum of 2 characters and maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results. This is a convenience method that creates an instance of theThe currently supported value for
FieldName:nameSecurityProfileSearchCriteria.Builderavoiding the need to create one manually viaSecurityProfileSearchCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosearchCriteria(SecurityProfileSearchCriteria).- Parameters:
searchCriteria- a consumer that will call methods onSecurityProfileSearchCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
searchFilter
Filters to be applied to search results.
- Parameters:
searchFilter- Filters to be applied to search results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchFilter
default SearchSecurityProfilesRequest.Builder searchFilter(Consumer<SecurityProfilesSearchFilter.Builder> searchFilter) Filters to be applied to search results.
This is a convenience method that creates an instance of theSecurityProfilesSearchFilter.Builderavoiding the need to create one manually viaSecurityProfilesSearchFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosearchFilter(SecurityProfilesSearchFilter).- Parameters:
searchFilter- a consumer that will call methods onSecurityProfilesSearchFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
SearchSecurityProfilesRequest.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
SearchSecurityProfilesRequest.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.
-