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