Interface AuditTarget.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AuditTarget.Builder,,AuditTarget> SdkBuilder<AuditTarget.Builder,,AuditTarget> SdkPojo
- Enclosing class:
AuditTarget
@Mutable
@NotThreadSafe
public static interface AuditTarget.Builder
extends SdkPojo, CopyableBuilder<AuditTarget.Builder,AuditTarget>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AuditTarget.BuilderThe specific data identifying the audit target entity.data(AuditTargetEntity data) The specific data identifying the audit target entity.The type of entity being audited, such asservice,SLO,service_operation, orcanary.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 entity being audited, such as
service,SLO,service_operation, orcanary.- Parameters:
type- The type of entity being audited, such asservice,SLO,service_operation, orcanary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
The specific data identifying the audit target entity.
- Parameters:
data- The specific data identifying the audit target entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
The specific data identifying the audit target entity.
This is a convenience method that creates an instance of theAuditTargetEntity.Builderavoiding the need to create one manually viaAuditTargetEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todata(AuditTargetEntity).- Parameters:
data- a consumer that will call methods onAuditTargetEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-