public static interface ValidateSecurityProfileBehaviorsResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<ValidateSecurityProfileBehaviorsResponse.Builder,ValidateSecurityProfileBehaviorsResponse>
Modifier and Type | Method and Description |
---|---|
ValidateSecurityProfileBehaviorsResponse.Builder |
valid(Boolean valid)
True if the behaviors were valid.
|
ValidateSecurityProfileBehaviorsResponse.Builder |
validationErrors(Collection<ValidationError> validationErrors)
The list of any errors found in the behaviors.
|
ValidateSecurityProfileBehaviorsResponse.Builder |
validationErrors(Consumer<ValidationError.Builder>... validationErrors)
The list of any errors found in the behaviors.
|
ValidateSecurityProfileBehaviorsResponse.Builder |
validationErrors(ValidationError... validationErrors)
The list of any errors found in the behaviors.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ValidateSecurityProfileBehaviorsResponse.Builder valid(Boolean valid)
True if the behaviors were valid.
valid
- True if the behaviors were valid.ValidateSecurityProfileBehaviorsResponse.Builder validationErrors(Collection<ValidationError> validationErrors)
The list of any errors found in the behaviors.
validationErrors
- The list of any errors found in the behaviors.ValidateSecurityProfileBehaviorsResponse.Builder validationErrors(ValidationError... validationErrors)
The list of any errors found in the behaviors.
validationErrors
- The list of any errors found in the behaviors.ValidateSecurityProfileBehaviorsResponse.Builder validationErrors(Consumer<ValidationError.Builder>... validationErrors)
The list of any errors found in the behaviors.
This is a convenience method that creates an instance of theValidationError.Builder
avoiding the need to create one
manually via ValidationError.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and
its result is passed to #validationErrors(List
.
validationErrors
- a consumer that will call methods on
ValidationError.Builder
#validationErrors(java.util.Collection)
Copyright © 2023. All rights reserved.