com.pulumi.aws.securitylake.outputs.SubscriberSourceAwsLogSourceResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.securitylake.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SubscriberSourceAwsLogSourceResource {
/**
* @return The name for a third-party custom source. This must be a Regionally unique value.
*
*/
private String sourceName;
/**
* @return The version for a third-party custom source. This must be a Regionally unique value.
*
*/
private @Nullable String sourceVersion;
private SubscriberSourceAwsLogSourceResource() {}
/**
* @return The name for a third-party custom source. This must be a Regionally unique value.
*
*/
public String sourceName() {
return this.sourceName;
}
/**
* @return The version for a third-party custom source. This must be a Regionally unique value.
*
*/
public Optional sourceVersion() {
return Optional.ofNullable(this.sourceVersion);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SubscriberSourceAwsLogSourceResource defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String sourceName;
private @Nullable String sourceVersion;
public Builder() {}
public Builder(SubscriberSourceAwsLogSourceResource defaults) {
Objects.requireNonNull(defaults);
this.sourceName = defaults.sourceName;
this.sourceVersion = defaults.sourceVersion;
}
@CustomType.Setter
public Builder sourceName(String sourceName) {
if (sourceName == null) {
throw new MissingRequiredPropertyException("SubscriberSourceAwsLogSourceResource", "sourceName");
}
this.sourceName = sourceName;
return this;
}
@CustomType.Setter
public Builder sourceVersion(@Nullable String sourceVersion) {
this.sourceVersion = sourceVersion;
return this;
}
public SubscriberSourceAwsLogSourceResource build() {
final var _resultValue = new SubscriberSourceAwsLogSourceResource();
_resultValue.sourceName = sourceName;
_resultValue.sourceVersion = sourceVersion;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy