Interface Endpoint.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Endpoint.Builder,Endpoint>, SdkBuilder<Endpoint.Builder,Endpoint>, SdkPojo
Enclosing class:
Endpoint

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

    • name

      The name of the endpoint.

      Parameters:
      name - The name of the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      Endpoint.Builder description(String description)

      A description for the endpoint.

      Parameters:
      description - A description for the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The ARN of the endpoint.

      Parameters:
      arn - The ARN of the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routingConfig

      Endpoint.Builder routingConfig(RoutingConfig routingConfig)

      The routing configuration of the endpoint.

      Parameters:
      routingConfig - The routing configuration of the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routingConfig

      default Endpoint.Builder routingConfig(Consumer<RoutingConfig.Builder> routingConfig)

      The routing configuration of the endpoint.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to routingConfig(RoutingConfig).

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

      Endpoint.Builder replicationConfig(ReplicationConfig replicationConfig)

      Whether event replication was enabled or disabled for this endpoint. The default state is ENABLED which means you must supply a RoleArn. If you don't have a RoleArn or you don't want event replication enabled, set the state to DISABLED.

      Parameters:
      replicationConfig - Whether event replication was enabled or disabled for this endpoint. The default state is ENABLED which means you must supply a RoleArn. If you don't have a RoleArn or you don't want event replication enabled, set the state to DISABLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicationConfig

      default Endpoint.Builder replicationConfig(Consumer<ReplicationConfig.Builder> replicationConfig)

      Whether event replication was enabled or disabled for this endpoint. The default state is ENABLED which means you must supply a RoleArn. If you don't have a RoleArn or you don't want event replication enabled, set the state to DISABLED.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to replicationConfig(ReplicationConfig).

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

      Endpoint.Builder eventBuses(Collection<EndpointEventBus> eventBuses)

      The event buses being used by the endpoint.

      Parameters:
      eventBuses - The event buses being used by the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventBuses

      Endpoint.Builder eventBuses(EndpointEventBus... eventBuses)

      The event buses being used by the endpoint.

      Parameters:
      eventBuses - The event buses being used by the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventBuses

      The event buses being used by the endpoint.

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

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

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

      Endpoint.Builder roleArn(String roleArn)

      The ARN of the role used by event replication for the endpoint.

      Parameters:
      roleArn - The ARN of the role used by event replication for the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpointId

      Endpoint.Builder endpointId(String endpointId)

      The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo.

      Parameters:
      endpointId - The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpointUrl

      Endpoint.Builder endpointUrl(String endpointUrl)

      The URL of the endpoint.

      Parameters:
      endpointUrl - The URL of the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      Endpoint.Builder state(String state)

      The current state of the endpoint.

      Parameters:
      state - The current state of the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The current state of the endpoint.

      Parameters:
      state - The current state of the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stateReason

      Endpoint.Builder stateReason(String stateReason)

      The reason the endpoint is in its current state.

      Parameters:
      stateReason - The reason the endpoint is in its current state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      Endpoint.Builder creationTime(Instant creationTime)

      The time the endpoint was created.

      Parameters:
      creationTime - The time the endpoint was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      Endpoint.Builder lastModifiedTime(Instant lastModifiedTime)

      The last time the endpoint was modified.

      Parameters:
      lastModifiedTime - The last time the endpoint was modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.