Class CreateKeyOptions.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.CreateKeyOptions.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a CreateKeyOptions.Set the name.Set the publicKey.resourceGroup
(ResourceGroupIdentity resourceGroup) Set the resourceGroup.Set the type.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
publicKey
- the publicKey
-
-
Method Details
-
build
Builds a CreateKeyOptions.- Returns:
- the new CreateKeyOptions instance
-
publicKey
Set the publicKey.- Parameters:
publicKey
- the publicKey- Returns:
- the CreateKeyOptions builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the CreateKeyOptions builder
-
resourceGroup
Set the resourceGroup.- Parameters:
resourceGroup
- the resourceGroup- Returns:
- the CreateKeyOptions builder
-
type
Set the type.- Parameters:
type
- the type- Returns:
- the CreateKeyOptions builder
-