@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DynamodbTableConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The proposed access control configuration for a DynamoDB table or index. You can propose a configuration for a new DynamoDB table or index or an existing DynamoDB table or index that you own by specifying the policy for the DynamoDB table or index. For more information, see PutResourcePolicy.
If the configuration is for an existing DynamoDB table or index and you do not specify the DynamoDB policy, then the access preview uses the existing DynamoDB policy for the table or index.
If the access preview is for a new resource and you do not specify the policy, then the access preview assumes a DynamoDB table without a policy.
To propose deletion of an existing DynamoDB table or index policy, you can specify an empty string for the DynamoDB policy.
Constructor and Description |
---|
DynamodbTableConfiguration() |
Modifier and Type | Method and Description |
---|---|
DynamodbTableConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getTablePolicy()
The proposed resource policy defining who can access or manage the DynamoDB table.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTablePolicy(String tablePolicy)
The proposed resource policy defining who can access or manage the DynamoDB table.
|
String |
toString()
Returns a string representation of this object.
|
DynamodbTableConfiguration |
withTablePolicy(String tablePolicy)
The proposed resource policy defining who can access or manage the DynamoDB table.
|
public void setTablePolicy(String tablePolicy)
The proposed resource policy defining who can access or manage the DynamoDB table.
tablePolicy
- The proposed resource policy defining who can access or manage the DynamoDB table.public String getTablePolicy()
The proposed resource policy defining who can access or manage the DynamoDB table.
public DynamodbTableConfiguration withTablePolicy(String tablePolicy)
The proposed resource policy defining who can access or manage the DynamoDB table.
tablePolicy
- The proposed resource policy defining who can access or manage the DynamoDB table.public String toString()
toString
in class Object
Object.toString()
public DynamodbTableConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.