public final class DiscoveryFilter extends Object
The filter allows a KMS CMK if its partition matches partition
and its accountId is
included in accountIds
.
Constructor and Description |
---|
DiscoveryFilter(String partition,
Collection<String> accountIds) |
DiscoveryFilter(String partition,
String... accountIds) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsPartitionAndAccount(String partition,
String accountId) |
Collection<String> |
getAccountIds() |
String |
getPartition() |
public DiscoveryFilter(String partition, Collection<String> accountIds)
public String getPartition()
public Collection<String> getAccountIds()
Copyright © 2023. All rights reserved.