Interface ValidateSecurityProfileBehaviorsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ValidateSecurityProfileBehaviorsRequest.Builder,
,ValidateSecurityProfileBehaviorsRequest> IotRequest.Builder
,SdkBuilder<ValidateSecurityProfileBehaviorsRequest.Builder,
,ValidateSecurityProfileBehaviorsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ValidateSecurityProfileBehaviorsRequest
@Mutable
@NotThreadSafe
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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaBehavior.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-