Class OriginEndpointReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.mediapackage.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()originEndpointId(String originEndpointId) Sets the value ofOriginEndpointReference.getOriginEndpointId()
-
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
-
originEndpointId
Sets the value ofOriginEndpointReference.getOriginEndpointId()- Parameters:
originEndpointId- The Id of the OriginEndpoint resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OriginEndpointReference>- Returns:
- a new instance of
OriginEndpointReference - Throws:
NullPointerException- if any required attribute was not provided
-