Interface CreateGlobalClusterRequest.Builder

  • Method Details

    • globalClusterIdentifier

      CreateGlobalClusterRequest.Builder globalClusterIdentifier(String globalClusterIdentifier)

      The cluster identifier of the new global database cluster.

      Parameters:
      globalClusterIdentifier - The cluster identifier of the new global database cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceDBClusterIdentifier

      CreateGlobalClusterRequest.Builder sourceDBClusterIdentifier(String sourceDBClusterIdentifier)

      (Optional) The Amazon Resource Name (ARN) of an existing Neptune DB cluster to use as the primary cluster of the new global database.

      Parameters:
      sourceDBClusterIdentifier - (Optional) The Amazon Resource Name (ARN) of an existing Neptune DB cluster to use as the primary cluster of the new global database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engine

      The name of the database engine to be used in the global database.

      Valid values: neptune

      Parameters:
      engine - The name of the database engine to be used in the global database.

      Valid values: neptune

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

      CreateGlobalClusterRequest.Builder engineVersion(String engineVersion)

      The Neptune engine version to be used by the global database.

      Valid values: 1.2.0.0 or above.

      Parameters:
      engineVersion - The Neptune engine version to be used by the global database.

      Valid values: 1.2.0.0 or above.

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

      CreateGlobalClusterRequest.Builder deletionProtection(Boolean deletionProtection)

      The deletion protection setting for the new global database. The global database can't be deleted when deletion protection is enabled.

      Parameters:
      deletionProtection - The deletion protection setting for the new global database. The global database can't be deleted when deletion protection is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • databaseName

      CreateGlobalClusterRequest.Builder databaseName(String databaseName)

      The name for the new global database (up to 64 alpha-numeric characters.

      Parameters:
      databaseName - The name for the new global database (up to 64 alpha-numeric characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags to assign to the global cluster.

      Parameters:
      tags - Tags to assign to the global cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags to assign to the global cluster.

      Parameters:
      tags - Tags to assign to the global cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags to assign to the global cluster.

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

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

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

      CreateGlobalClusterRequest.Builder storageEncrypted(Boolean storageEncrypted)

      The storage encryption setting for the new global database cluster.

      Parameters:
      storageEncrypted - The storage encryption setting for the new global database cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateGlobalClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.