public static interface UpdateSecurityProfileRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<UpdateSecurityProfileRequest.Builder,UpdateSecurityProfileRequest>
Modifier and Type | Method and Description |
---|---|
UpdateSecurityProfileRequest.Builder |
alertTargets(Map<AlertTargetType,AlertTarget> alertTargets)
Where the alerts are sent.
|
UpdateSecurityProfileRequest.Builder |
alertTargetsWithStrings(Map<String,AlertTarget> alertTargets)
Where the alerts are sent.
|
UpdateSecurityProfileRequest.Builder |
behaviors(Behavior... behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
UpdateSecurityProfileRequest.Builder |
behaviors(Collection<Behavior> behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
UpdateSecurityProfileRequest.Builder |
behaviors(Consumer<Behavior.Builder>... behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
UpdateSecurityProfileRequest.Builder |
expectedVersion(Long expectedVersion)
The expected version of the security profile.
|
UpdateSecurityProfileRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateSecurityProfileRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateSecurityProfileRequest.Builder |
securityProfileDescription(String securityProfileDescription)
A description of the security profile.
|
UpdateSecurityProfileRequest.Builder |
securityProfileName(String securityProfileName)
The name of the security profile you want to update.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateSecurityProfileRequest.Builder securityProfileName(String securityProfileName)
The name of the security profile you want to update.
securityProfileName
- The name of the security profile you want to update.UpdateSecurityProfileRequest.Builder securityProfileDescription(String securityProfileDescription)
A description of the security profile.
securityProfileDescription
- A description of the security profile.UpdateSecurityProfileRequest.Builder behaviors(Collection<Behavior> behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
behaviors
- Specifies the behaviors that, when violated by a device (thing), cause an alert.UpdateSecurityProfileRequest.Builder behaviors(Behavior... behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
behaviors
- Specifies the behaviors that, when violated by a device (thing), cause an alert.UpdateSecurityProfileRequest.Builder behaviors(Consumer<Behavior.Builder>... behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #behaviors(List)
.behaviors
- a consumer that will call methods on List.Builder
#behaviors(List)
UpdateSecurityProfileRequest.Builder alertTargetsWithStrings(Map<String,AlertTarget> alertTargets)
Where the alerts are sent. (Alerts are always sent to the console.)
alertTargets
- Where the alerts are sent. (Alerts are always sent to the console.)UpdateSecurityProfileRequest.Builder alertTargets(Map<AlertTargetType,AlertTarget> alertTargets)
Where the alerts are sent. (Alerts are always sent to the console.)
alertTargets
- Where the alerts are sent. (Alerts are always sent to the console.)UpdateSecurityProfileRequest.Builder expectedVersion(Long expectedVersion)
The expected version of the security profile. A new version is generated whenever the security profile is
updated. If you specify a value that is different than the actual version, a
VersionConflictException
is thrown.
expectedVersion
- The expected version of the security profile. A new version is generated whenever the security profile
is updated. If you specify a value that is different than the actual version, a
VersionConflictException
is thrown.UpdateSecurityProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateSecurityProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.