Class CreateGatewayCompletionNoticeOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.direct_link.v1.model.CreateGatewayCompletionNoticeOptions.Builder
-
- Enclosing class:
- CreateGatewayCompletionNoticeOptions
public static class CreateGatewayCompletionNoticeOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateGatewayCompletionNoticeOptionsbuild()Builds a CreateGatewayCompletionNoticeOptions.CreateGatewayCompletionNoticeOptions.Builderid(String id)Set the id.CreateGatewayCompletionNoticeOptions.Builderupload(File upload)Set the upload.CreateGatewayCompletionNoticeOptions.Builderupload(InputStream upload)Set the upload.CreateGatewayCompletionNoticeOptions.BuilderuploadContentType(String uploadContentType)Set the uploadContentType.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String id)
Instantiates a new builder with required properties.- Parameters:
id- the id
-
-
Method Detail
-
build
public CreateGatewayCompletionNoticeOptions build()
Builds a CreateGatewayCompletionNoticeOptions.- Returns:
- the new CreateGatewayCompletionNoticeOptions instance
-
id
public CreateGatewayCompletionNoticeOptions.Builder id(String id)
Set the id.- Parameters:
id- the id- Returns:
- the CreateGatewayCompletionNoticeOptions builder
-
upload
public CreateGatewayCompletionNoticeOptions.Builder upload(InputStream upload)
Set the upload.- Parameters:
upload- the upload- Returns:
- the CreateGatewayCompletionNoticeOptions builder
-
uploadContentType
public CreateGatewayCompletionNoticeOptions.Builder uploadContentType(String uploadContentType)
Set the uploadContentType.- Parameters:
uploadContentType- the uploadContentType- Returns:
- the CreateGatewayCompletionNoticeOptions builder
-
upload
public CreateGatewayCompletionNoticeOptions.Builder upload(File upload) throws FileNotFoundException
Set the upload.- Parameters:
upload- the upload- Returns:
- the CreateGatewayCompletionNoticeOptions builder
- Throws:
FileNotFoundException- if the file could not be found
-
-