Interface EventConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventConfig.Builder,
,EventConfig> SdkBuilder<EventConfig.Builder,
,EventConfig> SdkPojo
- Enclosing class:
EventConfig
-
Method Summary
Modifier and TypeMethodDescriptionauthProviders
(Collection<AuthProvider> authProviders) A list of authorization providers.authProviders
(Consumer<AuthProvider.Builder>... authProviders) A list of authorization providers.authProviders
(AuthProvider... authProviders) A list of authorization providers.connectionAuthModes
(Collection<AuthMode> connectionAuthModes) A list of valid authorization modes for the Event API connections.connectionAuthModes
(Consumer<AuthMode.Builder>... connectionAuthModes) A list of valid authorization modes for the Event API connections.connectionAuthModes
(AuthMode... connectionAuthModes) A list of valid authorization modes for the Event API connections.defaultPublishAuthModes
(Collection<AuthMode> defaultPublishAuthModes) A list of valid authorization modes for the Event API publishing.defaultPublishAuthModes
(Consumer<AuthMode.Builder>... defaultPublishAuthModes) A list of valid authorization modes for the Event API publishing.defaultPublishAuthModes
(AuthMode... defaultPublishAuthModes) A list of valid authorization modes for the Event API publishing.defaultSubscribeAuthModes
(Collection<AuthMode> defaultSubscribeAuthModes) A list of valid authorization modes for the Event API subscriptions.defaultSubscribeAuthModes
(Consumer<AuthMode.Builder>... defaultSubscribeAuthModes) A list of valid authorization modes for the Event API subscriptions.defaultSubscribeAuthModes
(AuthMode... defaultSubscribeAuthModes) A list of valid authorization modes for the Event API subscriptions.default EventConfig.Builder
logConfig
(Consumer<EventLogConfig.Builder> logConfig) The CloudWatch Logs configuration for the Event API.logConfig
(EventLogConfig logConfig) The CloudWatch Logs configuration for the Event API.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
-
authProviders
A list of authorization providers.
- Parameters:
authProviders
- A list of authorization providers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authProviders
A list of authorization providers.
- Parameters:
authProviders
- A list of authorization providers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authProviders
A list of authorization providers.
This is a convenience method that creates an instance of theAuthProvider.Builder
avoiding the need to create one manually viaAuthProvider.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthProviders(List<AuthProvider>)
.- Parameters:
authProviders
- a consumer that will call methods onAuthProvider.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionAuthModes
A list of valid authorization modes for the Event API connections.
- Parameters:
connectionAuthModes
- A list of valid authorization modes for the Event API connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionAuthModes
A list of valid authorization modes for the Event API connections.
- Parameters:
connectionAuthModes
- A list of valid authorization modes for the Event API connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionAuthModes
A list of valid authorization modes for the Event API connections.
This is a convenience method that creates an instance of theAuthMode.Builder
avoiding the need to create one manually viaAuthMode.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionAuthModes(List<AuthMode>)
.- Parameters:
connectionAuthModes
- a consumer that will call methods onAuthMode.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultPublishAuthModes
A list of valid authorization modes for the Event API publishing.
- Parameters:
defaultPublishAuthModes
- A list of valid authorization modes for the Event API publishing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultPublishAuthModes
A list of valid authorization modes for the Event API publishing.
- Parameters:
defaultPublishAuthModes
- A list of valid authorization modes for the Event API publishing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultPublishAuthModes
A list of valid authorization modes for the Event API publishing.
This is a convenience method that creates an instance of theAuthMode.Builder
avoiding the need to create one manually viaAuthMode.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultPublishAuthModes(List<AuthMode>)
.- Parameters:
defaultPublishAuthModes
- a consumer that will call methods onAuthMode.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultSubscribeAuthModes
A list of valid authorization modes for the Event API subscriptions.
- Parameters:
defaultSubscribeAuthModes
- A list of valid authorization modes for the Event API subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultSubscribeAuthModes
A list of valid authorization modes for the Event API subscriptions.
- Parameters:
defaultSubscribeAuthModes
- A list of valid authorization modes for the Event API subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultSubscribeAuthModes
EventConfig.Builder defaultSubscribeAuthModes(Consumer<AuthMode.Builder>... defaultSubscribeAuthModes) A list of valid authorization modes for the Event API subscriptions.
This is a convenience method that creates an instance of theAuthMode.Builder
avoiding the need to create one manually viaAuthMode.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultSubscribeAuthModes(List<AuthMode>)
.- Parameters:
defaultSubscribeAuthModes
- a consumer that will call methods onAuthMode.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logConfig
The CloudWatch Logs configuration for the Event API.
- Parameters:
logConfig
- The CloudWatch Logs configuration for the Event API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
The CloudWatch Logs configuration for the Event API.
This is a convenience method that creates an instance of theEventLogConfig.Builder
avoiding the need to create one manually viaEventLogConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologConfig(EventLogConfig)
.- Parameters:
logConfig
- a consumer that will call methods onEventLogConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-