Class KeyIdentityByCRN.Builder

java.lang.Object
com.ibm.cloud.is.vpc.v1.model.KeyIdentityByCRN.Builder
Enclosing class:
KeyIdentityByCRN

public static class KeyIdentityByCRN.Builder extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder(KeyIdentity keyIdentityByCrn)
      Instantiates a new Builder from an existing KeyIdentityByCRN instance.
      Parameters:
      keyIdentityByCrn - the instance to initialize the Builder with
    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder(String crn)
      Instantiates a new builder with required properties.
      Parameters:
      crn - the crn
  • Method Details

    • build

      public KeyIdentityByCRN build()
      Builds a KeyIdentityByCRN.
      Returns:
      the new KeyIdentityByCRN instance
    • crn

      public KeyIdentityByCRN.Builder crn(String crn)
      Set the crn.
      Parameters:
      crn - the crn
      Returns:
      the KeyIdentityByCRN builder