Class SyncConfigurationReference.Builder
java.lang.Object
software.amazon.awscdk.services.codestarconnections.SyncConfigurationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SyncConfigurationReference>
- Enclosing interface:
SyncConfigurationReference
@Stability(Stable)
public static final class SyncConfigurationReference.Builder
extends Object
implements software.amazon.jsii.Builder<SyncConfigurationReference>
A builder for
SyncConfigurationReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resourceName(String resourceName) Sets the value ofSyncConfigurationReference.getResourceName()Sets the value ofSyncConfigurationReference.getSyncType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceName
Sets the value ofSyncConfigurationReference.getResourceName()- Parameters:
resourceName- The ResourceName of the SyncConfiguration resource. This parameter is required.- Returns:
this
-
syncType
Sets the value ofSyncConfigurationReference.getSyncType()- Parameters:
syncType- The SyncType of the SyncConfiguration resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SyncConfigurationReference>- Returns:
- a new instance of
SyncConfigurationReference - Throws:
NullPointerException- if any required attribute was not provided
-