Class AssetPartReference.Builder
- java.lang.Object
-
- com.ibm.cloud.dph_services.dph.v1.model.AssetPartReference.Builder
-
- Enclosing class:
- AssetPartReference
public static class AssetPartReference.Builder extends java.lang.Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(ContainerReference container)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetPartReference
build()
Builds a AssetPartReference.AssetPartReference.Builder
container(ContainerReference container)
Set the container.AssetPartReference.Builder
id(java.lang.String id)
Set the id.AssetPartReference.Builder
type(java.lang.String type)
Set the type.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(ContainerReference container)
Instantiates a new builder with required properties.- Parameters:
container
- the container
-
-
Method Detail
-
build
public AssetPartReference build()
Builds a AssetPartReference.- Returns:
- the new AssetPartReference instance
-
id
public AssetPartReference.Builder id(java.lang.String id)
Set the id.- Parameters:
id
- the id- Returns:
- the AssetPartReference builder
-
container
public AssetPartReference.Builder container(ContainerReference container)
Set the container.- Parameters:
container
- the container- Returns:
- the AssetPartReference builder
-
type
public AssetPartReference.Builder type(java.lang.String type)
Set the type.- Parameters:
type
- the type- Returns:
- the AssetPartReference builder
-
-