Interface AssociateDataShareConsumerResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AssociateDataShareConsumerResponse.Builder,AssociateDataShareConsumerResponse>
,RedshiftResponse.Builder
,SdkBuilder<AssociateDataShareConsumerResponse.Builder,AssociateDataShareConsumerResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- AssociateDataShareConsumerResponse
public static interface AssociateDataShareConsumerResponse.Builder extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<AssociateDataShareConsumerResponse.Builder,AssociateDataShareConsumerResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssociateDataShareConsumerResponse.Builder
allowPubliclyAccessibleConsumers(Boolean allowPubliclyAccessibleConsumers)
A value that specifies whether the datashare can be shared to a publicly accessible cluster.AssociateDataShareConsumerResponse.Builder
dataShareArn(String dataShareArn)
The Amazon Resource Name (ARN) of the datashare that the consumer is to use.AssociateDataShareConsumerResponse.Builder
dataShareAssociations(Collection<DataShareAssociation> dataShareAssociations)
A value that specifies when the datashare has an association between producer and data consumers.AssociateDataShareConsumerResponse.Builder
dataShareAssociations(Consumer<DataShareAssociation.Builder>... dataShareAssociations)
A value that specifies when the datashare has an association between producer and data consumers.AssociateDataShareConsumerResponse.Builder
dataShareAssociations(DataShareAssociation... dataShareAssociations)
A value that specifies when the datashare has an association between producer and data consumers.AssociateDataShareConsumerResponse.Builder
dataShareType(String dataShareType)
The type of the datashare created by RegisterNamespace.AssociateDataShareConsumerResponse.Builder
dataShareType(DataShareType dataShareType)
The type of the datashare created by RegisterNamespace.AssociateDataShareConsumerResponse.Builder
managedBy(String managedBy)
The identifier of a datashare to show its managing entity.AssociateDataShareConsumerResponse.Builder
producerArn(String producerArn)
The Amazon Resource Name (ARN) of the producer namespace.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
dataShareArn
AssociateDataShareConsumerResponse.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
AssociateDataShareConsumerResponse.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
AssociateDataShareConsumerResponse.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
AssociateDataShareConsumerResponse.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
AssociateDataShareConsumerResponse.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
AssociateDataShareConsumerResponse.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 theDataShareAssociation.Builder
avoiding the need to create one manually viaDataShareAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#dataShareAssociations(List
.) - Parameters:
dataShareAssociations
- a consumer that will call methods onDataShareAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#dataShareAssociations(java.util.Collection
)
-
managedBy
AssociateDataShareConsumerResponse.Builder managedBy(String 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.
-
dataShareType
AssociateDataShareConsumerResponse.Builder dataShareType(String dataShareType)
The type of the datashare created by RegisterNamespace.
- Parameters:
dataShareType
- The type of the datashare created by RegisterNamespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataShareType
,DataShareType
-
dataShareType
AssociateDataShareConsumerResponse.Builder dataShareType(DataShareType dataShareType)
The type of the datashare created by RegisterNamespace.
- Parameters:
dataShareType
- The type of the datashare created by RegisterNamespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataShareType
,DataShareType
-
-