Package com.ibm.cloud.is.vpc.v1.model
Class ListVolumesOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.ListVolumesOptions.Builder
-
- Enclosing class:
- ListVolumesOptions
public static class ListVolumesOptions.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 ListVolumesOptions.BuilderattachmentState(String attachmentState)Set the attachmentState.ListVolumesOptionsbuild()Builds a ListVolumesOptions.ListVolumesOptions.Builderencryption(String encryption)Set the encryption.ListVolumesOptions.Builderlimit(long limit)Set the limit.ListVolumesOptions.Buildername(String name)Set the name.ListVolumesOptions.BuilderoperatingSystemArchitecture(String operatingSystemArchitecture)Set the operatingSystemArchitecture.ListVolumesOptions.BuilderoperatingSystemFamily(String operatingSystemFamily)Set the operatingSystemFamily.ListVolumesOptions.Builderstart(String start)Set the start.ListVolumesOptions.BuilderzoneName(String zoneName)Set the zoneName.
-
-
-
Method Detail
-
build
public ListVolumesOptions build()
Builds a ListVolumesOptions.- Returns:
- the new ListVolumesOptions instance
-
start
public ListVolumesOptions.Builder start(String start)
Set the start.- Parameters:
start- the start- Returns:
- the ListVolumesOptions builder
-
limit
public ListVolumesOptions.Builder limit(long limit)
Set the limit.- Parameters:
limit- the limit- Returns:
- the ListVolumesOptions builder
-
name
public ListVolumesOptions.Builder name(String name)
Set the name.- Parameters:
name- the name- Returns:
- the ListVolumesOptions builder
-
attachmentState
public ListVolumesOptions.Builder attachmentState(String attachmentState)
Set the attachmentState.- Parameters:
attachmentState- the attachmentState- Returns:
- the ListVolumesOptions builder
-
encryption
public ListVolumesOptions.Builder encryption(String encryption)
Set the encryption.- Parameters:
encryption- the encryption- Returns:
- the ListVolumesOptions builder
-
operatingSystemFamily
public ListVolumesOptions.Builder operatingSystemFamily(String operatingSystemFamily)
Set the operatingSystemFamily.- Parameters:
operatingSystemFamily- the operatingSystemFamily- Returns:
- the ListVolumesOptions builder
-
operatingSystemArchitecture
public ListVolumesOptions.Builder operatingSystemArchitecture(String operatingSystemArchitecture)
Set the operatingSystemArchitecture.- Parameters:
operatingSystemArchitecture- the operatingSystemArchitecture- Returns:
- the ListVolumesOptions builder
-
zoneName
public ListVolumesOptions.Builder zoneName(String zoneName)
Set the zoneName.- Parameters:
zoneName- the zoneName- Returns:
- the ListVolumesOptions builder
-
-