Package com.ibm.cloud.is.vpc.v1.model
Class CreateImageExportJobOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.CreateImageExportJobOptions.Builder
-
- Enclosing class:
- CreateImageExportJobOptions
public static class CreateImageExportJobOptions.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(String imageId, CloudObjectStorageBucketIdentity storageBucket)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateImageExportJobOptions
build()
Builds a CreateImageExportJobOptions.CreateImageExportJobOptions.Builder
format(String format)
Set the format.CreateImageExportJobOptions.Builder
imageId(String imageId)
Set the imageId.CreateImageExportJobOptions.Builder
name(String name)
Set the name.CreateImageExportJobOptions.Builder
storageBucket(CloudObjectStorageBucketIdentity storageBucket)
Set the storageBucket.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String imageId, CloudObjectStorageBucketIdentity storageBucket)
Instantiates a new builder with required properties.- Parameters:
imageId
- the imageIdstorageBucket
- the storageBucket
-
-
Method Detail
-
build
public CreateImageExportJobOptions build()
Builds a CreateImageExportJobOptions.- Returns:
- the new CreateImageExportJobOptions instance
-
imageId
public CreateImageExportJobOptions.Builder imageId(String imageId)
Set the imageId.- Parameters:
imageId
- the imageId- Returns:
- the CreateImageExportJobOptions builder
-
storageBucket
public CreateImageExportJobOptions.Builder storageBucket(CloudObjectStorageBucketIdentity storageBucket)
Set the storageBucket.- Parameters:
storageBucket
- the storageBucket- Returns:
- the CreateImageExportJobOptions builder
-
format
public CreateImageExportJobOptions.Builder format(String format)
Set the format.- Parameters:
format
- the format- Returns:
- the CreateImageExportJobOptions builder
-
name
public CreateImageExportJobOptions.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the CreateImageExportJobOptions builder
-
-