Interface ListCurationPoliciesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContextResponse.Builder,CopyableBuilder<ListCurationPoliciesResponse.Builder,,ListCurationPoliciesResponse> SdkBuilder<ListCurationPoliciesResponse.Builder,,ListCurationPoliciesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCurationPoliciesResponse
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<CurationPolicySummary> items) The matching policies, as summaries: the agent context's associated policies, or every policy in your account whenagentContextIdis omitted, in no particular order.items(Consumer<CurationPolicySummary.Builder>... items) The matching policies, as summaries: the agent context's associated policies, or every policy in your account whenagentContextIdis omitted, in no particular order.items(CurationPolicySummary... items) The matching policies, as summaries: the agent context's associated policies, or every policy in your account whenagentContextIdis omitted, in no particular order.Pagination cursor for the next page.Methods inherited from interface software.amazon.awssdk.services.context.model.ContextResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
The matching policies, as summaries: the agent context's associated policies, or every policy in your account when
agentContextIdis omitted, in no particular order. The account-wide list is eventually consistent, so a policy created moments ago might be missing. Always present, and empty when there are none.- Parameters:
items- The matching policies, as summaries: the agent context's associated policies, or every policy in your account whenagentContextIdis omitted, in no particular order. The account-wide list is eventually consistent, so a policy created moments ago might be missing. Always present, and empty when there are none.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The matching policies, as summaries: the agent context's associated policies, or every policy in your account when
agentContextIdis omitted, in no particular order. The account-wide list is eventually consistent, so a policy created moments ago might be missing. Always present, and empty when there are none.- Parameters:
items- The matching policies, as summaries: the agent context's associated policies, or every policy in your account whenagentContextIdis omitted, in no particular order. The account-wide list is eventually consistent, so a policy created moments ago might be missing. Always present, and empty when there are none.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The matching policies, as summaries: the agent context's associated policies, or every policy in your account when
This is a convenience method that creates an instance of theagentContextIdis omitted, in no particular order. The account-wide list is eventually consistent, so a policy created moments ago might be missing. Always present, and empty when there are none.CurationPolicySummary.Builderavoiding the need to create one manually viaCurationPolicySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<CurationPolicySummary>).- Parameters:
items- a consumer that will call methods onCurationPolicySummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Pagination cursor for the next page. Absent when no more results exist.
- Parameters:
nextToken- Pagination cursor for the next page. Absent when no more results exist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-