public static interface UpdateSecurityProfileRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<UpdateSecurityProfileRequest.Builder,UpdateSecurityProfileRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateSecurityProfileRequest.Builder |
additionalMetricsToRetain(Collection<String> additionalMetricsToRetain)
Deprecated.
Use additionalMetricsToRetainV2.
|
UpdateSecurityProfileRequest.Builder |
additionalMetricsToRetain(String... additionalMetricsToRetain)
Deprecated.
Use additionalMetricsToRetainV2.
|
UpdateSecurityProfileRequest.Builder |
additionalMetricsToRetainV2(Collection<MetricToRetain> additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
UpdateSecurityProfileRequest.Builder |
additionalMetricsToRetainV2(Consumer<MetricToRetain.Builder>... additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
UpdateSecurityProfileRequest.Builder |
additionalMetricsToRetainV2(MetricToRetain... additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
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 |
deleteAdditionalMetricsToRetain(Boolean deleteAdditionalMetricsToRetain)
If true, delete all
additionalMetricsToRetain defined for this security profile. |
UpdateSecurityProfileRequest.Builder |
deleteAlertTargets(Boolean deleteAlertTargets)
If true, delete all
alertTargets defined for this security profile. |
UpdateSecurityProfileRequest.Builder |
deleteBehaviors(Boolean deleteBehaviors)
If true, delete all
behaviors defined for this security profile. |
UpdateSecurityProfileRequest.Builder |
expectedVersion(Long expectedVersion)
The expected version of the security profile.
|
UpdateSecurityProfileRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateSecurityProfileRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateSecurityProfileRequest.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.)@Deprecated UpdateSecurityProfileRequest.Builder additionalMetricsToRetain(Collection<String> additionalMetricsToRetain)
Please use UpdateSecurityProfileRequest$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 UpdateSecurityProfileRequest$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 UpdateSecurityProfileRequest.Builder additionalMetricsToRetain(String... additionalMetricsToRetain)
Please use UpdateSecurityProfileRequest$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 UpdateSecurityProfileRequest$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.
UpdateSecurityProfileRequest.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.UpdateSecurityProfileRequest.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.UpdateSecurityProfileRequest.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.
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 #additionalMetricsToRetainV2(List) .additionalMetricsToRetainV2 - a consumer that will call methods on List.Builder #additionalMetricsToRetainV2(List) UpdateSecurityProfileRequest.Builder deleteBehaviors(Boolean deleteBehaviors)
If true, delete all behaviors defined for this security profile. If any behaviors
are defined in the current invocation, an exception occurs.
deleteBehaviors - If true, delete all behaviors defined for this security profile. If any
behaviors are defined in the current invocation, an exception occurs.UpdateSecurityProfileRequest.Builder deleteAlertTargets(Boolean deleteAlertTargets)
If true, delete all alertTargets defined for this security profile. If any
alertTargets are defined in the current invocation, an exception occurs.
deleteAlertTargets - If true, delete all alertTargets defined for this security profile. If any
alertTargets are defined in the current invocation, an exception occurs.UpdateSecurityProfileRequest.Builder deleteAdditionalMetricsToRetain(Boolean deleteAdditionalMetricsToRetain)
If true, delete all additionalMetricsToRetain defined for this security profile. If any
additionalMetricsToRetain are defined in the current invocation, an exception occurs.
deleteAdditionalMetricsToRetain - If true, delete all additionalMetricsToRetain defined for this security profile. If any
additionalMetricsToRetain are defined in the current invocation, an exception occurs.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 from 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 from the actual version, a
VersionConflictException is thrown.UpdateSecurityProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateSecurityProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.