Interface WorkloadShare.Builder

    • Method Detail

      • shareId

        WorkloadShare.Builder shareId​(String shareId)
        Sets the value of the ShareId property for this object.
        Parameters:
        shareId - The new value for the ShareId property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sharedBy

        WorkloadShare.Builder sharedBy​(String sharedBy)
        Sets the value of the SharedBy property for this object.
        Parameters:
        sharedBy - The new value for the SharedBy property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sharedWith

        WorkloadShare.Builder sharedWith​(String sharedWith)
        Sets the value of the SharedWith property for this object.
        Parameters:
        sharedWith - The new value for the SharedWith property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permissionType

        WorkloadShare.Builder permissionType​(String permissionType)
        Sets the value of the PermissionType property for this object.
        Parameters:
        permissionType - The new value for the PermissionType property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PermissionType, PermissionType
      • permissionType

        WorkloadShare.Builder permissionType​(PermissionType permissionType)
        Sets the value of the PermissionType property for this object.
        Parameters:
        permissionType - The new value for the PermissionType property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PermissionType, PermissionType
      • status

        WorkloadShare.Builder status​(String status)
        Sets the value of the Status property for this object.
        Parameters:
        status - The new value for the Status property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ShareStatus, ShareStatus
      • status

        WorkloadShare.Builder status​(ShareStatus status)
        Sets the value of the Status property for this object.
        Parameters:
        status - The new value for the Status property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ShareStatus, ShareStatus
      • workloadName

        WorkloadShare.Builder workloadName​(String workloadName)
        Sets the value of the WorkloadName property for this object.
        Parameters:
        workloadName - The new value for the WorkloadName property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • workloadId

        WorkloadShare.Builder workloadId​(String workloadId)
        Sets the value of the WorkloadId property for this object.
        Parameters:
        workloadId - The new value for the WorkloadId property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.