
com.pulumi.aws.ecs.outputs.ServiceServiceConnectConfigurationLogConfigurationSecretOption Maven / Gradle / Ivy
// *** 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.ecs.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ServiceServiceConnectConfigurationLogConfigurationSecretOption {
/**
* @return Name of the secret.
*
*/
private String name;
/**
* @return Secret to expose to the container. The supported values are either the full ARN of the AWS Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.
*
*/
private String valueFrom;
private ServiceServiceConnectConfigurationLogConfigurationSecretOption() {}
/**
* @return Name of the secret.
*
*/
public String name() {
return this.name;
}
/**
* @return Secret to expose to the container. The supported values are either the full ARN of the AWS Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.
*
*/
public String valueFrom() {
return this.valueFrom;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ServiceServiceConnectConfigurationLogConfigurationSecretOption defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String name;
private String valueFrom;
public Builder() {}
public Builder(ServiceServiceConnectConfigurationLogConfigurationSecretOption defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.valueFrom = defaults.valueFrom;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("ServiceServiceConnectConfigurationLogConfigurationSecretOption", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder valueFrom(String valueFrom) {
if (valueFrom == null) {
throw new MissingRequiredPropertyException("ServiceServiceConnectConfigurationLogConfigurationSecretOption", "valueFrom");
}
this.valueFrom = valueFrom;
return this;
}
public ServiceServiceConnectConfigurationLogConfigurationSecretOption build() {
final var _resultValue = new ServiceServiceConnectConfigurationLogConfigurationSecretOption();
_resultValue.name = name;
_resultValue.valueFrom = valueFrom;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy