Interface BatchCreateDelegationByAssessmentResponse.Builder
- All Superinterfaces:
AuditManagerResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchCreateDelegationByAssessmentResponse.Builder,
,BatchCreateDelegationByAssessmentResponse> SdkBuilder<BatchCreateDelegationByAssessmentResponse.Builder,
,BatchCreateDelegationByAssessmentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchCreateDelegationByAssessmentResponse
@Mutable
@NotThreadSafe
public static interface BatchCreateDelegationByAssessmentResponse.Builder
extends AuditManagerResponse.Builder, SdkPojo, CopyableBuilder<BatchCreateDelegationByAssessmentResponse.Builder,BatchCreateDelegationByAssessmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondelegations
(Collection<Delegation> delegations) The delegations that are associated with the assessment.delegations
(Consumer<Delegation.Builder>... delegations) The delegations that are associated with the assessment.delegations
(Delegation... delegations) The delegations that are associated with the assessment.A list of errors that theBatchCreateDelegationByAssessment
API returned.A list of errors that theBatchCreateDelegationByAssessment
API returned.errors
(BatchCreateDelegationByAssessmentError... errors) A list of errors that theBatchCreateDelegationByAssessment
API returned.Methods inherited from interface software.amazon.awssdk.services.auditmanager.model.AuditManagerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
delegations
The delegations that are associated with the assessment.
- Parameters:
delegations
- The delegations that are associated with the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegations
The delegations that are associated with the assessment.
- Parameters:
delegations
- The delegations that are associated with the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegations
BatchCreateDelegationByAssessmentResponse.Builder delegations(Consumer<Delegation.Builder>... delegations) The delegations that are associated with the assessment.
This is a convenience method that creates an instance of theDelegation.Builder
avoiding the need to create one manually viaDelegation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todelegations(List<Delegation>)
.- Parameters:
delegations
- a consumer that will call methods onDelegation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
BatchCreateDelegationByAssessmentResponse.Builder errors(Collection<BatchCreateDelegationByAssessmentError> errors) A list of errors that the
BatchCreateDelegationByAssessment
API returned.- Parameters:
errors
- A list of errors that theBatchCreateDelegationByAssessment
API returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchCreateDelegationByAssessmentResponse.Builder errors(BatchCreateDelegationByAssessmentError... errors) A list of errors that the
BatchCreateDelegationByAssessment
API returned.- Parameters:
errors
- A list of errors that theBatchCreateDelegationByAssessment
API returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchCreateDelegationByAssessmentResponse.Builder errors(Consumer<BatchCreateDelegationByAssessmentError.Builder>... errors) A list of errors that the
This is a convenience method that creates an instance of theBatchCreateDelegationByAssessment
API returned.BatchCreateDelegationByAssessmentError.Builder
avoiding the need to create one manually viaBatchCreateDelegationByAssessmentError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<BatchCreateDelegationByAssessmentError>)
.- Parameters:
errors
- a consumer that will call methods onBatchCreateDelegationByAssessmentError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-