Interface Annotation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Annotation.Builder,,Annotation> SdkBuilder<Annotation.Builder,,Annotation> SdkPojo
- Enclosing class:
Annotation
-
Method Summary
Modifier and TypeMethodDescriptionannotationName(String annotationName) An identifier for the evaluation logic that was used when invoking the Hook.remediationLink(String remediationLink) A URL that you can access for additional remediation guidance.remediationMessage(String remediationMessage) Suggests what to change if your Hook returns aFAILEDstatus.severityLevel(String severityLevel) The relative risk associated with any violations of this type.severityLevel(AnnotationSeverityLevel severityLevel) The relative risk associated with any violations of this type.The status of the Hook invocation from the downstream service.status(AnnotationStatus status) The status of the Hook invocation from the downstream service.statusMessage(String statusMessage) The explanation for the specific status assigned to this Hook invocation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
annotationName
An identifier for the evaluation logic that was used when invoking the Hook. For Control Tower, this is the control ID. For Guard, this is the rule ID. For Lambda and custom Hooks, this is a user-defined identifier.
- Parameters:
annotationName- An identifier for the evaluation logic that was used when invoking the Hook. For Control Tower, this is the control ID. For Guard, this is the rule ID. For Lambda and custom Hooks, this is a user-defined identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the Hook invocation from the downstream service.
- Parameters:
status- The status of the Hook invocation from the downstream service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the Hook invocation from the downstream service.
- Parameters:
status- The status of the Hook invocation from the downstream service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
The explanation for the specific status assigned to this Hook invocation. For example, "Bucket does not block public access".
- Parameters:
statusMessage- The explanation for the specific status assigned to this Hook invocation. For example, "Bucket does not block public access".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remediationMessage
Suggests what to change if your Hook returns a
FAILEDstatus. For example, "Block public access to the bucket".- Parameters:
remediationMessage- Suggests what to change if your Hook returns aFAILEDstatus. For example, "Block public access to the bucket".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remediationLink
A URL that you can access for additional remediation guidance.
- Parameters:
remediationLink- A URL that you can access for additional remediation guidance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityLevel
The relative risk associated with any violations of this type.
- Parameters:
severityLevel- The relative risk associated with any violations of this type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
severityLevel
The relative risk associated with any violations of this type.
- Parameters:
severityLevel- The relative risk associated with any violations of this type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-