Interface DescribeAccountPoliciesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchLogsResponse.Builder
,CopyableBuilder<DescribeAccountPoliciesResponse.Builder,
,DescribeAccountPoliciesResponse> SdkBuilder<DescribeAccountPoliciesResponse.Builder,
,DescribeAccountPoliciesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAccountPoliciesResponse
public static interface DescribeAccountPoliciesResponse.Builder
extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<DescribeAccountPoliciesResponse.Builder,DescribeAccountPoliciesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccountPolicies
(Collection<AccountPolicy> accountPolicies) An array of structures that contain information about the CloudWatch Logs account policies that match the specified filters.accountPolicies
(Consumer<AccountPolicy.Builder>... accountPolicies) An array of structures that contain information about the CloudWatch Logs account policies that match the specified filters.accountPolicies
(AccountPolicy... accountPolicies) An array of structures that contain information about the CloudWatch Logs account policies that match the specified filters.Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.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
-
accountPolicies
An array of structures that contain information about the CloudWatch Logs account policies that match the specified filters.
- Parameters:
accountPolicies
- An array of structures that contain information about the CloudWatch Logs account policies that match the specified filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountPolicies
An array of structures that contain information about the CloudWatch Logs account policies that match the specified filters.
- Parameters:
accountPolicies
- An array of structures that contain information about the CloudWatch Logs account policies that match the specified filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountPolicies
DescribeAccountPoliciesResponse.Builder accountPolicies(Consumer<AccountPolicy.Builder>... accountPolicies) An array of structures that contain information about the CloudWatch Logs account policies that match the specified filters.
This is a convenience method that creates an instance of theAccountPolicy.Builder
avoiding the need to create one manually viaAccountPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccountPolicies(List<AccountPolicy>)
.- Parameters:
accountPolicies
- a consumer that will call methods onAccountPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-