Interface AuditEventField.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AuditEventField.Builder,
,AuditEventField> SdkBuilder<AuditEventField.Builder,
,AuditEventField> SdkPojo
- Enclosing class:
AuditEventField
public static interface AuditEventField.Builder
extends SdkPojo, CopyableBuilder<AuditEventField.Builder,AuditEventField>
-
Method Summary
Modifier and TypeMethodDescriptioneventFieldId
(String eventFieldId) Unique identifier of field in an Audit History entry.default AuditEventField.Builder
newValue
(Consumer<AuditEventFieldValueUnion.Builder> newValue) Union of potential field value types.newValue
(AuditEventFieldValueUnion newValue) Union of potential field value types.default AuditEventField.Builder
oldValue
(Consumer<AuditEventFieldValueUnion.Builder> oldValue) Union of potential field value types.oldValue
(AuditEventFieldValueUnion oldValue) Union of potential field value types.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, sdkFields
-
Method Details
-
eventFieldId
Unique identifier of field in an Audit History entry.
- Parameters:
eventFieldId
- Unique identifier of field in an Audit History entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newValue
Union of potential field value types.
- Parameters:
newValue
- Union of potential field value types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newValue
Union of potential field value types.
This is a convenience method that creates an instance of theAuditEventFieldValueUnion.Builder
avoiding the need to create one manually viaAuditEventFieldValueUnion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonewValue(AuditEventFieldValueUnion)
.- Parameters:
newValue
- a consumer that will call methods onAuditEventFieldValueUnion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oldValue
Union of potential field value types.
- Parameters:
oldValue
- Union of potential field value types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oldValue
Union of potential field value types.
This is a convenience method that creates an instance of theAuditEventFieldValueUnion.Builder
avoiding the need to create one manually viaAuditEventFieldValueUnion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooldValue(AuditEventFieldValueUnion)
.- Parameters:
oldValue
- a consumer that will call methods onAuditEventFieldValueUnion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-