Package com.ibm.cloud.is.vpc.v1.model
Class ImagePatch.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.ImagePatch.Builder
-
- Enclosing class:
- ImagePatch
public static class ImagePatch.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImagePatchbuild()Builds a ImagePatch.ImagePatch.BuilderdeprecationAt(Date deprecationAt)Set the deprecationAt.ImagePatch.Buildername(String name)Set the name.ImagePatch.BuilderobsolescenceAt(Date obsolescenceAt)Set the obsolescenceAt.
-
-
-
Method Detail
-
build
public ImagePatch build()
Builds a ImagePatch.- Returns:
- the new ImagePatch instance
-
deprecationAt
public ImagePatch.Builder deprecationAt(Date deprecationAt)
Set the deprecationAt.- Parameters:
deprecationAt- the deprecationAt- Returns:
- the ImagePatch builder
-
name
public ImagePatch.Builder name(String name)
Set the name.- Parameters:
name- the name- Returns:
- the ImagePatch builder
-
obsolescenceAt
public ImagePatch.Builder obsolescenceAt(Date obsolescenceAt)
Set the obsolescenceAt.- Parameters:
obsolescenceAt- the obsolescenceAt- Returns:
- the ImagePatch builder
-
-