public static interface DescribeSecurityProfileResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<DescribeSecurityProfileResponse.Builder,DescribeSecurityProfileResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeSecurityProfileResponse.Builder |
additionalMetricsToRetain(Collection<String> additionalMetricsToRetain)
Deprecated.
Use additionalMetricsToRetainV2.
|
DescribeSecurityProfileResponse.Builder |
additionalMetricsToRetain(String... additionalMetricsToRetain)
Deprecated.
Use additionalMetricsToRetainV2.
|
DescribeSecurityProfileResponse.Builder |
additionalMetricsToRetainV2(Collection<MetricToRetain> additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
DescribeSecurityProfileResponse.Builder |
additionalMetricsToRetainV2(Consumer<MetricToRetain.Builder>... additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
DescribeSecurityProfileResponse.Builder |
additionalMetricsToRetainV2(MetricToRetain... additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
DescribeSecurityProfileResponse.Builder |
alertTargets(Map<AlertTargetType,AlertTarget> alertTargets)
Where the alerts are sent.
|
DescribeSecurityProfileResponse.Builder |
alertTargetsWithStrings(Map<String,AlertTarget> alertTargets)
Where the alerts are sent.
|
DescribeSecurityProfileResponse.Builder |
behaviors(Behavior... behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
DescribeSecurityProfileResponse.Builder |
behaviors(Collection<Behavior> behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
DescribeSecurityProfileResponse.Builder |
behaviors(Consumer<Behavior.Builder>... behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
DescribeSecurityProfileResponse.Builder |
creationDate(Instant creationDate)
The time the security profile was created.
|
DescribeSecurityProfileResponse.Builder |
lastModifiedDate(Instant lastModifiedDate)
The time the security profile was last modified.
|
DescribeSecurityProfileResponse.Builder |
securityProfileArn(String securityProfileArn)
The ARN of the security profile.
|
DescribeSecurityProfileResponse.Builder |
securityProfileDescription(String securityProfileDescription)
A description of the security profile (associated with the security profile when it was created or updated).
|
DescribeSecurityProfileResponse.Builder |
securityProfileName(String securityProfileName)
The name of the security profile.
|
DescribeSecurityProfileResponse.Builder |
version(Long version)
The version of the security profile.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeSecurityProfileResponse.Builder securityProfileName(String securityProfileName)
The name of the security profile.
securityProfileName - The name of the security profile.DescribeSecurityProfileResponse.Builder securityProfileArn(String securityProfileArn)
The ARN of the security profile.
securityProfileArn - The ARN of the security profile.DescribeSecurityProfileResponse.Builder securityProfileDescription(String securityProfileDescription)
A description of the security profile (associated with the security profile when it was created or updated).
securityProfileDescription - A description of the security profile (associated with the security profile when it was created or
updated).DescribeSecurityProfileResponse.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.DescribeSecurityProfileResponse.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.DescribeSecurityProfileResponse.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) DescribeSecurityProfileResponse.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.)DescribeSecurityProfileResponse.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 DescribeSecurityProfileResponse.Builder additionalMetricsToRetain(Collection<String> additionalMetricsToRetain)
Please use DescribeSecurityProfileResponse$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 DescribeSecurityProfileResponse$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.
@Deprecated DescribeSecurityProfileResponse.Builder additionalMetricsToRetain(String... additionalMetricsToRetain)
Please use DescribeSecurityProfileResponse$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 DescribeSecurityProfileResponse$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.
DescribeSecurityProfileResponse.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.DescribeSecurityProfileResponse.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.DescribeSecurityProfileResponse.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.
This is a convenience method that creates an instance of theMetricToRetain.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) DescribeSecurityProfileResponse.Builder version(Long version)
The version of the security profile. A new version is generated whenever the security profile is updated.
version - The version of the security profile. A new version is generated whenever the security profile is
updated.DescribeSecurityProfileResponse.Builder creationDate(Instant creationDate)
The time the security profile was created.
creationDate - The time the security profile was created.DescribeSecurityProfileResponse.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.