Interface GetResourcePoliciesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetResourcePoliciesResponse.Builder,,GetResourcePoliciesResponse> SdkBuilder<GetResourcePoliciesResponse.Builder,,GetResourcePoliciesResponse> SdkPojo,SdkResponse.Builder,SsmIncidentsResponse.Builder
- Enclosing class:
GetResourcePoliciesResponse
@Mutable
@NotThreadSafe
public static interface GetResourcePoliciesResponse.Builder
extends SsmIncidentsResponse.Builder, SdkPojo, CopyableBuilder<GetResourcePoliciesResponse.Builder,GetResourcePoliciesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token to use when requesting the next set of items.resourcePolicies(Collection<ResourcePolicy> resourcePolicies) Details about the resource policy attached to the response plan.resourcePolicies(Consumer<ResourcePolicy.Builder>... resourcePolicies) Details about the resource policy attached to the response plan.resourcePolicies(ResourcePolicy... resourcePolicies) Details about the resource policy attached to the response plan.Methods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssmincidents.model.SsmIncidentsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
- Parameters:
nextToken- The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcePolicies
Details about the resource policy attached to the response plan.
- Parameters:
resourcePolicies- Details about the resource policy attached to the response plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcePolicies
Details about the resource policy attached to the response plan.
- Parameters:
resourcePolicies- Details about the resource policy attached to the response plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcePolicies
GetResourcePoliciesResponse.Builder resourcePolicies(Consumer<ResourcePolicy.Builder>... resourcePolicies) Details about the resource policy attached to the response plan.
This is a convenience method that creates an instance of theResourcePolicy.Builderavoiding the need to create one manually viaResourcePolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourcePolicies(List<ResourcePolicy>).- Parameters:
resourcePolicies- a consumer that will call methods onResourcePolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-