@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateDataShareConsumerResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AssociateDataShareConsumerResult() |
Modifier and Type | Method and Description |
---|---|
AssociateDataShareConsumerResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowPubliclyAccessibleConsumers()
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
|
String |
getDataShareArn()
The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
|
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 namespace.
|
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)
The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
|
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 namespace.
|
String |
toString()
Returns a string representation of this object.
|
AssociateDataShareConsumerResult |
withAllowPubliclyAccessibleConsumers(Boolean allowPubliclyAccessibleConsumers)
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
|
AssociateDataShareConsumerResult |
withDataShareArn(String dataShareArn)
The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
|
AssociateDataShareConsumerResult |
withDataShareAssociations(Collection<DataShareAssociation> dataShareAssociations)
A value that specifies when the datashare has an association between producer and data consumers.
|
AssociateDataShareConsumerResult |
withDataShareAssociations(DataShareAssociation... dataShareAssociations)
A value that specifies when the datashare has an association between producer and data consumers.
|
AssociateDataShareConsumerResult |
withManagedBy(String managedBy)
The identifier of a datashare to show its managing entity.
|
AssociateDataShareConsumerResult |
withProducerArn(String producerArn)
The Amazon Resource Name (ARN) of the producer namespace.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDataShareArn(String dataShareArn)
The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
dataShareArn
- The Amazon Resource Name (ARN) of the datashare that the consumer is to use.public String getDataShareArn()
The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
public AssociateDataShareConsumerResult withDataShareArn(String dataShareArn)
The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
dataShareArn
- The Amazon Resource Name (ARN) of the datashare that the consumer is to use.public void setProducerArn(String producerArn)
The Amazon Resource Name (ARN) of the producer namespace.
producerArn
- The Amazon Resource Name (ARN) of the producer namespace.public String getProducerArn()
The Amazon Resource Name (ARN) of the producer namespace.
public AssociateDataShareConsumerResult withProducerArn(String producerArn)
The Amazon Resource Name (ARN) of the producer namespace.
producerArn
- The Amazon Resource Name (ARN) of the producer namespace.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 AssociateDataShareConsumerResult 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 AssociateDataShareConsumerResult 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 AssociateDataShareConsumerResult 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 AssociateDataShareConsumerResult 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 AssociateDataShareConsumerResult clone()