public static interface CreateSecurityProfileRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateSecurityProfileRequest.Builder,CreateSecurityProfileRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
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 additionalMetricsToRetain(Collection<String> additionalMetricsToRetain)
Please use CreateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the
profile's behaviors
, but it is also retained for any metric specified here.
additionalMetricsToRetain
- Please use CreateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in
the profile's behaviors
, but it is also retained for any metric specified here.
CreateSecurityProfileRequest.Builder additionalMetricsToRetain(String... additionalMetricsToRetain)
Please use CreateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the
profile's behaviors
, but it is also retained for any metric specified here.
additionalMetricsToRetain
- Please use CreateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in
the profile's behaviors
, but it is also retained for any metric specified here.
CreateSecurityProfileRequest.Builder additionalMetricsToRetainV2(Collection<MetricToRetain> additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the
profile's behaviors
, but it is also retained for any metric specified here.
additionalMetricsToRetainV2
- A list of metrics whose data is retained (stored). By default, data is retained for any metric used in
the profile's behaviors
, but it is also retained for any metric specified here.CreateSecurityProfileRequest.Builder additionalMetricsToRetainV2(MetricToRetain... additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the
profile's behaviors
, but it is also retained for any metric specified here.
additionalMetricsToRetainV2
- A list of metrics whose data is retained (stored). By default, data is retained for any metric used in
the profile's behaviors
, but it is also retained for any metric specified here.CreateSecurityProfileRequest.Builder additionalMetricsToRetainV2(Consumer<MetricToRetain.Builder>... additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the
profile's behaviors
, but it is also retained for any metric specified here.
List.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 #additionalMetricsToRetainV2(List)
.additionalMetricsToRetainV2
- a consumer that will call methods on List.Builder
#additionalMetricsToRetainV2(List)
CreateSecurityProfileRequest.Builder tags(Collection<Tag> tags)
Metadata that can be used to manage the security profile.
tags
- Metadata that can be used to manage the security profile.CreateSecurityProfileRequest.Builder tags(Tag... tags)
Metadata that can be used to manage the security profile.
tags
- Metadata that can be used to manage the security profile.CreateSecurityProfileRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata that 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)
overrideConfiguration
in interface AwsRequest.Builder
CreateSecurityProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.