- AWS Code Sample

/* Copyright, Inc. or its affiliates. All Rights Reserved. This file is licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package com.example.dynamodb; import; import; import; @DynamoDbBean public class Work { private String id; private String date; private String description; private String guide; private String username; private String status; private String archive; @DynamoDbPartitionKey public String getId() { return; } ; public void setId(String id) { = id; } @DynamoDbSortKey public String getName() { return this.username; } public void setArchive(String archive) { this.archive = archive; } public String getArchive() { return this.archive; } public void setStatus(String status) { this.status = status; } public String getStatus() { return this.status; } public void setUsername(String username) { this.username = username; } public String getUsername() { return this.username; } public void setGuide(String guide) { = guide; } public String getGuide() { return; } public String getDate() { return; } public void setDate(String date) { = date; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } }