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 CreateGatewayCompletionNoticeOptions
build()
Builds a CreateGatewayCompletionNoticeOptions.CreateGatewayCompletionNoticeOptions.Builder
id(String id)
Set the id.CreateGatewayCompletionNoticeOptions.Builder
upload(File upload)
Set the upload.CreateGatewayCompletionNoticeOptions.Builder
upload(InputStream upload)
Set the upload.CreateGatewayCompletionNoticeOptions.Builder
uploadContentType(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
-
-