Interface DBClusterEndpoint.Builder

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

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

    • dbClusterEndpointIdentifier

      DBClusterEndpoint.Builder dbClusterEndpointIdentifier(String dbClusterEndpointIdentifier)

      The identifier associated with the endpoint. This parameter is stored as a lowercase string.

      Parameters:
      dbClusterEndpointIdentifier - The identifier associated with the endpoint. This parameter is stored as a lowercase string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbClusterIdentifier

      DBClusterEndpoint.Builder dbClusterIdentifier(String dbClusterIdentifier)

      The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

      Parameters:
      dbClusterIdentifier - The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbClusterEndpointResourceIdentifier

      DBClusterEndpoint.Builder dbClusterEndpointResourceIdentifier(String dbClusterEndpointResourceIdentifier)

      A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.

      Parameters:
      dbClusterEndpointResourceIdentifier - A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoint

      DBClusterEndpoint.Builder endpoint(String endpoint)

      The DNS address of the endpoint.

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

      The current status of the endpoint. One of: creating, available, deleting, inactive, modifying. The inactive state applies to an endpoint that cannot be used for a certain kind of cluster, such as a writer endpoint for a read-only secondary cluster in a global database.

      Parameters:
      status - The current status of the endpoint. One of: creating, available, deleting, inactive, modifying. The inactive state applies to an endpoint that cannot be used for a certain kind of cluster, such as a writer endpoint for a read-only secondary cluster in a global database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpointType

      DBClusterEndpoint.Builder endpointType(String endpointType)

      The type of the endpoint. One of: READER, WRITER, CUSTOM.

      Parameters:
      endpointType - The type of the endpoint. One of: READER, WRITER, CUSTOM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customEndpointType

      DBClusterEndpoint.Builder customEndpointType(String customEndpointType)

      The type associated with a custom endpoint. One of: READER, WRITER, ANY.

      Parameters:
      customEndpointType - The type associated with a custom endpoint. One of: READER, WRITER, ANY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • staticMembers

      DBClusterEndpoint.Builder staticMembers(Collection<String> staticMembers)

      List of DB instance identifiers that are part of the custom endpoint group.

      Parameters:
      staticMembers - List of DB instance identifiers that are part of the custom endpoint group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • staticMembers

      DBClusterEndpoint.Builder staticMembers(String... staticMembers)

      List of DB instance identifiers that are part of the custom endpoint group.

      Parameters:
      staticMembers - List of DB instance identifiers that are part of the custom endpoint group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludedMembers

      DBClusterEndpoint.Builder excludedMembers(Collection<String> excludedMembers)

      List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

      Parameters:
      excludedMembers - List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludedMembers

      DBClusterEndpoint.Builder excludedMembers(String... excludedMembers)

      List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

      Parameters:
      excludedMembers - List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbClusterEndpointArn

      DBClusterEndpoint.Builder dbClusterEndpointArn(String dbClusterEndpointArn)

      The Amazon Resource Name (ARN) for the endpoint.

      Parameters:
      dbClusterEndpointArn - The Amazon Resource Name (ARN) for the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.