@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RejectDataShareResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
RejectDataShareResult() |
Modifier and Type | Method and Description |
---|---|
RejectDataShareResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowPubliclyAccessibleConsumers()
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
|
String |
getDataShareArn()
An Amazon Resource Name (ARN) that references the datashare that is owned by a specific namespace of the producer
cluster.
|
List<DataShareAssociation> |
getDataShareAssociations()
A value that specifies when the datashare has an association between producer and data consumers.
|
String |
getManagedBy()
The identifier of a datashare to show its managing entity.
|
String |
getProducerArn()
The Amazon Resource Name (ARN) of the producer.
|
int |
hashCode() |
Boolean |
isAllowPubliclyAccessibleConsumers()
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
|
void |
setAllowPubliclyAccessibleConsumers(Boolean allowPubliclyAccessibleConsumers)
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
|
void |
setDataShareArn(String dataShareArn)
An Amazon Resource Name (ARN) that references the datashare that is owned by a specific namespace of the producer
cluster.
|
void |
setDataShareAssociations(Collection<DataShareAssociation> dataShareAssociations)
A value that specifies when the datashare has an association between producer and data consumers.
|
void |
setManagedBy(String managedBy)
The identifier of a datashare to show its managing entity.
|
void |
setProducerArn(String producerArn)
The Amazon Resource Name (ARN) of the producer.
|
String |
toString()
Returns a string representation of this object.
|
RejectDataShareResult |
withAllowPubliclyAccessibleConsumers(Boolean allowPubliclyAccessibleConsumers)
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
|
RejectDataShareResult |
withDataShareArn(String dataShareArn)
An Amazon Resource Name (ARN) that references the datashare that is owned by a specific namespace of the producer
cluster.
|
RejectDataShareResult |
withDataShareAssociations(Collection<DataShareAssociation> dataShareAssociations)
A value that specifies when the datashare has an association between producer and data consumers.
|
RejectDataShareResult |
withDataShareAssociations(DataShareAssociation... dataShareAssociations)
A value that specifies when the datashare has an association between producer and data consumers.
|
RejectDataShareResult |
withManagedBy(String managedBy)
The identifier of a datashare to show its managing entity.
|
RejectDataShareResult |
withProducerArn(String producerArn)
The Amazon Resource Name (ARN) of the producer.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDataShareArn(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.
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.public String getDataShareArn()
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.
arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
format.public RejectDataShareResult withDataShareArn(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.
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.public void setProducerArn(String producerArn)
The Amazon Resource Name (ARN) of the producer.
producerArn
- The Amazon Resource Name (ARN) of the producer.public String getProducerArn()
The Amazon Resource Name (ARN) of the producer.
public RejectDataShareResult withProducerArn(String producerArn)
The Amazon Resource Name (ARN) of the producer.
producerArn
- The Amazon Resource Name (ARN) of the producer.public void setAllowPubliclyAccessibleConsumers(Boolean allowPubliclyAccessibleConsumers)
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
allowPubliclyAccessibleConsumers
- A value that specifies whether the datashare can be shared to a publicly accessible cluster.public Boolean getAllowPubliclyAccessibleConsumers()
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
public RejectDataShareResult withAllowPubliclyAccessibleConsumers(Boolean allowPubliclyAccessibleConsumers)
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
allowPubliclyAccessibleConsumers
- A value that specifies whether the datashare can be shared to a publicly accessible cluster.public Boolean isAllowPubliclyAccessibleConsumers()
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
public List<DataShareAssociation> getDataShareAssociations()
A value that specifies when the datashare has an association between producer and data consumers.
public void setDataShareAssociations(Collection<DataShareAssociation> dataShareAssociations)
A value that specifies when the datashare has an association between producer and data consumers.
dataShareAssociations
- A value that specifies when the datashare has an association between producer and data consumers.public RejectDataShareResult withDataShareAssociations(DataShareAssociation... dataShareAssociations)
A value that specifies when the datashare has an association between producer and data consumers.
NOTE: This method appends the values to the existing list (if any). Use
setDataShareAssociations(java.util.Collection)
or
withDataShareAssociations(java.util.Collection)
if you want to override the existing values.
dataShareAssociations
- A value that specifies when the datashare has an association between producer and data consumers.public RejectDataShareResult withDataShareAssociations(Collection<DataShareAssociation> dataShareAssociations)
A value that specifies when the datashare has an association between producer and data consumers.
dataShareAssociations
- A value that specifies when the datashare has an association between producer and data consumers.public void setManagedBy(String managedBy)
The identifier of a datashare to show its managing entity.
managedBy
- The identifier of a datashare to show its managing entity.public String getManagedBy()
The identifier of a datashare to show its managing entity.
public RejectDataShareResult withManagedBy(String managedBy)
The identifier of a datashare to show its managing entity.
managedBy
- The identifier of a datashare to show its managing entity.public String toString()
toString
in class Object
Object.toString()
public RejectDataShareResult clone()