aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/TenantRoles.java
blob: 028310d44d78aa9dc115c22ef1817f0699aef756 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.aws;

/**
 * @author mortent
 */
public class TenantRoles {
    private final String tenantHostRole;
    private final String tenantHostServiceRole;
    private final String containerRole;

    public TenantRoles(String tenantHostRole, String tenantHostServiceRole, String containerRole) {
        this.tenantHostRole = tenantHostRole;
        this.tenantHostServiceRole = tenantHostServiceRole;
        this.containerRole = containerRole;
    }

    public String tenantHostRole() {
        return tenantHostRole;
    }

    public String hostServiceRole() {
        return tenantHostServiceRole;
    }

    public String containerRole() {
        return containerRole;
    }
}