Interface ValidateSecurityProfileBehaviorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ValidateSecurityProfileBehaviorsResponse.Builder,
,ValidateSecurityProfileBehaviorsResponse> IotResponse.Builder
,SdkBuilder<ValidateSecurityProfileBehaviorsResponse.Builder,
,ValidateSecurityProfileBehaviorsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ValidateSecurityProfileBehaviorsResponse
public static interface ValidateSecurityProfileBehaviorsResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ValidateSecurityProfileBehaviorsResponse.Builder,ValidateSecurityProfileBehaviorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionTrue if the behaviors were valid.validationErrors
(Collection<ValidationError> validationErrors) The list of any errors found in the behaviors.validationErrors
(Consumer<ValidationError.Builder>... validationErrors) The list of any errors found in the behaviors.validationErrors
(ValidationError... validationErrors) The list of any errors found in the behaviors.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
valid
True if the behaviors were valid.
- Parameters:
valid
- True if the behaviors were valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationErrors
ValidateSecurityProfileBehaviorsResponse.Builder validationErrors(Collection<ValidationError> validationErrors) The list of any errors found in the behaviors.
- Parameters:
validationErrors
- The list of any errors found in the behaviors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationErrors
ValidateSecurityProfileBehaviorsResponse.Builder validationErrors(ValidationError... validationErrors) The list of any errors found in the behaviors.
- Parameters:
validationErrors
- The list of any errors found in the behaviors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationErrors
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 viaValidationError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidationErrors(List<ValidationError>)
.- Parameters:
validationErrors
- a consumer that will call methods onValidationError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-