Interface BatchUpdateSecurityRequirementsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchUpdateSecurityRequirementsResponse.Builder,,BatchUpdateSecurityRequirementsResponse> SdkBuilder<BatchUpdateSecurityRequirementsResponse.Builder,,BatchUpdateSecurityRequirementsResponse> SdkPojo,SdkResponse.Builder,SecurityAgentResponse.Builder
- Enclosing class:
BatchUpdateSecurityRequirementsResponse
@Mutable
@NotThreadSafe
public static interface BatchUpdateSecurityRequirementsResponse.Builder
extends SecurityAgentResponse.Builder, SdkPojo, CopyableBuilder<BatchUpdateSecurityRequirementsResponse.Builder,BatchUpdateSecurityRequirementsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe list of errors for security requirements that failed to be updated.errors(Consumer<BatchSecurityRequirementError.Builder>... errors) The list of errors for security requirements that failed to be updated.errors(BatchSecurityRequirementError... errors) The list of errors for security requirements that failed to be updated.updatedSecurityRequirementNames(String... updatedSecurityRequirementNames) The list of security requirement names that were successfully updated.updatedSecurityRequirementNames(Collection<String> updatedSecurityRequirementNames) The list of security requirement names that were successfully updated.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.securityagent.model.SecurityAgentResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
updatedSecurityRequirementNames
BatchUpdateSecurityRequirementsResponse.Builder updatedSecurityRequirementNames(Collection<String> updatedSecurityRequirementNames) The list of security requirement names that were successfully updated.
- Parameters:
updatedSecurityRequirementNames- The list of security requirement names that were successfully updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedSecurityRequirementNames
BatchUpdateSecurityRequirementsResponse.Builder updatedSecurityRequirementNames(String... updatedSecurityRequirementNames) The list of security requirement names that were successfully updated.
- Parameters:
updatedSecurityRequirementNames- The list of security requirement names that were successfully updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchUpdateSecurityRequirementsResponse.Builder errors(Collection<BatchSecurityRequirementError> errors) The list of errors for security requirements that failed to be updated.
- Parameters:
errors- The list of errors for security requirements that failed to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The list of errors for security requirements that failed to be updated.
- Parameters:
errors- The list of errors for security requirements that failed to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchUpdateSecurityRequirementsResponse.Builder errors(Consumer<BatchSecurityRequirementError.Builder>... errors) The list of errors for security requirements that failed to be updated.
This is a convenience method that creates an instance of theBatchSecurityRequirementError.Builderavoiding the need to create one manually viaBatchSecurityRequirementError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchSecurityRequirementError>).- Parameters:
errors- a consumer that will call methods onBatchSecurityRequirementError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-