Interface GetSchemaByDefinitionRequest.Builder

    • Method Detail

      • schemaId

        GetSchemaByDefinitionRequest.Builder schemaId​(SchemaId schemaId)

        This is a wrapper structure to contain schema identity fields. The structure contains:

        • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One of SchemaArn or SchemaName has to be provided.

        • SchemaId$SchemaName: The name of the schema. One of SchemaArn or SchemaName has to be provided.

        Parameters:
        schemaId - This is a wrapper structure to contain schema identity fields. The structure contains:

        • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One of SchemaArn or SchemaName has to be provided.

        • SchemaId$SchemaName: The name of the schema. One of SchemaArn or SchemaName has to be provided.

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

        default GetSchemaByDefinitionRequest.Builder schemaId​(Consumer<SchemaId.Builder> schemaId)

        This is a wrapper structure to contain schema identity fields. The structure contains:

        • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One of SchemaArn or SchemaName has to be provided.

        • SchemaId$SchemaName: The name of the schema. One of SchemaArn or SchemaName has to be provided.

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

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

        Parameters:
        schemaId - a consumer that will call methods on SchemaId.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        schemaId(SchemaId)
      • schemaDefinition

        GetSchemaByDefinitionRequest.Builder schemaDefinition​(String schemaDefinition)

        The definition of the schema for which schema details are required.

        Parameters:
        schemaDefinition - The definition of the schema for which schema details are required.
        Returns:
        Returns a reference to this object so that method calls can be chained together.