Class HttpNamespaceReference.Builder
java.lang.Object
software.amazon.awscdk.services.servicediscovery.HttpNamespaceReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpNamespaceReference>
- Enclosing interface:
HttpNamespaceReference
@Stability(Stable)
public static final class HttpNamespaceReference.Builder
extends Object
implements software.amazon.jsii.Builder<HttpNamespaceReference>
A builder for
HttpNamespaceReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.httpNamespaceArn
(String httpNamespaceArn) Sets the value ofHttpNamespaceReference.getHttpNamespaceArn()
httpNamespaceId
(String httpNamespaceId) Sets the value ofHttpNamespaceReference.getHttpNamespaceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
httpNamespaceArn
Sets the value ofHttpNamespaceReference.getHttpNamespaceArn()
- Parameters:
httpNamespaceArn
- The ARN of the HttpNamespace resource. This parameter is required.- Returns:
this
-
httpNamespaceId
Sets the value ofHttpNamespaceReference.getHttpNamespaceId()
- Parameters:
httpNamespaceId
- The Id of the HttpNamespace resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<HttpNamespaceReference>
- Returns:
- a new instance of
HttpNamespaceReference
- Throws:
NullPointerException
- if any required attribute was not provided
-