Interface RejectDataShareResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<RejectDataShareResponse.Builder,RejectDataShareResponse>, RedshiftResponse.Builder, SdkBuilder<RejectDataShareResponse.Builder,RejectDataShareResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
RejectDataShareResponse

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

    • dataShareArn

      RejectDataShareResponse.Builder dataShareArn(String dataShareArn)

      The Amazon Resource Name (ARN) of the datashare that the consumer is to use.

      Parameters:
      dataShareArn - The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • producerArn

      RejectDataShareResponse.Builder producerArn(String producerArn)

      The Amazon Resource Name (ARN) of the producer namespace.

      Parameters:
      producerArn - The Amazon Resource Name (ARN) of the producer namespace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowPubliclyAccessibleConsumers

      RejectDataShareResponse.Builder allowPubliclyAccessibleConsumers(Boolean allowPubliclyAccessibleConsumers)

      A value that specifies whether the datashare can be shared to a publicly accessible cluster.

      Parameters:
      allowPubliclyAccessibleConsumers - A value that specifies whether the datashare can be shared to a publicly accessible cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataShareAssociations

      RejectDataShareResponse.Builder dataShareAssociations(Collection<DataShareAssociation> dataShareAssociations)

      A value that specifies when the datashare has an association between producer and data consumers.

      Parameters:
      dataShareAssociations - A value that specifies when the datashare has an association between producer and data consumers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataShareAssociations

      RejectDataShareResponse.Builder dataShareAssociations(DataShareAssociation... dataShareAssociations)

      A value that specifies when the datashare has an association between producer and data consumers.

      Parameters:
      dataShareAssociations - A value that specifies when the datashare has an association between producer and data consumers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataShareAssociations

      RejectDataShareResponse.Builder dataShareAssociations(Consumer<DataShareAssociation.Builder>... dataShareAssociations)

      A value that specifies when the datashare has an association between producer and data consumers.

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

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

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

      The identifier of a datashare to show its managing entity.

      Parameters:
      managedBy - The identifier of a datashare to show its managing entity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.