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