Skip to content

Commit a80ec1e

Browse files
authored
feat(aws-android-sdk-kms): update models to latest (#2518)
1 parent 2c55425 commit a80ec1e

File tree

65 files changed

+9222
-1995
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+9222
-1995
lines changed

aws-android-sdk-kms/src/main/java/com/amazonaws/services/kms/AWSKMS.java

Lines changed: 701 additions & 220 deletions
Large diffs are not rendered by default.

aws-android-sdk-kms/src/main/java/com/amazonaws/services/kms/AWSKMSClient.java

Lines changed: 749 additions & 220 deletions
Large diffs are not rendered by default.

aws-android-sdk-kms/src/main/java/com/amazonaws/services/kms/model/AliasListEntry.java

Lines changed: 70 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ public class AliasListEntry implements Serializable {
4747

4848
/**
4949
* <p>
50-
* String that contains the key identifier referred to by the alias.
50+
* String that contains the key identifier of the CMK associated with the
51+
* alias.
5152
* </p>
5253
* <p>
5354
* <b>Constraints:</b><br/>
@@ -56,12 +57,18 @@ public class AliasListEntry implements Serializable {
5657
private String targetKeyId;
5758

5859
/**
59-
* The new value for the creationDate property for this object.
60+
* <p>
61+
* Date and time that the alias was most recently created in the account and
62+
* Region. Formatted as Unix time.
63+
* </p>
6064
*/
6165
private java.util.Date creationDate;
6266

6367
/**
64-
* The new value for the lastUpdatedDate property for this object.
68+
* <p>
69+
* Date and time that the alias was most recently associated with a CMK in
70+
* the account and Region. Formatted as Unix time.
71+
* </p>
6572
*/
6673
private java.util.Date lastUpdatedDate;
6774

@@ -184,14 +191,16 @@ public AliasListEntry withAliasArn(String aliasArn) {
184191

185192
/**
186193
* <p>
187-
* String that contains the key identifier referred to by the alias.
194+
* String that contains the key identifier of the CMK associated with the
195+
* alias.
188196
* </p>
189197
* <p>
190198
* <b>Constraints:</b><br/>
191199
* <b>Length: </b>1 - 2048<br/>
192200
*
193201
* @return <p>
194-
* String that contains the key identifier referred to by the alias.
202+
* String that contains the key identifier of the CMK associated
203+
* with the alias.
195204
* </p>
196205
*/
197206
public String getTargetKeyId() {
@@ -200,15 +209,16 @@ public String getTargetKeyId() {
200209

201210
/**
202211
* <p>
203-
* String that contains the key identifier referred to by the alias.
212+
* String that contains the key identifier of the CMK associated with the
213+
* alias.
204214
* </p>
205215
* <p>
206216
* <b>Constraints:</b><br/>
207217
* <b>Length: </b>1 - 2048<br/>
208218
*
209219
* @param targetKeyId <p>
210-
* String that contains the key identifier referred to by the
211-
* alias.
220+
* String that contains the key identifier of the CMK associated
221+
* with the alias.
212222
* </p>
213223
*/
214224
public void setTargetKeyId(String targetKeyId) {
@@ -217,7 +227,8 @@ public void setTargetKeyId(String targetKeyId) {
217227

218228
/**
219229
* <p>
220-
* String that contains the key identifier referred to by the alias.
230+
* String that contains the key identifier of the CMK associated with the
231+
* alias.
221232
* </p>
222233
* <p>
223234
* Returns a reference to this object so that method calls can be chained
@@ -227,8 +238,8 @@ public void setTargetKeyId(String targetKeyId) {
227238
* <b>Length: </b>1 - 2048<br/>
228239
*
229240
* @param targetKeyId <p>
230-
* String that contains the key identifier referred to by the
231-
* alias.
241+
* String that contains the key identifier of the CMK associated
242+
* with the alias.
232243
* </p>
233244
* @return A reference to this updated object so that method calls can be
234245
* chained together.
@@ -239,32 +250,48 @@ public AliasListEntry withTargetKeyId(String targetKeyId) {
239250
}
240251

241252
/**
242-
* Returns the value of the creationDate property for this object.
253+
* <p>
254+
* Date and time that the alias was most recently created in the account and
255+
* Region. Formatted as Unix time.
256+
* </p>
243257
*
244-
* @return The value of the creationDate property for this object.
258+
* @return <p>
259+
* Date and time that the alias was most recently created in the
260+
* account and Region. Formatted as Unix time.
261+
* </p>
245262
*/
246263
public java.util.Date getCreationDate() {
247264
return creationDate;
248265
}
249266

250267
/**
251-
* Sets the value of creationDate
268+
* <p>
269+
* Date and time that the alias was most recently created in the account and
270+
* Region. Formatted as Unix time.
271+
* </p>
252272
*
253-
* @param creationDate The new value for the creationDate property for this
254-
* object.
273+
* @param creationDate <p>
274+
* Date and time that the alias was most recently created in the
275+
* account and Region. Formatted as Unix time.
276+
* </p>
255277
*/
256278
public void setCreationDate(java.util.Date creationDate) {
257279
this.creationDate = creationDate;
258280
}
259281

260282
/**
261-
* Sets the value of the creationDate property for this object.
283+
* <p>
284+
* Date and time that the alias was most recently created in the account and
285+
* Region. Formatted as Unix time.
286+
* </p>
262287
* <p>
263288
* Returns a reference to this object so that method calls can be chained
264289
* together.
265290
*
266-
* @param creationDate The new value for the creationDate property for this
267-
* object.
291+
* @param creationDate <p>
292+
* Date and time that the alias was most recently created in the
293+
* account and Region. Formatted as Unix time.
294+
* </p>
268295
* @return A reference to this updated object so that method calls can be
269296
* chained together.
270297
*/
@@ -274,32 +301,48 @@ public AliasListEntry withCreationDate(java.util.Date creationDate) {
274301
}
275302

276303
/**
277-
* Returns the value of the lastUpdatedDate property for this object.
304+
* <p>
305+
* Date and time that the alias was most recently associated with a CMK in
306+
* the account and Region. Formatted as Unix time.
307+
* </p>
278308
*
279-
* @return The value of the lastUpdatedDate property for this object.
309+
* @return <p>
310+
* Date and time that the alias was most recently associated with a
311+
* CMK in the account and Region. Formatted as Unix time.
312+
* </p>
280313
*/
281314
public java.util.Date getLastUpdatedDate() {
282315
return lastUpdatedDate;
283316
}
284317

285318
/**
286-
* Sets the value of lastUpdatedDate
319+
* <p>
320+
* Date and time that the alias was most recently associated with a CMK in
321+
* the account and Region. Formatted as Unix time.
322+
* </p>
287323
*
288-
* @param lastUpdatedDate The new value for the lastUpdatedDate property for
289-
* this object.
324+
* @param lastUpdatedDate <p>
325+
* Date and time that the alias was most recently associated with
326+
* a CMK in the account and Region. Formatted as Unix time.
327+
* </p>
290328
*/
291329
public void setLastUpdatedDate(java.util.Date lastUpdatedDate) {
292330
this.lastUpdatedDate = lastUpdatedDate;
293331
}
294332

295333
/**
296-
* Sets the value of the lastUpdatedDate property for this object.
334+
* <p>
335+
* Date and time that the alias was most recently associated with a CMK in
336+
* the account and Region. Formatted as Unix time.
337+
* </p>
297338
* <p>
298339
* Returns a reference to this object so that method calls can be chained
299340
* together.
300341
*
301-
* @param lastUpdatedDate The new value for the lastUpdatedDate property for
302-
* this object.
342+
* @param lastUpdatedDate <p>
343+
* Date and time that the alias was most recently associated with
344+
* a CMK in the account and Region. Formatted as Unix time.
345+
* </p>
303346
* @return A reference to this updated object so that method calls can be
304347
* chained together.
305348
*/

aws-android-sdk-kms/src/main/java/com/amazonaws/services/kms/model/CancelKeyDeletionRequest.java

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
* The CMK that you use for this operation must be in a compatible key state.
3737
* For details, see <a
3838
* href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html"
39-
* >How Key State Affects Use of a Customer Master Key</a> in the <i>AWS Key
40-
* Management Service Developer Guide</i>.
39+
* >Key state: Effect on your CMK</a> in the <i>AWS Key Management Service
40+
* Developer Guide</i>.
4141
* </p>
4242
* <p>
4343
* <b>Cross-account use</b>: No. You cannot perform this operation on a CMK in a
@@ -55,11 +55,11 @@
5555
public class CancelKeyDeletionRequest extends AmazonWebServiceRequest implements Serializable {
5656
/**
5757
* <p>
58-
* The unique identifier for the customer master key (CMK) for which to
59-
* cancel deletion.
58+
* Identifies the customer master key (CMK) whose deletion is being
59+
* canceled.
6060
* </p>
6161
* <p>
62-
* Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
62+
* Specify the key ID or key ARN of the CMK.
6363
* </p>
6464
* <p>
6565
* For example:
@@ -89,11 +89,11 @@ public class CancelKeyDeletionRequest extends AmazonWebServiceRequest implements
8989

9090
/**
9191
* <p>
92-
* The unique identifier for the customer master key (CMK) for which to
93-
* cancel deletion.
92+
* Identifies the customer master key (CMK) whose deletion is being
93+
* canceled.
9494
* </p>
9595
* <p>
96-
* Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
96+
* Specify the key ID or key ARN of the CMK.
9797
* </p>
9898
* <p>
9999
* For example:
@@ -120,11 +120,11 @@ public class CancelKeyDeletionRequest extends AmazonWebServiceRequest implements
120120
* <b>Length: </b>1 - 2048<br/>
121121
*
122122
* @return <p>
123-
* The unique identifier for the customer master key (CMK) for which
124-
* to cancel deletion.
123+
* Identifies the customer master key (CMK) whose deletion is being
124+
* canceled.
125125
* </p>
126126
* <p>
127-
* Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
127+
* Specify the key ID or key ARN of the CMK.
128128
* </p>
129129
* <p>
130130
* For example:
@@ -153,11 +153,11 @@ public String getKeyId() {
153153

154154
/**
155155
* <p>
156-
* The unique identifier for the customer master key (CMK) for which to
157-
* cancel deletion.
156+
* Identifies the customer master key (CMK) whose deletion is being
157+
* canceled.
158158
* </p>
159159
* <p>
160-
* Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
160+
* Specify the key ID or key ARN of the CMK.
161161
* </p>
162162
* <p>
163163
* For example:
@@ -184,12 +184,11 @@ public String getKeyId() {
184184
* <b>Length: </b>1 - 2048<br/>
185185
*
186186
* @param keyId <p>
187-
* The unique identifier for the customer master key (CMK) for
188-
* which to cancel deletion.
187+
* Identifies the customer master key (CMK) whose deletion is
188+
* being canceled.
189189
* </p>
190190
* <p>
191-
* Specify the key ID or the Amazon Resource Name (ARN) of the
192-
* CMK.
191+
* Specify the key ID or key ARN of the CMK.
193192
* </p>
194193
* <p>
195194
* For example:
@@ -218,11 +217,11 @@ public void setKeyId(String keyId) {
218217

219218
/**
220219
* <p>
221-
* The unique identifier for the customer master key (CMK) for which to
222-
* cancel deletion.
220+
* Identifies the customer master key (CMK) whose deletion is being
221+
* canceled.
223222
* </p>
224223
* <p>
225-
* Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
224+
* Specify the key ID or key ARN of the CMK.
226225
* </p>
227226
* <p>
228227
* For example:
@@ -252,12 +251,11 @@ public void setKeyId(String keyId) {
252251
* <b>Length: </b>1 - 2048<br/>
253252
*
254253
* @param keyId <p>
255-
* The unique identifier for the customer master key (CMK) for
256-
* which to cancel deletion.
254+
* Identifies the customer master key (CMK) whose deletion is
255+
* being canceled.
257256
* </p>
258257
* <p>
259-
* Specify the key ID or the Amazon Resource Name (ARN) of the
260-
* CMK.
258+
* Specify the key ID or key ARN of the CMK.
261259
* </p>
262260
* <p>
263261
* For example:

0 commit comments

Comments
 (0)