Class AviConnectionInfo.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of AviConnectionInfo.
    • Method Detail

      • setCertificate

        public AviConnectionInfo.Builder setCertificate​(java.lang.String certificate)
        Certificate used when on-borading workflow created by LCM/VCF.
        Parameters:
        certificate - New value for the property.
      • setCloud

        public AviConnectionInfo.Builder setCloud​(java.lang.String cloud)
        Clouds are containers for the environment that Avi Vantage is installed or operating within. During initial setup of Vantage, a default cloud, named Default-Cloud, is created. This is where the first Controller is deployed, into Default-Cloud. Additional clouds may be added, containing SEs and virtual services. This is a deprecated property. Cloud has been renamed to cloud_name and it will added from specific ALB entity.
        Parameters:
        cloud - New value for the property.
      • setExpiresAt

        public AviConnectionInfo.Builder setExpiresAt​(java.lang.String expiresAt)
        Expiry time of the token will be set by LCM at the time of Enforcement Point Creation.
        Parameters:
        expiresAt - New value for the property.
      • setIsDefaultCert

        public AviConnectionInfo.Builder setIsDefaultCert​(java.lang.Boolean isDefaultCert)
        Advanced Load Balancer controller using default portal certificate.
        Parameters:
        isDefaultCert - New value for the property.
      • setManagedBy

        public AviConnectionInfo.Builder setManagedBy​(java.lang.String managedBy)
        Managed by used when on-borading workflow created by LCM/VCF.
        Parameters:
        managedBy - New value for the property.
      • setPassword

        public AviConnectionInfo.Builder setPassword​(java.lang.String password)
        Password or Token for Avi Controller.
        Parameters:
        password - New value for the property.
      • setTenant

        public AviConnectionInfo.Builder setTenant​(java.lang.String tenant)
        A tenant is an isolated instance of Avi Controller. Each Avi user account is associated with one or more tenants. The tenant associated with a user account defines the resources that user can access within Avi Vantage. When a user logs in, Avi restricts their access to only those resources that are in the same tenant
        Parameters:
        tenant - New value for the property.
      • setThumbprint

        public AviConnectionInfo.Builder setThumbprint​(java.lang.String thumbprint)
        Thumbprint of EnforcementPoint in the form of a SHA-256 hash represented in lower case HEX.
        Parameters:
        thumbprint - New value for the property.
      • setUsername

        public AviConnectionInfo.Builder setUsername​(java.lang.String username)
        Username.
        Parameters:
        username - New value for the property.
      • setVersion

        public AviConnectionInfo.Builder setVersion​(java.lang.String version)
        Avi supports API versioning for backward compatibility with automation scripts written for an object model older than the current one. Such scripts need not be updated to keep up with object model changes This is a deprecated property. The version is now auto populated from property file and its value can be read using APIs
        Parameters:
        version - New value for the property.
      • setEnforcementPointAddress

        public AviConnectionInfo.Builder setEnforcementPointAddress​(java.lang.String enforcementPointAddress)
        Value of this property could be Hostname or IP. For instance: - On an NSX-T MP running on default port, the value could be \"10.192.1.1\" - On an NSX-T MP running on custom port, the value could be \"192.168.1.1:32789\" - On an NSX-T MP in VMC deployments, the value could be \"192.168.1.1:5480/nsxapi\"
        Parameters:
        enforcementPointAddress - New value for the property.