com.pulumi.aws.securitylake.outputs.CustomLogSourceProviderDetail 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;
@CustomType
public final class CustomLogSourceProviderDetail {
/**
* @return The location of the partition in the Amazon S3 bucket for Security Lake.
*
*/
private String location;
/**
* @return The ARN of the IAM role to be used by the entity putting logs into your custom source partition.
*
*/
private String roleArn;
private CustomLogSourceProviderDetail() {}
/**
* @return The location of the partition in the Amazon S3 bucket for Security Lake.
*
*/
public String location() {
return this.location;
}
/**
* @return The ARN of the IAM role to be used by the entity putting logs into your custom source partition.
*
*/
public String roleArn() {
return this.roleArn;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CustomLogSourceProviderDetail defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String location;
private String roleArn;
public Builder() {}
public Builder(CustomLogSourceProviderDetail defaults) {
Objects.requireNonNull(defaults);
this.location = defaults.location;
this.roleArn = defaults.roleArn;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("CustomLogSourceProviderDetail", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder roleArn(String roleArn) {
if (roleArn == null) {
throw new MissingRequiredPropertyException("CustomLogSourceProviderDetail", "roleArn");
}
this.roleArn = roleArn;
return this;
}
public CustomLogSourceProviderDetail build() {
final var _resultValue = new CustomLogSourceProviderDetail();
_resultValue.location = location;
_resultValue.roleArn = roleArn;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy