Interface DataShare.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataShare.Builder,DataShare>,SdkBuilder<DataShare.Builder,DataShare>,SdkPojo
- Enclosing class:
- DataShare
public static interface DataShare.Builder extends SdkPojo, CopyableBuilder<DataShare.Builder,DataShare>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataShare.BuilderallowPubliclyAccessibleConsumers(Boolean allowPubliclyAccessibleConsumers)A value that specifies whether the datashare can be shared to a publicly accessible cluster.DataShare.BuilderdataShareArn(String dataShareArn)The Amazon Resource Name (ARN) of the datashare that the consumer is to use.DataShare.BuilderdataShareAssociations(Collection<DataShareAssociation> dataShareAssociations)A value that specifies when the datashare has an association between producer and data consumers.DataShare.BuilderdataShareAssociations(Consumer<DataShareAssociation.Builder>... dataShareAssociations)A value that specifies when the datashare has an association between producer and data consumers.DataShare.BuilderdataShareAssociations(DataShareAssociation... dataShareAssociations)A value that specifies when the datashare has an association between producer and data consumers.DataShare.BuildermanagedBy(String managedBy)The identifier of a datashare to show its managing entity.DataShare.BuilderproducerArn(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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
dataShareArn
DataShare.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
DataShare.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
DataShare.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
DataShare.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
DataShare.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
DataShare.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.Builderavoiding the need to create one manually viaDataShareAssociation.builder().When the
Consumercompletes,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
DataShare.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.
-
-