Interface ValidationFinding.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ValidationFinding.Builder,,ValidationFinding> SdkBuilder<ValidationFinding.Builder,,ValidationFinding> SdkPojo
- Enclosing class:
ValidationFinding
@Mutable
@NotThreadSafe
public static interface ValidationFinding.Builder
extends SdkPojo, CopyableBuilder<ValidationFinding.Builder,ValidationFinding>
-
Method Summary
Modifier and TypeMethodDescriptionA code that identifies the specific validation finding.code(ValidationFindingCode code) A code that identifies the specific validation finding.A message that describes the validation finding.providerMessage(String providerMessage) A message from the third-party cloud provider related to the validation finding.default ValidationFinding.BuilderThe scope of the validation finding, identifying the specific resource affected.scope(ValidationFindingScope scope) The scope of the validation finding, identifying the specific resource affected.The type of the validation finding.type(ValidationFindingType type) The type of the validation finding.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
-
type
The type of the validation finding.
- Parameters:
type- The type of the validation finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the validation finding.
- Parameters:
type- The type of the validation finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
A code that identifies the specific validation finding.
- Parameters:
code- A code that identifies the specific validation finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
A code that identifies the specific validation finding.
- Parameters:
code- A code that identifies the specific validation finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
A message that describes the validation finding.
- Parameters:
message- A message that describes the validation finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerMessage
A message from the third-party cloud provider related to the validation finding.
- Parameters:
providerMessage- A message from the third-party cloud provider related to the validation finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
The scope of the validation finding, identifying the specific resource affected.
- Parameters:
scope- The scope of the validation finding, identifying the specific resource affected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
The scope of the validation finding, identifying the specific resource affected.
This is a convenience method that creates an instance of theValidationFindingScope.Builderavoiding the need to create one manually viaValidationFindingScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscope(ValidationFindingScope).- Parameters:
scope- a consumer that will call methods onValidationFindingScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-