Class SGEntity.Builder
- java.lang.Object
-
- software.aws.awsprototypingsdk.cdkgraph.SGEntity.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SGEntity.Builderattributes(Map<String,? extends Object> attributes)Sets the value ofSGEntity.getAttributes()SGEntitybuild()Builds the configured instance.SGEntity.Builderflags(List<? extends FlagEnum> flags)Sets the value ofSGEntity.getFlags()SGEntity.Buildermetadata(List<? extends software.constructs.MetadataEntry> metadata)Sets the value ofSGEntity.getMetadata()SGEntity.Buildertags(Map<String,String> tags)Sets the value ofSGEntity.getTags()SGEntity.Builderuuid(String uuid)Sets the value ofSGEntity.getUuid()
-
-
-
Method Detail
-
uuid
@Stability(Experimental) public SGEntity.Builder uuid(String uuid)
Sets the value ofSGEntity.getUuid()- Parameters:
uuid- Universally unique identity. This parameter is required.- Returns:
this
-
attributes
@Stability(Experimental) public SGEntity.Builder attributes(Map<String,? extends Object> attributes)
Sets the value ofSGEntity.getAttributes()- Parameters:
attributes- Serializable entity attributes.- Returns:
this
-
flags
@Stability(Experimental) public SGEntity.Builder flags(List<? extends FlagEnum> flags)
Sets the value ofSGEntity.getFlags()- Parameters:
flags- Serializable entity flags.- Returns:
this
-
metadata
@Stability(Experimental) public SGEntity.Builder metadata(List<? extends software.constructs.MetadataEntry> metadata)
Sets the value ofSGEntity.getMetadata()- Parameters:
metadata- Serializable entity metadata.- Returns:
this
-
tags
@Stability(Experimental) public SGEntity.Builder tags(Map<String,String> tags)
Sets the value ofSGEntity.getTags()- Parameters:
tags- Serializable entity tags.- Returns:
this
-
build
@Stability(Experimental) public SGEntity build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SGEntity>- Returns:
- a new instance of
SGEntity - Throws:
NullPointerException- if any required attribute was not provided
-
-