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