Interface ListResourcePoliciesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListResourcePoliciesResponse.Builder,,ListResourcePoliciesResponse> EventBridgeV2Response.Builder,SdkBuilder<ListResourcePoliciesResponse.Builder,,ListResourcePoliciesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListResourcePoliciesResponse
@Mutable
@NotThreadSafe
public static interface ListResourcePoliciesResponse.Builder
extends EventBridgeV2Response.Builder, SdkPojo, CopyableBuilder<ListResourcePoliciesResponse.Builder,ListResourcePoliciesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the NextToken property for this object.policySummaries(Collection<ResourcePolicySummary> policySummaries) Sets the value of the PolicySummaries property for this object.policySummaries(Consumer<ResourcePolicySummary.Builder>... policySummaries) Sets the value of the PolicySummaries property for this object.policySummaries(ResourcePolicySummary... policySummaries) Sets the value of the PolicySummaries property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eventbridgev2.model.EventBridgeV2Response.Builder
build, responseMetadata, responseMetadataMethods 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
-
policySummaries
ListResourcePoliciesResponse.Builder policySummaries(Collection<ResourcePolicySummary> policySummaries) Sets the value of the PolicySummaries property for this object.- Parameters:
policySummaries- The new value for the PolicySummaries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policySummaries
Sets the value of the PolicySummaries property for this object.- Parameters:
policySummaries- The new value for the PolicySummaries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policySummaries
ListResourcePoliciesResponse.Builder policySummaries(Consumer<ResourcePolicySummary.Builder>... policySummaries) Sets the value of the PolicySummaries property for this object. This is a convenience method that creates an instance of theResourcePolicySummary.Builderavoiding the need to create one manually viaResourcePolicySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicySummaries(List<ResourcePolicySummary>).- Parameters:
policySummaries- a consumer that will call methods onResourcePolicySummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-