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