Interface DescribeResourcePoliciesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudWatchLogsRequest.Builder
,CopyableBuilder<DescribeResourcePoliciesRequest.Builder,
,DescribeResourcePoliciesRequest> SdkBuilder<DescribeResourcePoliciesRequest.Builder,
,DescribeResourcePoliciesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeResourcePoliciesRequest
@Mutable
@NotThreadSafe
public static interface DescribeResourcePoliciesRequest.Builder
extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<DescribeResourcePoliciesRequest.Builder,DescribeResourcePoliciesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe maximum number of resource policies to be displayed with one call of this API.Sets the value of the NextToken property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyScope
(String policyScope) Specifies the scope of the resource policy.policyScope
(PolicyScope policyScope) Specifies the scope of the resource policy.resourceArn
(String resourceArn) The ARN of the CloudWatch Logs resource for which to query the resource policy.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
build
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, sdkFieldNameToField, sdkFields
-
Method Details
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken
- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limit
The maximum number of resource policies to be displayed with one call of this API.
- Parameters:
limit
- The maximum number of resource policies to be displayed with one call of this API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
The ARN of the CloudWatch Logs resource for which to query the resource policy.
- Parameters:
resourceArn
- The ARN of the CloudWatch Logs resource for which to query the resource policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyScope
Specifies the scope of the resource policy. Valid values are
ACCOUNT
orRESOURCE
. When not specified, defaults toACCOUNT
.- Parameters:
policyScope
- Specifies the scope of the resource policy. Valid values areACCOUNT
orRESOURCE
. When not specified, defaults toACCOUNT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyScope
Specifies the scope of the resource policy. Valid values are
ACCOUNT
orRESOURCE
. When not specified, defaults toACCOUNT
.- Parameters:
policyScope
- Specifies the scope of the resource policy. Valid values areACCOUNT
orRESOURCE
. When not specified, defaults toACCOUNT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
DescribeResourcePoliciesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeResourcePoliciesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-