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
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) The 12-digit Amazon Web Services account numbers that contains the affected entities.default OrganizationEventDetails.Builder
event
(Consumer<Event.Builder> event) Sets the value of the Event property for this object.Sets the value of the Event property for this object.default OrganizationEventDetails.Builder
eventDescription
(Consumer<EventDescription.Builder> eventDescription) Sets the value of the EventDescription property for this object.eventDescription
(EventDescription eventDescription) Sets the value of the EventDescription property for this object.eventMetadata
(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 Details
-
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
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
Sets the value of the Event property for this object. This is a convenience method that creates an instance of theEvent.Builder
avoiding the need to create one manually viaEvent.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaEventDescription.builder()
.When the
Consumer
completes,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:
-
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.
-