Interface DeauthorizeDataShareResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeauthorizeDataShareResponse.Builder,DeauthorizeDataShareResponse>,RedshiftResponse.Builder,SdkBuilder<DeauthorizeDataShareResponse.Builder,DeauthorizeDataShareResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DeauthorizeDataShareResponse
public static interface DeauthorizeDataShareResponse.Builder extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<DeauthorizeDataShareResponse.Builder,DeauthorizeDataShareResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeauthorizeDataShareResponse.BuilderallowPubliclyAccessibleConsumers(Boolean allowPubliclyAccessibleConsumers)A value that specifies whether the datashare can be shared to a publicly accessible cluster.DeauthorizeDataShareResponse.BuilderdataShareArn(String dataShareArn)An Amazon Resource Name (ARN) that references the datashare that is owned by a specific namespace of the producer cluster.DeauthorizeDataShareResponse.BuilderdataShareAssociations(Collection<DataShareAssociation> dataShareAssociations)A value that specifies when the datashare has an association between producer and data consumers.DeauthorizeDataShareResponse.BuilderdataShareAssociations(Consumer<DataShareAssociation.Builder>... dataShareAssociations)A value that specifies when the datashare has an association between producer and data consumers.DeauthorizeDataShareResponse.BuilderdataShareAssociations(DataShareAssociation... dataShareAssociations)A value that specifies when the datashare has an association between producer and data consumers.DeauthorizeDataShareResponse.BuildermanagedBy(String managedBy)The identifier of a datashare to show its managing entity.DeauthorizeDataShareResponse.BuilderproducerArn(String producerArn)The Amazon Resource Name (ARN) of the producer.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
dataShareArn
DeauthorizeDataShareResponse.Builder dataShareArn(String dataShareArn)
An Amazon Resource Name (ARN) that references the datashare that is owned by a specific namespace of the producer cluster. A datashare ARN is in the
arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}format.- Parameters:
dataShareArn- An Amazon Resource Name (ARN) that references the datashare that is owned by a specific namespace of the producer cluster. A datashare ARN is in thearn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
producerArn
DeauthorizeDataShareResponse.Builder producerArn(String producerArn)
The Amazon Resource Name (ARN) of the producer.
- Parameters:
producerArn- The Amazon Resource Name (ARN) of the producer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowPubliclyAccessibleConsumers
DeauthorizeDataShareResponse.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
DeauthorizeDataShareResponse.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
DeauthorizeDataShareResponse.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
DeauthorizeDataShareResponse.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
DeauthorizeDataShareResponse.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.
-
-