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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AuditEventField.BuildereventFieldId(String eventFieldId)Unique identifier of field in an Audit History entry.default AuditEventField.BuildernewValue(Consumer<AuditEventFieldValueUnion.Builder> newValue)Union of potential field value types.AuditEventField.BuildernewValue(AuditEventFieldValueUnion newValue)Union of potential field value types.default AuditEventField.BuilderoldValue(Consumer<AuditEventFieldValueUnion.Builder> oldValue)Union of potential field value types.AuditEventField.BuilderoldValue(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 Detail
-
eventFieldId
AuditEventField.Builder eventFieldId(String 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
AuditEventField.Builder newValue(AuditEventFieldValueUnion 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
default AuditEventField.Builder newValue(Consumer<AuditEventFieldValueUnion.Builder> newValue)
Union of potential field value types.
This is a convenience method that creates an instance of theAuditEventFieldValueUnion.Builderavoiding the need to create one manually viaAuditEventFieldValueUnion.builder().When the
Consumercompletes,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:
newValue(AuditEventFieldValueUnion)
-
oldValue
AuditEventField.Builder oldValue(AuditEventFieldValueUnion 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
default AuditEventField.Builder oldValue(Consumer<AuditEventFieldValueUnion.Builder> oldValue)
Union of potential field value types.
This is a convenience method that creates an instance of theAuditEventFieldValueUnion.Builderavoiding the need to create one manually viaAuditEventFieldValueUnion.builder().When the
Consumercompletes,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:
oldValue(AuditEventFieldValueUnion)
-
-