Package com.ibm.cloud.is.vpc.v1.model
Class ListImagesOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.ListImagesOptions.Builder
-
- Enclosing class:
- ListImagesOptions
public static class ListImagesOptions.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 ListImagesOptions.Builder
addStatus(String status)
Adds a new element to status.ListImagesOptions.Builder
addUserDataFormat(String userDataFormat)
Adds a new element to userDataFormat.ListImagesOptions
build()
Builds a ListImagesOptions.ListImagesOptions.Builder
limit(long limit)
Set the limit.ListImagesOptions.Builder
name(String name)
Set the name.ListImagesOptions.Builder
resourceGroupId(String resourceGroupId)
Set the resourceGroupId.ListImagesOptions.Builder
start(String start)
Set the start.ListImagesOptions.Builder
status(List<String> status)
Set the status.ListImagesOptions.Builder
userDataFormat(List<String> userDataFormat)
Set the userDataFormat.ListImagesOptions.Builder
visibility(String visibility)
Set the visibility.
-
-
-
Method Detail
-
build
public ListImagesOptions build()
Builds a ListImagesOptions.- Returns:
- the new ListImagesOptions instance
-
addStatus
public ListImagesOptions.Builder addStatus(String status)
Adds a new element to status.- Parameters:
status
- the new element to be added- Returns:
- the ListImagesOptions builder
-
addUserDataFormat
public ListImagesOptions.Builder addUserDataFormat(String userDataFormat)
Adds a new element to userDataFormat.- Parameters:
userDataFormat
- the new element to be added- Returns:
- the ListImagesOptions builder
-
start
public ListImagesOptions.Builder start(String start)
Set the start.- Parameters:
start
- the start- Returns:
- the ListImagesOptions builder
-
limit
public ListImagesOptions.Builder limit(long limit)
Set the limit.- Parameters:
limit
- the limit- Returns:
- the ListImagesOptions builder
-
resourceGroupId
public ListImagesOptions.Builder resourceGroupId(String resourceGroupId)
Set the resourceGroupId.- Parameters:
resourceGroupId
- the resourceGroupId- Returns:
- the ListImagesOptions builder
-
name
public ListImagesOptions.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the ListImagesOptions builder
-
status
public ListImagesOptions.Builder status(List<String> status)
Set the status. Existing status will be replaced.- Parameters:
status
- the status- Returns:
- the ListImagesOptions builder
-
visibility
public ListImagesOptions.Builder visibility(String visibility)
Set the visibility.- Parameters:
visibility
- the visibility- Returns:
- the ListImagesOptions builder
-
userDataFormat
public ListImagesOptions.Builder userDataFormat(List<String> userDataFormat)
Set the userDataFormat. Existing userDataFormat will be replaced.- Parameters:
userDataFormat
- the userDataFormat- Returns:
- the ListImagesOptions builder
-
-