Interface BatchCreateDelegationByAssessmentResponse.Builder
-
- All Superinterfaces:
AuditManagerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<BatchCreateDelegationByAssessmentResponse.Builder,BatchCreateDelegationByAssessmentResponse>,SdkBuilder<BatchCreateDelegationByAssessmentResponse.Builder,BatchCreateDelegationByAssessmentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchCreateDelegationByAssessmentResponse
public static interface BatchCreateDelegationByAssessmentResponse.Builder extends AuditManagerResponse.Builder, SdkPojo, CopyableBuilder<BatchCreateDelegationByAssessmentResponse.Builder,BatchCreateDelegationByAssessmentResponse>
-
-
Method Summary
-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
delegations
BatchCreateDelegationByAssessmentResponse.Builder delegations(Collection<Delegation> 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(Delegation... 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.Builderavoiding the need to create one manually viaDelegation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#delegations(List.) - 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:
#delegations(java.util.Collection)
-
errors
BatchCreateDelegationByAssessmentResponse.Builder errors(Collection<BatchCreateDelegationByAssessmentError> errors)
A list of errors that the
BatchCreateDelegationByAssessmentAPI returned.- Parameters:
errors- A list of errors that theBatchCreateDelegationByAssessmentAPI 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
BatchCreateDelegationByAssessmentAPI returned.- Parameters:
errors- A list of errors that theBatchCreateDelegationByAssessmentAPI 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 theBatchCreateDelegationByAssessmentAPI returned.BatchCreateDelegationByAssessmentError.Builderavoiding the need to create one manually viaBatchCreateDelegationByAssessmentError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - 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:
#errors(java.util.Collection)
-
-