1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.common.aws.model;
17
18 import org.kuali.common.core.ssh.KeyPair;
19 import org.kuali.common.util.Assert;
20
21 import com.amazonaws.auth.AWSCredentials;
22
23 public final class AwsAuth {
24
25 public AwsAuth(AWSCredentials credentials, KeyPair keyPair) {
26 Assert.noNulls(credentials, keyPair);
27 this.credentials = credentials;
28 this.keyPair = keyPair;
29 }
30
31 private final AWSCredentials credentials;
32 private final KeyPair keyPair;
33
34 public AWSCredentials getCredentials() {
35 return credentials;
36 }
37
38 public KeyPair getKeyPair() {
39 return keyPair;
40 }
41
42 }