public static interface CreateSecurityProfileRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateSecurityProfileRequest.Builder,CreateSecurityProfileRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateSecurityProfileRequest.Builder |
additionalMetricsToRetain(Collection<String> additionalMetricsToRetain)
Deprecated.
Use additionalMetricsToRetainV2.
|
CreateSecurityProfileRequest.Builder |
additionalMetricsToRetain(String... additionalMetricsToRetain)
Deprecated.
Use additionalMetricsToRetainV2.
|
CreateSecurityProfileRequest.Builder |
additionalMetricsToRetainV2(Collection<MetricToRetain> additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
CreateSecurityProfileRequest.Builder |
additionalMetricsToRetainV2(Consumer<MetricToRetain.Builder>... additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
CreateSecurityProfileRequest.Builder |
additionalMetricsToRetainV2(MetricToRetain... additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
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) |
CreateSecurityProfileRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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 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.
|
CreateSecurityProfileRequest.Builder |
tags(Tag... tags)
Metadata that can be used to manage the security profile.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSecurityProfileRequest.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 method that creates an instance of theBehavior.Builder avoiding the need to create one manually
via Behavior.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #behaviors(List.
behaviors - a consumer that will call methods on
Behavior.Builder#behaviors(java.util.Collection) 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.@Deprecated 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. Can be used with
custom metrics; cannot be used with dimensions.
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. Can be
used with custom metrics; cannot be used with dimensions.
@Deprecated 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. Can be used with
custom metrics; cannot be used with dimensions.
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. Can be
used with custom metrics; cannot be used with dimensions.
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. Can be used with
custom metrics; cannot be used with dimensions.
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. Can be
used with custom metrics; cannot be used with dimensions.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. Can be used with
custom metrics; cannot be used with dimensions.
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. Can be
used with custom metrics; cannot be used with dimensions.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. Can be used with
custom metrics; cannot be used with dimensions.
MetricToRetain.Builder avoiding the need to create one
manually via MetricToRetain.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #additionalMetricsToRetainV2(List.
additionalMetricsToRetainV2 - a consumer that will call methods on
MetricToRetain.Builder#additionalMetricsToRetainV2(java.util.Collection) 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 method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) CreateSecurityProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateSecurityProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.