Interface OrganizationEventDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OrganizationEventDetails.Builder,OrganizationEventDetails>,SdkBuilder<OrganizationEventDetails.Builder,OrganizationEventDetails>,SdkPojo
- Enclosing class:
- OrganizationEventDetails
public static interface OrganizationEventDetails.Builder extends SdkPojo, CopyableBuilder<OrganizationEventDetails.Builder,OrganizationEventDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OrganizationEventDetails.BuilderawsAccountId(String awsAccountId)The 12-digit Amazon Web Services account numbers that contains the affected entities.default OrganizationEventDetails.Builderevent(Consumer<Event.Builder> event)Sets the value of the Event property for this object.OrganizationEventDetails.Builderevent(Event event)Sets the value of the Event property for this object.default OrganizationEventDetails.BuildereventDescription(Consumer<EventDescription.Builder> eventDescription)Sets the value of the EventDescription property for this object.OrganizationEventDetails.BuildereventDescription(EventDescription eventDescription)Sets the value of the EventDescription property for this object.OrganizationEventDetails.BuildereventMetadata(Map<String,String> eventMetadata)Additional metadata about the event.-
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
-
awsAccountId
OrganizationEventDetails.Builder awsAccountId(String awsAccountId)
The 12-digit Amazon Web Services account numbers that contains the affected entities.
- Parameters:
awsAccountId- The 12-digit Amazon Web Services account numbers that contains the affected entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
event
OrganizationEventDetails.Builder event(Event event)
Sets the value of the Event property for this object.- Parameters:
event- The new value for the Event property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
event
default OrganizationEventDetails.Builder event(Consumer<Event.Builder> event)
Sets the value of the Event property for this object. This is a convenience method that creates an instance of theEvent.Builderavoiding the need to create one manually viaEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevent(Event).- Parameters:
event- a consumer that will call methods onEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
event(Event)
-
eventDescription
OrganizationEventDetails.Builder eventDescription(EventDescription eventDescription)
Sets the value of the EventDescription property for this object.- Parameters:
eventDescription- The new value for the EventDescription property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDescription
default OrganizationEventDetails.Builder eventDescription(Consumer<EventDescription.Builder> eventDescription)
Sets the value of the EventDescription property for this object. This is a convenience method that creates an instance of theEventDescription.Builderavoiding the need to create one manually viaEventDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventDescription(EventDescription).- Parameters:
eventDescription- a consumer that will call methods onEventDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
eventDescription(EventDescription)
-
eventMetadata
OrganizationEventDetails.Builder eventMetadata(Map<String,String> eventMetadata)
Additional metadata about the event.
- Parameters:
eventMetadata- Additional metadata about the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-