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
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 theBatchCreateDelegationByAssessmentAPI returned.A list of errors that theBatchCreateDelegationByAssessmentAPI returned.errors(BatchCreateDelegationByAssessmentError... errors) A list of errors that theBatchCreateDelegationByAssessmentAPI returned.Methods inherited from interface software.amazon.awssdk.services.auditmanager.model.AuditManagerResponse.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
-
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.Builderavoiding the need to create one manually viaDelegation.builder().When the
Consumercompletes,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
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 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:
-