com.pulumi.azurenative.datafactory.outputs.MapperPolicyRecurrenceResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.datafactory.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class MapperPolicyRecurrenceResponse {
/**
* @return Frequency of period in terms of 'Hour', 'Minute' or 'Second'.
*
*/
private @Nullable String frequency;
/**
* @return Actual interval value as per chosen frequency.
*
*/
private @Nullable Integer interval;
private MapperPolicyRecurrenceResponse() {}
/**
* @return Frequency of period in terms of 'Hour', 'Minute' or 'Second'.
*
*/
public Optional frequency() {
return Optional.ofNullable(this.frequency);
}
/**
* @return Actual interval value as per chosen frequency.
*
*/
public Optional interval() {
return Optional.ofNullable(this.interval);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MapperPolicyRecurrenceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String frequency;
private @Nullable Integer interval;
public Builder() {}
public Builder(MapperPolicyRecurrenceResponse defaults) {
Objects.requireNonNull(defaults);
this.frequency = defaults.frequency;
this.interval = defaults.interval;
}
@CustomType.Setter
public Builder frequency(@Nullable String frequency) {
this.frequency = frequency;
return this;
}
@CustomType.Setter
public Builder interval(@Nullable Integer interval) {
this.interval = interval;
return this;
}
public MapperPolicyRecurrenceResponse build() {
final var _resultValue = new MapperPolicyRecurrenceResponse();
_resultValue.frequency = frequency;
_resultValue.interval = interval;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy