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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValidateSecurityProfileBehaviorsResponse.Buildervalid(Boolean valid)True if the behaviors were valid.ValidateSecurityProfileBehaviorsResponse.BuildervalidationErrors(Collection<ValidationError> validationErrors)The list of any errors found in the behaviors.ValidateSecurityProfileBehaviorsResponse.BuildervalidationErrors(Consumer<ValidationError.Builder>... validationErrors)The list of any errors found in the behaviors.ValidateSecurityProfileBehaviorsResponse.BuildervalidationErrors(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 Detail
-
valid
ValidateSecurityProfileBehaviorsResponse.Builder valid(Boolean 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.Builderavoiding the need to create one manually viaValidationError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#validationErrors(List.) - 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:
#validationErrors(java.util.Collection)
-
-