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.Builder
The 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
, orServiceOperation
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
The type of entity being audited, such as
Service
,SLO
, orServiceOperation
.- Parameters:
type
- The type of entity being audited, such asService
,SLO
, orServiceOperation
.- 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.Builder
avoiding the need to create one manually viaAuditTargetEntity.builder()
.When the
Consumer
completes,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:
-