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

    • id

      The ID of the endpoint.

      Parameters:
      id - The ID of the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • 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.
    • virtualClusterId

      Endpoint.Builder virtualClusterId(String virtualClusterId)

      The ID of the endpoint's virtual cluster.

      Parameters:
      virtualClusterId - The ID of the endpoint's virtual cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of the endpoint.

      Parameters:
      type - The type 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 state of the endpoint.

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

      The state of the endpoint.

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

      Endpoint.Builder releaseLabel(String releaseLabel)

      The EMR release version to be used for the endpoint.

      Parameters:
      releaseLabel - The EMR release version to be used for the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • executionRoleArn

      Endpoint.Builder executionRoleArn(String executionRoleArn)

      The execution role ARN of the endpoint.

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

      @Deprecated Endpoint.Builder certificateArn(String certificateArn)
      Deprecated.
      Customer provided certificate-arn is deprecated and would be removed in future.

      The certificate ARN of the endpoint. This field is under deprecation and will be removed in future.

      Parameters:
      certificateArn - The certificate ARN of the endpoint. This field is under deprecation and will be removed in future.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • certificateAuthority

      Endpoint.Builder certificateAuthority(Certificate certificateAuthority)

      The certificate generated by emr control plane on customer behalf to secure the managed endpoint.

      Parameters:
      certificateAuthority - The certificate generated by emr control plane on customer behalf to secure the managed endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • certificateAuthority

      default Endpoint.Builder certificateAuthority(Consumer<Certificate.Builder> certificateAuthority)

      The certificate generated by emr control plane on customer behalf to secure the managed endpoint.

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

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

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

      Endpoint.Builder configurationOverrides(ConfigurationOverrides configurationOverrides)

      The configuration settings that are used to override existing configurations for endpoints.

      Parameters:
      configurationOverrides - The configuration settings that are used to override existing configurations for endpoints.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configurationOverrides

      default Endpoint.Builder configurationOverrides(Consumer<ConfigurationOverrides.Builder> configurationOverrides)

      The configuration settings that are used to override existing configurations for endpoints.

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

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

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

      Endpoint.Builder serverUrl(String serverUrl)

      The server URL of the endpoint.

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

      Endpoint.Builder createdAt(Instant createdAt)

      The date and time when the endpoint was created.

      Parameters:
      createdAt - The date and time when the endpoint was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroup

      Endpoint.Builder securityGroup(String securityGroup)

      The security group configuration of the endpoint.

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

      Endpoint.Builder subnetIds(Collection<String> subnetIds)

      The subnet IDs of the endpoint.

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

      Endpoint.Builder subnetIds(String... subnetIds)

      The subnet IDs of the endpoint.

      Parameters:
      subnetIds - The subnet IDs of the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateDetails

      Endpoint.Builder stateDetails(String stateDetails)

      Additional details of the endpoint state.

      Parameters:
      stateDetails - Additional details of the endpoint state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReason

      Endpoint.Builder failureReason(String failureReason)

      The reasons why the endpoint has failed.

      Parameters:
      failureReason - The reasons why the endpoint has failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureReason

      Endpoint.Builder failureReason(FailureReason failureReason)

      The reasons why the endpoint has failed.

      Parameters:
      failureReason - The reasons why the endpoint has failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      The tags of the endpoint.

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