/** * A container for the differences between desired and existing files. */ @Builder @ToString protected static class DiffPathSet { /** Desired files that don't exist on target */ @Singular(value = "copyFile") Collection<FileStatus> filesToCopy; /** Files in target that are not desired */ @Singular(value = "deleteFile") Collection<Path> pathsToDelete; }
@Singular private Set<Consumer<CreateNetworkCmd>> createNetworkCmdModifiers;
@Singular private final List<RetentionAction> retentionActions;
@Singular private List<String> paths;
protected final HiveTable table; protected final Optional<HivePartition> partition; @Singular @Getter protected final Collection<Activity> preActivities; @Singular @Getter protected final Collection<Activity> postActivities; @Singular @Getter protected final Collection<Predicate<HiveRegister>> predicates;
private String destinationCluster; private String azkabanExecutionUrl; @Singular("additionalMetadata") private Map<String, String> additionalMetadata;
@Singular(value = "metadata") private Map<String, String> additionalMetadata;
public static void _multiTest(@Singular("threads") Set<Integer> threads, @Singular("depth") Set<Integer> depth, @Singular("forkAtDepth") Set<Integer> forkAtDepth, @Singular("counters") Set<Integer> counters, @Singular("meters") Set<Integer> meters, @Singular("histograms") Set<Integer> histograms, @Singular("timers") Set<Integer> timers, long queries, String name) throws Exception {
@Builder @Data public class GraphiteNamedAccountCredentials implements AccountCredentials<GraphiteCredentials> { @NotNull private String name; @NotNull @Singular private List<Type> supportedTypes; @NotNull private GraphiteCredentials credentials; @NotNull private RemoteService endpoint; @Override public String getType() { return GraphiteCanaryMetricSetQueryConfig.SERVICE_TYPE; } @JsonIgnore GraphiteRemoteService graphiteRemoteService; }
@Builder @Data public class PrometheusNamedAccountCredentials implements AccountCredentials<PrometheusCredentials> { @NotNull private String name; @NotNull @Singular private List<Type> supportedTypes; @NotNull private PrometheusCredentials credentials; // The prometheus server location. @NotNull private RemoteService endpoint; @Override public String getType() { return "prometheus"; } @JsonIgnore PrometheusRemoteService prometheusRemoteService; }
@Builder @Data public class MemoryNamedAccountCredentials implements AccountCredentials<MemoryAccountCredentials> { @NotNull private String name; @NotNull @Singular private List<Type> supportedTypes; @NotNull private MemoryAccountCredentials credentials; @NotNull private Map<ObjectType, Map<String, Object>> objects; @NotNull private Map<ObjectType, Map<String, Map<String, Object>>> metadata; @Override public String getType() { return "memory"; } }
@Builder @Data public class SignalFxNamedAccountCredentials implements AccountCredentials<SignalFxCredentials> { @NotNull private String name; @NotNull @Singular private List<Type> supportedTypes; @NotNull private SignalFxCredentials credentials; @NotNull private RemoteService endpoint; @Override public String getType() { return "signalfx"; } @JsonIgnore SignalFxSignalFlowRemoteService signalFlowService; }
@Builder @Data public class DatadogNamedAccountCredentials implements AccountCredentials<DatadogCredentials> { @NotNull private String name; @NotNull @Singular private List<Type> supportedTypes; @NotNull private DatadogCredentials credentials; @NotNull private RemoteService endpoint; @Override public String getType() { return "datadog"; } @JsonIgnore DatadogRemoteService datadogRemoteService; }
@Builder @Data public class InfluxDbNamedAccountCredentials implements AccountCredentials<InfluxdbCredentials> { @NotNull private String name; @NotNull @Singular private List<Type> supportedTypes; @NotNull private InfluxdbCredentials credentials; @NotNull private RemoteService endpoint; @Override public String getType() { return InfluxdbCanaryMetricSetQueryConfig.SERVICE_TYPE; } @JsonIgnore InfluxDbRemoteService influxDbRemoteService; }
@Builder @Data public class NewRelicNamedAccountCredentials implements AccountCredentials<NewRelicCredentials> { @NotNull private String name; @NotNull @Singular private List<Type> supportedTypes; @NotNull private NewRelicCredentials credentials; @NotNull private RemoteService endpoint; @Override public String getType() { return "newrelic"; } @JsonIgnore NewRelicRemoteService newRelicRemoteService; }
@Builder @Data public class AwsNamedAccountCredentials implements AccountCredentials<AwsCredentials> { @NotNull private String name; @NotNull @Singular private List<Type> supportedTypes; @NotNull private AwsCredentials credentials; private String bucket; private String region; private String rootFolder; @Override public String getType() { return "aws"; } @JsonIgnore private AmazonS3 amazonS3; }
@Singular private List<Type> supportedTypes;
@Singular private List<Type> supportedTypes;