Interface ListSupplyChainPolicyExceptionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContinuumResponse.Builder,CopyableBuilder<ListSupplyChainPolicyExceptionsResponse.Builder,,ListSupplyChainPolicyExceptionsResponse> SdkBuilder<ListSupplyChainPolicyExceptionsResponse.Builder,,ListSupplyChainPolicyExceptionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSupplyChainPolicyExceptionsResponse
@Mutable
@NotThreadSafe
public static interface ListSupplyChainPolicyExceptionsResponse.Builder
extends ContinuumResponse.Builder, SdkPojo, CopyableBuilder<ListSupplyChainPolicyExceptionsResponse.Builder,ListSupplyChainPolicyExceptionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionexceptions(Collection<PolicyExceptionSummary> exceptions) The policy exceptions.exceptions(Consumer<PolicyExceptionSummary.Builder>... exceptions) The policy exceptions.exceptions(PolicyExceptionSummary... exceptions) The policy exceptions.The token to pass in the next call to get the next page of policy exceptions.Methods inherited from interface software.amazon.awssdk.services.continuum.model.ContinuumResponse.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
-
exceptions
ListSupplyChainPolicyExceptionsResponse.Builder exceptions(Collection<PolicyExceptionSummary> exceptions) The policy exceptions.
- Parameters:
exceptions- The policy exceptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exceptions
The policy exceptions.
- Parameters:
exceptions- The policy exceptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exceptions
ListSupplyChainPolicyExceptionsResponse.Builder exceptions(Consumer<PolicyExceptionSummary.Builder>... exceptions) The policy exceptions.
This is a convenience method that creates an instance of thePolicyExceptionSummary.Builderavoiding the need to create one manually viaPolicyExceptionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexceptions(List<PolicyExceptionSummary>).- Parameters:
exceptions- a consumer that will call methods onPolicyExceptionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to pass in the next call to get the next page of policy exceptions. Absent when there are no more policy exceptions.
- Parameters:
nextToken- The token to pass in the next call to get the next page of policy exceptions. Absent when there are no more policy exceptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-