Class Tier1sStub

  • All Implemented Interfaces:
    Tier1s, Tier1sTypes, com.vmware.vapi.bindings.Service

    public class Tier1sStub
    extends com.vmware.vapi.internal.bindings.Stub
    implements Tier1s
    Remote stub implementation of the Tier1s API service.

    WARNING: Internal class, subject to change in future versions.

    • Field Summary

      • Fields inherited from class com.vmware.vapi.internal.bindings.Stub

        apiProvider, converter, ifaceId, retryPolicy, securityContext
    • Constructor Summary

      Constructors 
      Constructor Description
      Tier1sStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      Tier1sStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(java.lang.String tier1Id)
      Delete Tier-1 configuration
      void delete​(java.lang.String tier1Id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Delete Tier-1 configuration
      void delete​(java.lang.String tier1Id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete Tier-1 configuration
      void delete​(java.lang.String tier1Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete Tier-1 configuration
      Tier1 get​(java.lang.String tier1Id)
      Read Tier-1 configuration
      void get​(java.lang.String tier1Id, com.vmware.vapi.bindings.client.AsyncCallback<Tier1> asyncCallback)
      Read Tier-1 configuration
      void get​(java.lang.String tier1Id, com.vmware.vapi.bindings.client.AsyncCallback<Tier1> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Read Tier-1 configuration
      Tier1 get​(java.lang.String tier1Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Read Tier-1 configuration
      Tier1ListResult list​(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
      Paginated list of all Tier-1 instances
      void list​(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<Tier1ListResult> asyncCallback)
      Paginated list of all Tier-1 instances
      void list​(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<Tier1ListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Paginated list of all Tier-1 instances
      Tier1ListResult list​(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Paginated list of all Tier-1 instances
      void patch​(java.lang.String tier1Id, Tier1 tier1)
      If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance.
      void patch​(java.lang.String tier1Id, Tier1 tier1, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance.
      void patch​(java.lang.String tier1Id, Tier1 tier1, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance.
      void patch​(java.lang.String tier1Id, Tier1 tier1, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance.
      void reprocess​(java.lang.String tier1Id, java.lang.String enforcementPointPath)
      Reprocess Tier1 gateway configuration and configuration of related entities like Tier1 interfaces and static routes, etc.
      void reprocess​(java.lang.String tier1Id, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Reprocess Tier1 gateway configuration and configuration of related entities like Tier1 interfaces and static routes, etc.
      void reprocess​(java.lang.String tier1Id, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Reprocess Tier1 gateway configuration and configuration of related entities like Tier1 interfaces and static routes, etc.
      void reprocess​(java.lang.String tier1Id, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Reprocess Tier1 gateway configuration and configuration of related entities like Tier1 interfaces and static routes, etc.
      Tier1 update​(java.lang.String tier1Id, Tier1 tier1)
      If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance.
      void update​(java.lang.String tier1Id, Tier1 tier1, com.vmware.vapi.bindings.client.AsyncCallback<Tier1> asyncCallback)
      If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance.
      void update​(java.lang.String tier1Id, Tier1 tier1, com.vmware.vapi.bindings.client.AsyncCallback<Tier1> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance.
      Tier1 update​(java.lang.String tier1Id, Tier1 tier1, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance.
      • Methods inherited from class com.vmware.vapi.internal.bindings.Stub

        invokeMethod, invokeMethodAsync, invokeStreamMethod, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Tier1sStub

        public Tier1sStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                          com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
                          com.vmware.vapi.bindings.StubConfigurationBase config)
      • Tier1sStub

        public Tier1sStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                          com.vmware.vapi.bindings.StubConfigurationBase config)
    • Method Detail

      • delete

        public void delete​(java.lang.String tier1Id)
        Description copied from interface: Tier1s
        Delete Tier-1 configuration

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        delete in interface Tier1s
        Parameters:
        tier1Id - (required)
      • delete

        public void delete​(java.lang.String tier1Id,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier1s
        Delete Tier-1 configuration

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        delete in interface Tier1s
        Parameters:
        tier1Id - (required)
        invocationConfig - Configuration for the method invocation.
      • delete

        public void delete​(java.lang.String tier1Id,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: Tier1s
        Delete Tier-1 configuration

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        delete in interface Tier1s
        Parameters:
        tier1Id - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • delete

        public void delete​(java.lang.String tier1Id,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier1s
        Delete Tier-1 configuration

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        delete in interface Tier1s
        Parameters:
        tier1Id - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • get

        public Tier1 get​(java.lang.String tier1Id)
        Description copied from interface: Tier1s
        Read Tier-1 configuration

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        get in interface Tier1s
        Parameters:
        tier1Id - (required)
        Returns:
        com.vmware.nsx_policy.model.Tier1
      • get

        public Tier1 get​(java.lang.String tier1Id,
                         com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier1s
        Read Tier-1 configuration

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        get in interface Tier1s
        Parameters:
        tier1Id - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.Tier1
      • get

        public void get​(java.lang.String tier1Id,
                        com.vmware.vapi.bindings.client.AsyncCallback<Tier1> asyncCallback)
        Description copied from interface: Tier1s
        Read Tier-1 configuration

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.Tier1

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface Tier1s
        Parameters:
        tier1Id - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        public void get​(java.lang.String tier1Id,
                        com.vmware.vapi.bindings.client.AsyncCallback<Tier1> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier1s
        Read Tier-1 configuration

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.Tier1

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface Tier1s
        Parameters:
        tier1Id - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • list

        public Tier1ListResult list​(java.lang.String cursor,
                                    java.lang.Boolean includeMarkForDeleteObjects,
                                    java.lang.String includedFields,
                                    java.lang.Long pageSize,
                                    java.lang.Boolean sortAscending,
                                    java.lang.String sortBy)
        Description copied from interface: Tier1s
        Paginated list of all Tier-1 instances

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        list in interface Tier1s
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        Returns:
        com.vmware.nsx_policy.model.Tier1ListResult
      • list

        public Tier1ListResult list​(java.lang.String cursor,
                                    java.lang.Boolean includeMarkForDeleteObjects,
                                    java.lang.String includedFields,
                                    java.lang.Long pageSize,
                                    java.lang.Boolean sortAscending,
                                    java.lang.String sortBy,
                                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier1s
        Paginated list of all Tier-1 instances

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        list in interface Tier1s
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.Tier1ListResult
      • list

        public void list​(java.lang.String cursor,
                         java.lang.Boolean includeMarkForDeleteObjects,
                         java.lang.String includedFields,
                         java.lang.Long pageSize,
                         java.lang.Boolean sortAscending,
                         java.lang.String sortBy,
                         com.vmware.vapi.bindings.client.AsyncCallback<Tier1ListResult> asyncCallback)
        Description copied from interface: Tier1s
        Paginated list of all Tier-1 instances

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.Tier1ListResult

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        list in interface Tier1s
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • list

        public void list​(java.lang.String cursor,
                         java.lang.Boolean includeMarkForDeleteObjects,
                         java.lang.String includedFields,
                         java.lang.Long pageSize,
                         java.lang.Boolean sortAscending,
                         java.lang.String sortBy,
                         com.vmware.vapi.bindings.client.AsyncCallback<Tier1ListResult> asyncCallback,
                         com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier1s
        Paginated list of all Tier-1 instances

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.Tier1ListResult

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        list in interface Tier1s
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • patch

        public void patch​(java.lang.String tier1Id,
                          Tier1 tier1)
        Description copied from interface: Tier1s
        If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, update the tier-1 instance with specified attributes.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        patch in interface Tier1s
        Parameters:
        tier1Id - (required)
        tier1 - (required)
      • patch

        public void patch​(java.lang.String tier1Id,
                          Tier1 tier1,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier1s
        If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, update the tier-1 instance with specified attributes.

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        patch in interface Tier1s
        Parameters:
        tier1Id - (required)
        tier1 - (required)
        invocationConfig - Configuration for the method invocation.
      • patch

        public void patch​(java.lang.String tier1Id,
                          Tier1 tier1,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: Tier1s
        If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, update the tier-1 instance with specified attributes.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        patch in interface Tier1s
        Parameters:
        tier1Id - (required)
        tier1 - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        public void patch​(java.lang.String tier1Id,
                          Tier1 tier1,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier1s
        If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, update the tier-1 instance with specified attributes.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        patch in interface Tier1s
        Parameters:
        tier1Id - (required)
        tier1 - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • reprocess

        public void reprocess​(java.lang.String tier1Id,
                              java.lang.String enforcementPointPath)
        Description copied from interface: Tier1s
        Reprocess Tier1 gateway configuration and configuration of related entities like Tier1 interfaces and static routes, etc. Any missing Updates are published to NSX controller.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        reprocess in interface Tier1s
        Parameters:
        tier1Id - (required)
        enforcementPointPath - String Path of the enforcement point (optional)
      • reprocess

        public void reprocess​(java.lang.String tier1Id,
                              java.lang.String enforcementPointPath,
                              com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier1s
        Reprocess Tier1 gateway configuration and configuration of related entities like Tier1 interfaces and static routes, etc. Any missing Updates are published to NSX controller.

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        reprocess in interface Tier1s
        Parameters:
        tier1Id - (required)
        enforcementPointPath - String Path of the enforcement point (optional)
        invocationConfig - Configuration for the method invocation.
      • reprocess

        public void reprocess​(java.lang.String tier1Id,
                              java.lang.String enforcementPointPath,
                              com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: Tier1s
        Reprocess Tier1 gateway configuration and configuration of related entities like Tier1 interfaces and static routes, etc. Any missing Updates are published to NSX controller.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        reprocess in interface Tier1s
        Parameters:
        tier1Id - (required)
        enforcementPointPath - String Path of the enforcement point (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • reprocess

        public void reprocess​(java.lang.String tier1Id,
                              java.lang.String enforcementPointPath,
                              com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                              com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier1s
        Reprocess Tier1 gateway configuration and configuration of related entities like Tier1 interfaces and static routes, etc. Any missing Updates are published to NSX controller.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        reprocess in interface Tier1s
        Parameters:
        tier1Id - (required)
        enforcementPointPath - String Path of the enforcement point (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        public Tier1 update​(java.lang.String tier1Id,
                            Tier1 tier1)
        Description copied from interface: Tier1s
        If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, replace the Tier-1 instance with this object.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        update in interface Tier1s
        Parameters:
        tier1Id - (required)
        tier1 - (required)
        Returns:
        com.vmware.nsx_policy.model.Tier1
      • update

        public Tier1 update​(java.lang.String tier1Id,
                            Tier1 tier1,
                            com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier1s
        If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, replace the Tier-1 instance with this object.

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        update in interface Tier1s
        Parameters:
        tier1Id - (required)
        tier1 - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.Tier1
      • update

        public void update​(java.lang.String tier1Id,
                           Tier1 tier1,
                           com.vmware.vapi.bindings.client.AsyncCallback<Tier1> asyncCallback)
        Description copied from interface: Tier1s
        If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, replace the Tier-1 instance with this object.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.Tier1

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        update in interface Tier1s
        Parameters:
        tier1Id - (required)
        tier1 - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        public void update​(java.lang.String tier1Id,
                           Tier1 tier1,
                           com.vmware.vapi.bindings.client.AsyncCallback<Tier1> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier1s
        If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, replace the Tier-1 instance with this object.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.Tier1

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        update in interface Tier1s
        Parameters:
        tier1Id - (required)
        tier1 - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.