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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeAccountPoliciesResponse.BuilderaccountPolicies(Collection<AccountPolicy> accountPolicies)An array of structures that contain information about the CloudWatch Logs account policies that match the specified filters.DescribeAccountPoliciesResponse.BuilderaccountPolicies(Consumer<AccountPolicy.Builder>... accountPolicies)An array of structures that contain information about the CloudWatch Logs account policies that match the specified filters.DescribeAccountPoliciesResponse.BuilderaccountPolicies(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 Detail
-
accountPolicies
DescribeAccountPoliciesResponse.Builder accountPolicies(Collection<AccountPolicy> 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(AccountPolicy... 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.Builderavoiding the need to create one manually viaAccountPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accountPolicies(List.) - 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:
#accountPolicies(java.util.Collection)
-
-