public static interface ActiveViolation.Builder extends SdkPojo, CopyableBuilder<ActiveViolation.Builder,ActiveViolation>
| Modifier and Type | Method and Description |
|---|---|
ActiveViolation.Builder |
behavior(Behavior behavior)
The behavior which is being violated.
|
default ActiveViolation.Builder |
behavior(Consumer<Behavior.Builder> behavior)
The behavior which is being violated.
|
ActiveViolation.Builder |
lastViolationTime(Instant lastViolationTime)
The time the most recent violation occurred.
|
default ActiveViolation.Builder |
lastViolationValue(Consumer<MetricValue.Builder> lastViolationValue)
The value of the metric (the measurement) which caused the most recent violation.
|
ActiveViolation.Builder |
lastViolationValue(MetricValue lastViolationValue)
The value of the metric (the measurement) which caused the most recent violation.
|
ActiveViolation.Builder |
securityProfileName(String securityProfileName)
The security profile whose behavior is in violation.
|
ActiveViolation.Builder |
thingName(String thingName)
The name of the thing responsible for the active violation.
|
ActiveViolation.Builder |
violationId(String violationId)
The ID of the active violation.
|
ActiveViolation.Builder |
violationStartTime(Instant violationStartTime)
The time the violation started.
|
copyapplyMutation, buildActiveViolation.Builder violationId(String violationId)
The ID of the active violation.
violationId - The ID of the active violation.ActiveViolation.Builder thingName(String thingName)
The name of the thing responsible for the active violation.
thingName - The name of the thing responsible for the active violation.ActiveViolation.Builder securityProfileName(String securityProfileName)
The security profile whose behavior is in violation.
securityProfileName - The security profile whose behavior is in violation.ActiveViolation.Builder behavior(Behavior behavior)
The behavior which is being violated.
behavior - The behavior which is being violated.default ActiveViolation.Builder behavior(Consumer<Behavior.Builder> behavior)
The behavior which is being violated.
This is a convenience 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 behavior(Behavior).behavior - a consumer that will call methods on Behavior.Builderbehavior(Behavior)ActiveViolation.Builder lastViolationValue(MetricValue lastViolationValue)
The value of the metric (the measurement) which caused the most recent violation.
lastViolationValue - The value of the metric (the measurement) which caused the most recent violation.default ActiveViolation.Builder lastViolationValue(Consumer<MetricValue.Builder> lastViolationValue)
The value of the metric (the measurement) which caused the most recent violation.
This is a convenience that creates an instance of theMetricValue.Builder avoiding the need to create
one manually via MetricValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to lastViolationValue(MetricValue).lastViolationValue - a consumer that will call methods on MetricValue.BuilderlastViolationValue(MetricValue)ActiveViolation.Builder lastViolationTime(Instant lastViolationTime)
The time the most recent violation occurred.
lastViolationTime - The time the most recent violation occurred.ActiveViolation.Builder violationStartTime(Instant violationStartTime)
The time the violation started.
violationStartTime - The time the violation started.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.