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 SummaryAll 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- 
Builderpublic Builder() Instantiates a new builder.
 - 
Builderpublic Builder(String id) Instantiates a new builder with required properties.- Parameters:
- id- the id
 
 
- 
 - 
Method Detail- 
buildpublic CreateGatewayCompletionNoticeOptions build() Builds a CreateGatewayCompletionNoticeOptions.- Returns:
- the new CreateGatewayCompletionNoticeOptions instance
 
 - 
idpublic CreateGatewayCompletionNoticeOptions.Builder id(String id) Set the id.- Parameters:
- id- the id
- Returns:
- the CreateGatewayCompletionNoticeOptions builder
 
 - 
uploadpublic CreateGatewayCompletionNoticeOptions.Builder upload(InputStream upload) Set the upload.- Parameters:
- upload- the upload
- Returns:
- the CreateGatewayCompletionNoticeOptions builder
 
 - 
uploadContentTypepublic CreateGatewayCompletionNoticeOptions.Builder uploadContentType(String uploadContentType) Set the uploadContentType.- Parameters:
- uploadContentType- the uploadContentType
- Returns:
- the CreateGatewayCompletionNoticeOptions builder
 
 - 
uploadpublic 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
 
 
- 
 
-