Interface UpdateEventDataStoreResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CloudTrailResponse.Builder, CopyableBuilder<UpdateEventDataStoreResponse.Builder,UpdateEventDataStoreResponse>, SdkBuilder<UpdateEventDataStoreResponse.Builder,UpdateEventDataStoreResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
UpdateEventDataStoreResponse

public static interface UpdateEventDataStoreResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<UpdateEventDataStoreResponse.Builder,UpdateEventDataStoreResponse>
  • Method Details

    • eventDataStoreArn

      UpdateEventDataStoreResponse.Builder eventDataStoreArn(String eventDataStoreArn)

      The ARN of the event data store.

      Parameters:
      eventDataStoreArn - The ARN of the event data store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the event data store.

      Parameters:
      name - The name of the event data store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of an event data store.

      Parameters:
      status - The status of an event data store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of an event data store.

      Parameters:
      status - The status of an event data store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • advancedEventSelectors

      UpdateEventDataStoreResponse.Builder advancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)

      The advanced event selectors that are applied to the event data store.

      Parameters:
      advancedEventSelectors - The advanced event selectors that are applied to the event data store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • advancedEventSelectors

      UpdateEventDataStoreResponse.Builder advancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)

      The advanced event selectors that are applied to the event data store.

      Parameters:
      advancedEventSelectors - The advanced event selectors that are applied to the event data store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • advancedEventSelectors

      UpdateEventDataStoreResponse.Builder advancedEventSelectors(Consumer<AdvancedEventSelector.Builder>... advancedEventSelectors)

      The advanced event selectors that are applied to the event data store.

      This is a convenience method that creates an instance of the AdvancedEventSelector.Builder avoiding the need to create one manually via AdvancedEventSelector.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to advancedEventSelectors(List<AdvancedEventSelector>).

      Parameters:
      advancedEventSelectors - a consumer that will call methods on AdvancedEventSelector.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • multiRegionEnabled

      UpdateEventDataStoreResponse.Builder multiRegionEnabled(Boolean multiRegionEnabled)

      Indicates whether the event data store includes events from all Regions, or only from the Region in which it was created.

      Parameters:
      multiRegionEnabled - Indicates whether the event data store includes events from all Regions, or only from the Region in which it was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationEnabled

      UpdateEventDataStoreResponse.Builder organizationEnabled(Boolean organizationEnabled)

      Indicates whether an event data store is collecting logged events for an organization in Organizations.

      Parameters:
      organizationEnabled - Indicates whether an event data store is collecting logged events for an organization in Organizations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • retentionPeriod

      UpdateEventDataStoreResponse.Builder retentionPeriod(Integer retentionPeriod)

      The retention period, in days.

      Parameters:
      retentionPeriod - The retention period, in days.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • terminationProtectionEnabled

      UpdateEventDataStoreResponse.Builder terminationProtectionEnabled(Boolean terminationProtectionEnabled)

      Indicates whether termination protection is enabled for the event data store.

      Parameters:
      terminationProtectionEnabled - Indicates whether termination protection is enabled for the event data store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdTimestamp

      UpdateEventDataStoreResponse.Builder createdTimestamp(Instant createdTimestamp)

      The timestamp that shows when an event data store was first created.

      Parameters:
      createdTimestamp - The timestamp that shows when an event data store was first created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedTimestamp

      UpdateEventDataStoreResponse.Builder updatedTimestamp(Instant updatedTimestamp)

      The timestamp that shows when the event data store was last updated. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.

      Parameters:
      updatedTimestamp - The timestamp that shows when the event data store was last updated. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeyId

      Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the following format.

      arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012

      Parameters:
      kmsKeyId - Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the following format.

      arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • billingMode

      UpdateEventDataStoreResponse.Builder billingMode(String billingMode)

      The billing mode for the event data store.

      Parameters:
      billingMode - The billing mode for the event data store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • billingMode

      The billing mode for the event data store.

      Parameters:
      billingMode - The billing mode for the event data store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • federationStatus

      UpdateEventDataStoreResponse.Builder federationStatus(String federationStatus)

      Indicates the Lake query federation status. The status is ENABLED if Lake query federation is enabled, or DISABLED if Lake query federation is disabled. You cannot delete an event data store if the FederationStatus is ENABLED.

      Parameters:
      federationStatus - Indicates the Lake query federation status. The status is ENABLED if Lake query federation is enabled, or DISABLED if Lake query federation is disabled. You cannot delete an event data store if the FederationStatus is ENABLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • federationStatus

      UpdateEventDataStoreResponse.Builder federationStatus(FederationStatus federationStatus)

      Indicates the Lake query federation status. The status is ENABLED if Lake query federation is enabled, or DISABLED if Lake query federation is disabled. You cannot delete an event data store if the FederationStatus is ENABLED.

      Parameters:
      federationStatus - Indicates the Lake query federation status. The status is ENABLED if Lake query federation is enabled, or DISABLED if Lake query federation is disabled. You cannot delete an event data store if the FederationStatus is ENABLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • federationRoleArn

      UpdateEventDataStoreResponse.Builder federationRoleArn(String federationRoleArn)

      If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store.

      Parameters:
      federationRoleArn - If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.