Interface SearchSecurityProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<SearchSecurityProfilesResponse.Builder,
,SearchSecurityProfilesResponse> SdkBuilder<SearchSecurityProfilesResponse.Builder,
,SearchSecurityProfilesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchSecurityProfilesResponse
public static interface SearchSecurityProfilesResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<SearchSecurityProfilesResponse.Builder,SearchSecurityProfilesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapproximateTotalCount
(Long approximateTotalCount) The total number of security profiles which matched your search query.If there are additional results, this is the token for the next set of results.securityProfiles
(Collection<SecurityProfileSearchSummary> securityProfiles) Information about the security profiles.securityProfiles
(Consumer<SecurityProfileSearchSummary.Builder>... securityProfiles) Information about the security profiles.securityProfiles
(SecurityProfileSearchSummary... securityProfiles) Information about the security profiles.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
securityProfiles
SearchSecurityProfilesResponse.Builder securityProfiles(Collection<SecurityProfileSearchSummary> securityProfiles) Information about the security profiles.
- Parameters:
securityProfiles
- Information about the security profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityProfiles
SearchSecurityProfilesResponse.Builder securityProfiles(SecurityProfileSearchSummary... securityProfiles) Information about the security profiles.
- Parameters:
securityProfiles
- Information about the security profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityProfiles
SearchSecurityProfilesResponse.Builder securityProfiles(Consumer<SecurityProfileSearchSummary.Builder>... securityProfiles) Information about the security profiles.
This is a convenience method that creates an instance of theSecurityProfileSearchSummary.Builder
avoiding the need to create one manually viaSecurityProfileSearchSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosecurityProfiles(List<SecurityProfileSearchSummary>)
.- Parameters:
securityProfiles
- a consumer that will call methods onSecurityProfileSearchSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken
- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approximateTotalCount
The total number of security profiles which matched your search query.
- Parameters:
approximateTotalCount
- The total number of security profiles which matched your search query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-