Class SmithyServiceName.Builder
- java.lang.Object
-
- software.aws.awsprototypingsdk.openapigateway.SmithyServiceName.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SmithyServiceName>
- Enclosing interface:
- SmithyServiceName
@Stability(Experimental) public static final class SmithyServiceName.Builder extends Object implements software.amazon.jsii.Builder<SmithyServiceName>
A builder forSmithyServiceName
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SmithyServiceNamebuild()Builds the configured instance.SmithyServiceName.Buildernamespace(String namespace)Sets the value ofSmithyServiceName.getNamespace()SmithyServiceName.BuilderserviceName(String serviceName)Sets the value ofSmithyServiceName.getServiceName()
-
-
-
Method Detail
-
namespace
@Stability(Experimental) public SmithyServiceName.Builder namespace(String namespace)
Sets the value ofSmithyServiceName.getNamespace()- Parameters:
namespace- The service namespace. This parameter is required. Nested namespaces are separated by '.', for example com.company- Returns:
this
-
serviceName
@Stability(Experimental) public SmithyServiceName.Builder serviceName(String serviceName)
Sets the value ofSmithyServiceName.getServiceName()- Parameters:
serviceName- The service name. This parameter is required. Should be PascalCase, for example HelloService- Returns:
this
-
build
@Stability(Experimental) public SmithyServiceName build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SmithyServiceName>- Returns:
- a new instance of
SmithyServiceName - Throws:
NullPointerException- if any required attribute was not provided
-
-