Class HttpAttribute.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.HttpAttribute.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpAttribute>
- Enclosing interface:
HttpAttribute
@Stability(Stable)
public static final class HttpAttribute.Builder
extends Object
implements software.amazon.jsii.Builder<HttpAttribute>
A builder for
HttpAttribute-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofHttpAttribute.getName()Sets the value ofHttpAttribute.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofHttpAttribute.getName()- Parameters:
name- The name of the Http endpoint common attribute. This parameter is required.- Returns:
this
-
value
Sets the value ofHttpAttribute.getValue()- Parameters:
value- The value of the Http endpoint common attribute. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HttpAttribute>- Returns:
- a new instance of
HttpAttribute - Throws:
NullPointerException- if any required attribute was not provided
-