Interface GetPoliciesStatsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetPoliciesStatsResponse.Builder,
,GetPoliciesStatsResponse> OpenSearchServerlessResponse.Builder
,SdkBuilder<GetPoliciesStatsResponse.Builder,
,GetPoliciesStatsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetPoliciesStatsResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetPoliciesStatsResponse.Builder
accessPolicyStats
(Consumer<AccessPolicyStats.Builder> accessPolicyStats) Information about the data access policies in your account.accessPolicyStats
(AccessPolicyStats accessPolicyStats) Information about the data access policies in your account.default GetPoliciesStatsResponse.Builder
lifecyclePolicyStats
(Consumer<LifecyclePolicyStats.Builder> lifecyclePolicyStats) Information about the lifecycle policies in your account.lifecyclePolicyStats
(LifecyclePolicyStats lifecyclePolicyStats) Information about the lifecycle policies in your account.default GetPoliciesStatsResponse.Builder
securityConfigStats
(Consumer<SecurityConfigStats.Builder> securityConfigStats) Information about the security configurations in your account.securityConfigStats
(SecurityConfigStats securityConfigStats) Information about the security configurations in your account.default GetPoliciesStatsResponse.Builder
securityPolicyStats
(Consumer<SecurityPolicyStats.Builder> securityPolicyStats) Information about the security policies in your account.securityPolicyStats
(SecurityPolicyStats securityPolicyStats) Information about the security policies in your account.totalPolicyCount
(Long totalPolicyCount) The total number of OpenSearch Serverless security policies and configurations in your account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opensearchserverless.model.OpenSearchServerlessResponse.Builder
build, responseMetadata, responseMetadata
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
-
accessPolicyStats
Information about the data access policies in your account.
- Parameters:
accessPolicyStats
- Information about the data access policies in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPolicyStats
default GetPoliciesStatsResponse.Builder accessPolicyStats(Consumer<AccessPolicyStats.Builder> accessPolicyStats) Information about the data access policies in your account.
This is a convenience method that creates an instance of theAccessPolicyStats.Builder
avoiding the need to create one manually viaAccessPolicyStats.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessPolicyStats(AccessPolicyStats)
.- Parameters:
accessPolicyStats
- a consumer that will call methods onAccessPolicyStats.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lifecyclePolicyStats
Information about the lifecycle policies in your account.
- Parameters:
lifecyclePolicyStats
- Information about the lifecycle policies in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecyclePolicyStats
default GetPoliciesStatsResponse.Builder lifecyclePolicyStats(Consumer<LifecyclePolicyStats.Builder> lifecyclePolicyStats) Information about the lifecycle policies in your account.
This is a convenience method that creates an instance of theLifecyclePolicyStats.Builder
avoiding the need to create one manually viaLifecyclePolicyStats.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolifecyclePolicyStats(LifecyclePolicyStats)
.- Parameters:
lifecyclePolicyStats
- a consumer that will call methods onLifecyclePolicyStats.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
securityConfigStats
Information about the security configurations in your account.
- Parameters:
securityConfigStats
- Information about the security configurations in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityConfigStats
default GetPoliciesStatsResponse.Builder securityConfigStats(Consumer<SecurityConfigStats.Builder> securityConfigStats) Information about the security configurations in your account.
This is a convenience method that creates an instance of theSecurityConfigStats.Builder
avoiding the need to create one manually viaSecurityConfigStats.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosecurityConfigStats(SecurityConfigStats)
.- Parameters:
securityConfigStats
- a consumer that will call methods onSecurityConfigStats.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
securityPolicyStats
Information about the security policies in your account.
- Parameters:
securityPolicyStats
- Information about the security policies in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityPolicyStats
default GetPoliciesStatsResponse.Builder securityPolicyStats(Consumer<SecurityPolicyStats.Builder> securityPolicyStats) Information about the security policies in your account.
This is a convenience method that creates an instance of theSecurityPolicyStats.Builder
avoiding the need to create one manually viaSecurityPolicyStats.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosecurityPolicyStats(SecurityPolicyStats)
.- Parameters:
securityPolicyStats
- a consumer that will call methods onSecurityPolicyStats.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalPolicyCount
The total number of OpenSearch Serverless security policies and configurations in your account.
- Parameters:
totalPolicyCount
- The total number of OpenSearch Serverless security policies and configurations in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-