Interface PartnerEventsSourceConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PartnerEventsSourceConfiguration.Builder,,PartnerEventsSourceConfiguration> SdkBuilder<PartnerEventsSourceConfiguration.Builder,,PartnerEventsSourceConfiguration> SdkPojo
- Enclosing class:
PartnerEventsSourceConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiononFailureConfiguration(Consumer<OnFailureConfiguration.Builder> onFailureConfiguration) The destination for events that could not be forwarded, covering both the forwarding target and the managed partner event bus.onFailureConfiguration(OnFailureConfiguration onFailureConfiguration) The destination for events that could not be forwarded, covering both the forwarding target and the managed partner event bus.partnerBusKmsKeyIdentifier(String partnerBusKmsKeyIdentifier) Identifier of the AWS KMS customer managed key used to encrypt events: a key ID, key ARN, alias name, or alias ARN.partnerEventSourceArn(String partnerEventSourceArn) ARN of the partner event source to forward.A filter pattern, as a JSON string, that defines which of the partner event source's events are forwarded to the event bus.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
partnerEventSourceArn
ARN of the partner event source to forward. It is a partner-owned resource, so the account segment is empty: arn:aws:events:<region>::event-source/aws.partner/<name>.
- Parameters:
partnerEventSourceArn- ARN of the partner event source to forward. It is a partner-owned resource, so the account segment is empty: arn:aws:events:<region>::event-source/aws.partner/<name>.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pattern
A filter pattern, as a JSON string, that defines which of the partner event source's events are forwarded to the event bus. If no pattern is specified, all events from the partner event source are forwarded.
- Parameters:
pattern- A filter pattern, as a JSON string, that defines which of the partner event source's events are forwarded to the event bus. If no pattern is specified, all events from the partner event source are forwarded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partnerBusKmsKeyIdentifier
PartnerEventsSourceConfiguration.Builder partnerBusKmsKeyIdentifier(String partnerBusKmsKeyIdentifier) Identifier of the AWS KMS customer managed key used to encrypt events: a key ID, key ARN, alias name, or alias ARN. When absent, events are encrypted with an AWS owned key.
- Parameters:
partnerBusKmsKeyIdentifier- Identifier of the AWS KMS customer managed key used to encrypt events: a key ID, key ARN, alias name, or alias ARN. When absent, events are encrypted with an AWS owned key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onFailureConfiguration
PartnerEventsSourceConfiguration.Builder onFailureConfiguration(OnFailureConfiguration onFailureConfiguration) The destination for events that could not be forwarded, covering both the forwarding target and the managed partner event bus.
- Parameters:
onFailureConfiguration- The destination for events that could not be forwarded, covering both the forwarding target and the managed partner event bus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onFailureConfiguration
default PartnerEventsSourceConfiguration.Builder onFailureConfiguration(Consumer<OnFailureConfiguration.Builder> onFailureConfiguration) The destination for events that could not be forwarded, covering both the forwarding target and the managed partner event bus.
This is a convenience method that creates an instance of theOnFailureConfiguration.Builderavoiding the need to create one manually viaOnFailureConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toonFailureConfiguration(OnFailureConfiguration).- Parameters:
onFailureConfiguration- a consumer that will call methods onOnFailureConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-