public static interface UpdateSecurityProfileResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<UpdateSecurityProfileResponse.Builder,UpdateSecurityProfileResponse>
Modifier and Type | Method and Description |
---|---|
UpdateSecurityProfileResponse.Builder |
additionalMetricsToRetain(Collection<String> additionalMetricsToRetain)
Deprecated.
Use additionalMetricsToRetainV2.
|
UpdateSecurityProfileResponse.Builder |
additionalMetricsToRetain(String... additionalMetricsToRetain)
Deprecated.
Use additionalMetricsToRetainV2.
|
UpdateSecurityProfileResponse.Builder |
additionalMetricsToRetainV2(Collection<MetricToRetain> additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
UpdateSecurityProfileResponse.Builder |
additionalMetricsToRetainV2(Consumer<MetricToRetain.Builder>... additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
UpdateSecurityProfileResponse.Builder |
additionalMetricsToRetainV2(MetricToRetain... additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
UpdateSecurityProfileResponse.Builder |
alertTargets(Map<AlertTargetType,AlertTarget> alertTargets)
Where the alerts are sent.
|
UpdateSecurityProfileResponse.Builder |
alertTargetsWithStrings(Map<String,AlertTarget> alertTargets)
Where the alerts are sent.
|
UpdateSecurityProfileResponse.Builder |
behaviors(Behavior... behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
UpdateSecurityProfileResponse.Builder |
behaviors(Collection<Behavior> behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
UpdateSecurityProfileResponse.Builder |
behaviors(Consumer<Behavior.Builder>... behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
UpdateSecurityProfileResponse.Builder |
creationDate(Instant creationDate)
The time the security profile was created.
|
UpdateSecurityProfileResponse.Builder |
lastModifiedDate(Instant lastModifiedDate)
The time the security profile was last modified.
|
UpdateSecurityProfileResponse.Builder |
securityProfileArn(String securityProfileArn)
The ARN of the security profile that was updated.
|
UpdateSecurityProfileResponse.Builder |
securityProfileDescription(String securityProfileDescription)
The description of the security profile.
|
UpdateSecurityProfileResponse.Builder |
securityProfileName(String securityProfileName)
The name of the security profile that was updated.
|
UpdateSecurityProfileResponse.Builder |
version(Long version)
The updated version of the security profile.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateSecurityProfileResponse.Builder securityProfileName(String securityProfileName)
The name of the security profile that was updated.
securityProfileName
- The name of the security profile that was updated.UpdateSecurityProfileResponse.Builder securityProfileArn(String securityProfileArn)
The ARN of the security profile that was updated.
securityProfileArn
- The ARN of the security profile that was updated.UpdateSecurityProfileResponse.Builder securityProfileDescription(String securityProfileDescription)
The description of the security profile.
securityProfileDescription
- The description of the security profile.UpdateSecurityProfileResponse.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.UpdateSecurityProfileResponse.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.UpdateSecurityProfileResponse.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 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)
UpdateSecurityProfileResponse.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.)UpdateSecurityProfileResponse.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 UpdateSecurityProfileResponse.Builder additionalMetricsToRetain(Collection<String> additionalMetricsToRetain)
Please use UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the
security profile's behaviors
, but it is also retained for any metric specified here.
additionalMetricsToRetain
- Please use UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in
the security profile's behaviors
, but it is also retained for any metric specified here.
@Deprecated UpdateSecurityProfileResponse.Builder additionalMetricsToRetain(String... additionalMetricsToRetain)
Please use UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the
security profile's behaviors
, but it is also retained for any metric specified here.
additionalMetricsToRetain
- Please use UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in
the security profile's behaviors
, but it is also retained for any metric specified here.
UpdateSecurityProfileResponse.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.UpdateSecurityProfileResponse.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.UpdateSecurityProfileResponse.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 method 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)
UpdateSecurityProfileResponse.Builder version(Long version)
The updated version of the security profile.
version
- The updated version of the security profile.UpdateSecurityProfileResponse.Builder creationDate(Instant creationDate)
The time the security profile was created.
creationDate
- The time the security profile was created.UpdateSecurityProfileResponse.Builder lastModifiedDate(Instant lastModifiedDate)
The time the security profile was last modified.
lastModifiedDate
- The time the security profile was last modified.Copyright © 2022. All rights reserved.