public static interface CreateSecurityProfileRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateSecurityProfileRequest.Builder,CreateSecurityProfileRequest>
Modifier and Type | Method and Description |
---|---|
CreateSecurityProfileRequest.Builder |
alertTargets(Map<AlertTargetType,AlertTarget> alertTargets)
Specifies the destinations to which alerts are sent.
|
CreateSecurityProfileRequest.Builder |
alertTargetsWithStrings(Map<String,AlertTarget> alertTargets)
Specifies the destinations to which alerts are sent.
|
CreateSecurityProfileRequest.Builder |
behaviors(Behavior... behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
CreateSecurityProfileRequest.Builder |
behaviors(Collection<Behavior> behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
CreateSecurityProfileRequest.Builder |
behaviors(Consumer<Behavior.Builder>... behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
CreateSecurityProfileRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateSecurityProfileRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateSecurityProfileRequest.Builder |
securityProfileDescription(String securityProfileDescription)
A description of the security profile.
|
CreateSecurityProfileRequest.Builder |
securityProfileName(String securityProfileName)
The name you are giving to the security profile.
|
CreateSecurityProfileRequest.Builder |
tags(Collection<Tag> tags)
Metadata which can be used to manage the security profile.
|
CreateSecurityProfileRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage the security profile.
|
CreateSecurityProfileRequest.Builder |
tags(Tag... tags)
Metadata which can be used to manage the security profile.
|
build
overrideConfiguration
copy
applyMutation, build
CreateSecurityProfileRequest.Builder securityProfileName(String securityProfileName)
The name you are giving to the security profile.
securityProfileName
- The name you are giving to the security profile.CreateSecurityProfileRequest.Builder securityProfileDescription(String securityProfileDescription)
A description of the security profile.
securityProfileDescription
- A description of the security profile.CreateSecurityProfileRequest.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.CreateSecurityProfileRequest.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.CreateSecurityProfileRequest.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)
CreateSecurityProfileRequest.Builder alertTargetsWithStrings(Map<String,AlertTarget> alertTargets)
Specifies the destinations to which alerts are sent. (Alerts are always sent to the console.) Alerts are generated when a device (thing) violates a behavior.
alertTargets
- Specifies the destinations to which alerts are sent. (Alerts are always sent to the console.) Alerts
are generated when a device (thing) violates a behavior.CreateSecurityProfileRequest.Builder alertTargets(Map<AlertTargetType,AlertTarget> alertTargets)
Specifies the destinations to which alerts are sent. (Alerts are always sent to the console.) Alerts are generated when a device (thing) violates a behavior.
alertTargets
- Specifies the destinations to which alerts are sent. (Alerts are always sent to the console.) Alerts
are generated when a device (thing) violates a behavior.CreateSecurityProfileRequest.Builder tags(Collection<Tag> tags)
Metadata which can be used to manage the security profile.
tags
- Metadata which can be used to manage the security profile.CreateSecurityProfileRequest.Builder tags(Tag... tags)
Metadata which can be used to manage the security profile.
tags
- Metadata which can be used to manage the security profile.CreateSecurityProfileRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage the security profile.
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 #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateSecurityProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateSecurityProfileRequest.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.