com.pulumi.aws.ecs.inputs.ClusterServiceConnectDefaultsArgs 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.
The newest version!
// *** 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class ClusterServiceConnectDefaultsArgs extends com.pulumi.resources.ResourceArgs {
public static final ClusterServiceConnectDefaultsArgs Empty = new ClusterServiceConnectDefaultsArgs();
/**
* ARN of the `aws.servicediscovery.HttpNamespace` that's used when you create a service and don't specify a Service Connect configuration.
*
*/
@Import(name="namespace", required=true)
private Output namespace;
/**
* @return ARN of the `aws.servicediscovery.HttpNamespace` that's used when you create a service and don't specify a Service Connect configuration.
*
*/
public Output namespace() {
return this.namespace;
}
private ClusterServiceConnectDefaultsArgs() {}
private ClusterServiceConnectDefaultsArgs(ClusterServiceConnectDefaultsArgs $) {
this.namespace = $.namespace;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClusterServiceConnectDefaultsArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ClusterServiceConnectDefaultsArgs $;
public Builder() {
$ = new ClusterServiceConnectDefaultsArgs();
}
public Builder(ClusterServiceConnectDefaultsArgs defaults) {
$ = new ClusterServiceConnectDefaultsArgs(Objects.requireNonNull(defaults));
}
/**
* @param namespace ARN of the `aws.servicediscovery.HttpNamespace` that's used when you create a service and don't specify a Service Connect configuration.
*
* @return builder
*
*/
public Builder namespace(Output namespace) {
$.namespace = namespace;
return this;
}
/**
* @param namespace ARN of the `aws.servicediscovery.HttpNamespace` that's used when you create a service and don't specify a Service Connect configuration.
*
* @return builder
*
*/
public Builder namespace(String namespace) {
return namespace(Output.of(namespace));
}
public ClusterServiceConnectDefaultsArgs build() {
if ($.namespace == null) {
throw new MissingRequiredPropertyException("ClusterServiceConnectDefaultsArgs", "namespace");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy