Interface ValidateSecurityProfileBehaviorsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ValidateSecurityProfileBehaviorsRequest.Builder,,ValidateSecurityProfileBehaviorsRequest> IotRequest.Builder,SdkBuilder<ValidateSecurityProfileBehaviorsRequest.Builder,,ValidateSecurityProfileBehaviorsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ValidateSecurityProfileBehaviorsRequest
public static interface ValidateSecurityProfileBehaviorsRequest.Builder
extends IotRequest.Builder, SdkPojo, CopyableBuilder<ValidateSecurityProfileBehaviorsRequest.Builder,ValidateSecurityProfileBehaviorsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbehaviors(Collection<Behavior> behaviors) Specifies the behaviors that, when violated by a device (thing), cause an alert.behaviors(Consumer<Behavior.Builder>... behaviors) Specifies the behaviors that, when violated by a device (thing), cause an alert.Specifies the behaviors that, when violated by a device (thing), cause an alert.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
behaviors
Specifies the behaviors that, when violated by a device (thing), cause an alert.
- Parameters:
behaviors- Specifies the behaviors that, when violated by a device (thing), cause an alert.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
behaviors
Specifies the behaviors that, when violated by a device (thing), cause an alert.
- Parameters:
behaviors- Specifies the behaviors that, when violated by a device (thing), cause an alert.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
behaviors
Specifies the behaviors that, when violated by a device (thing), cause an alert.
This is a convenience method that creates an instance of theBehavior.Builderavoiding the need to create one manually viaBehavior.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobehaviors(List<Behavior>).- Parameters:
behaviors- a consumer that will call methods onBehavior.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ValidateSecurityProfileBehaviorsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ValidateSecurityProfileBehaviorsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-