Class VpcInstanceAuthenticator.Builder

  • Enclosing class:
    VpcInstanceAuthenticator

    public static class VpcInstanceAuthenticator.Builder
    extends java.lang.Object
    This Builder class is used to construct IamAuthenticator instances.
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • build

        public VpcInstanceAuthenticator build()
        Constructs a new instance of IamAuthenticator from the builder's configuration.
        Returns:
        the IamAuthenticator instance
      • iamProfileCrn

        public VpcInstanceAuthenticator.Builder iamProfileCrn​(java.lang.String iamProfileCrn)
        Sets the iamProfileCrn property.
        Parameters:
        iamProfileCrn - the CRN of the linked trusted IAM profile to be used as the identity of the compute resource. At most one of iamProfileCrn or iamProfileId may be specified. If neither one is specified, then the default IAM profile defined for the compute resource will be used.
        Returns:
        the Builder
      • iamProfileId

        public VpcInstanceAuthenticator.Builder iamProfileId​(java.lang.String iamProfileId)
        Sets the iamProfileId property.
        Parameters:
        iamProfileId - the id of the linked trusted IAM profile to be used as the identity of the compute resource. At most one of iamProfileCrn or iamProfileId may be specified. If neither one is specified, then the default IAM profile defined for the compute resource will be used.
        Returns:
        the Builder
      • url

        public VpcInstanceAuthenticator.Builder url​(java.lang.String url)
        Sets the url property.
        Parameters:
        url - the base url to use with the IAM token service
        Returns:
        the Builder