Class ApiCacheReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.appsync.ApiCacheReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApiCacheReference>
- Enclosing interface:
ApiCacheReference
@Stability(Stable)
public static final class ApiCacheReference.Builder
extends Object
implements software.amazon.jsii.Builder<ApiCacheReference>
A builder for
ApiCacheReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiCacheId(String apiCacheId) Sets the value ofApiCacheReference.getApiCacheId()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiCacheId
Sets the value ofApiCacheReference.getApiCacheId()- Parameters:
apiCacheId- The Id of the ApiCache resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApiCacheReference>- Returns:
- a new instance of
ApiCacheReference - Throws:
NullPointerException- if any required attribute was not provided
-