Interface ListCurationPoliciesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ContextRequest.Builder,CopyableBuilder<ListCurationPoliciesRequest.Builder,,ListCurationPoliciesRequest> SdkBuilder<ListCurationPoliciesRequest.Builder,,ListCurationPoliciesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListCurationPoliciesRequest
-
Method Summary
Modifier and TypeMethodDescriptionagentContextId(String agentContextId) The agent context whose associated policies you want to list, by its ID or ARN.maxResults(Integer maxResults) Maximum number of results per page (upper bound, not a target).Opaque pagination cursor from a prior response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Return only policies with this status.status(CurationPolicyStatusFilter status) Return only policies with this status.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.context.model.ContextRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
agentContextId
The agent context whose associated policies you want to list, by its ID or ARN. If you omit it, every policy in your account is listed.
- Parameters:
agentContextId- The agent context whose associated policies you want to list, by its ID or ARN. If you omit it, every policy in your account is listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Return only policies with this status. If you omit it, policies in both statuses are returned.
Valid values:
-
DRAFT- Policies that have never been published. -
ACTIVE- Policies with a published version.
- Parameters:
status- Return only policies with this status. If you omit it, policies in both statuses are returned.Valid values:
-
DRAFT- Policies that have never been published. -
ACTIVE- Policies with a published version.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
Return only policies with this status. If you omit it, policies in both statuses are returned.
Valid values:
-
DRAFT- Policies that have never been published. -
ACTIVE- Policies with a published version.
- Parameters:
status- Return only policies with this status. If you omit it, policies in both statuses are returned.Valid values:
-
DRAFT- Policies that have never been published. -
ACTIVE- Policies with a published version.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
maxResults
Maximum number of results per page (upper bound, not a target). The service might return fewer. Defaults to 50. A value outside 1–100 fails with
ValidationException.- Parameters:
maxResults- Maximum number of results per page (upper bound, not a target). The service might return fewer. Defaults to 50. A value outside 1–100 fails withValidationException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Opaque pagination cursor from a prior response. Omit for the first page.
- Parameters:
nextToken- Opaque pagination cursor from a prior response. Omit for the first page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListCurationPoliciesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListCurationPoliciesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-